Date: Sat, 25 Aug 2012 00:07:22 +1100 From: Dima Panov <fluffy@fluffy.khv.ru> To: Dimitry Andric <dimitry@andric.com> Cc: current@freebsd.org, fluffy@FreeBSD.org Subject: Re: build error at rpc code Message-ID: <50377C8A.40000@fluffy.khv.ru> In-Reply-To: <50373763.50608@andric.com> References: <5036FB4E.4080407@fluffy.khv.ru> <50373763.50608@andric.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org) (KDE, Office)@FreeBSD team Facebook: http://www.facebook.com/fluffy.khv IRC: fluffy@EFNet, fluffykhv@FreeNode twitter: fluffy_khv | skype: dima.panov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50377C8A.40000>