build error at rpc code
Dimitry Andric
dimitry at andric.com
Fri Aug 24 08:12:16 UTC 2012
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.
More information about the freebsd-current
mailing list