Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2012 10:12:19 +0200
From:      Dimitry Andric <dimitry@andric.com>
To:        fluffy@FreeBSD.org
Cc:        Dima Panov <fluffy@fluffy.khv.ru>, current@freebsd.org
Subject:   Re: build error at rpc code
Message-ID:  <50373763.50608@andric.com>
In-Reply-To: <5036FB4E.4080407@fluffy.khv.ru>
References:  <5036FB4E.4080407@fluffy.khv.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2012-08-24 05:55, Dima Panov wrote:
> Does anybody get same error at buildworld with recent -current?
...
> In file included from /usr/src/lib/libc/../../include/rpc/rpc.h:76:
> /usr/src/lib/libc/../../include/rpc/rpcb_clnt.h:69:8: error: unknown
> type name 'rpcblist'
> extern rpcblist *rpcb_getmaps(const struct netconfig *, const char *);

You are most likely setting CPP as follows:

   CPP=clang -E

Don't do that, use the following instead:

   CPP=clang-cpp

If there is no clang-cpp symlink in /usr/bin yet, just make it manually
for now.  It will also be created by installworld.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50373763.50608>