Re: build error at rpc code

From: Dima Panov <fluffy_at_fluffy.khv.ru>
Date: Sat, 25 Aug 2012 00:07:22 +1100
24.08.2012 19:12, Dimitry Andric пишет:
> 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.

Oh, indeed. Thanks for advice.
However, why such different results in preprocessor invocation style?

-- 
Dima Panov (fluffy_at_FreeBSD.org)
(KDE, Office)_at_FreeBSD team

Facebook: http://www.facebook.com/fluffy.khv
IRC: fluffy_at_EFNet, fluffykhv_at_FreeNode
twitter: fluffy_khv | skype: dima.panov
Received on Fri Aug 24 2012 - 11:08:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:30 UTC