В Sat, 10 Mar 2012 14:23:17 +0100
Dimitry Andric <d...@freebsd.org> пишет:

> On 2012-03-10 10:39, Ivan Klymenko wrote:
> ...
> > I have a similar problem, but with a different result.
> > 
> > I noticed this only with the svn revision r232253
> > 
> > FreeBSD 10.0-CURRENT #0 r232717M
> > 
> > make.conf:
> > ...
> > #For ccache
> > .if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*))
> > && !defined(NOCCACHE)
> > CC:=${CC:C,^cc,/usr/local/libexec/ccache/world/clang,1}
> > CXX:=${CXX:C,^c\+\+,/usr/local/libexec/ccache/world/clang++,1} .endif
> > 
> > .if empty(.CURDIR:M/usr/ports/*)
> > .if !defined(CC) || ${CC} == "cc"
> > CC=/usr/local/libexec/ccache/clang
> > .endif
> > .if !defined(CXX) || ${CXX} == "c++"
> > CXX=/usr/local/libexec/ccache/clang++
> > .endif
> > .if !defined(CPP) || ${CPP} == "cpp"
> > CPP=/usr/local/libexec/ccache/clang -E
> 
> There is your problem.  Don't use "clang -E", use "clang-cpp".
> Unfortunately, due to compatibility reasons with gcc, "clang -E"
> behaves differently than invoking it as "clang-cpp".

Thank you!

> 
> 
> ...
> > 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 *); ^
> 
> And this is the result of it.
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to