From owner-freebsd-current@FreeBSD.ORG Fri Aug 24 13:08:05 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 41353106564A; Fri, 24 Aug 2012 13:08:05 +0000 (UTC) (envelope-from fluffy@fluffy.khv.ru) Received: from forward5.mail.yandex.net (forward5.mail.yandex.net [IPv6:2a02:6b8:0:602::5]) by mx1.freebsd.org (Postfix) with ESMTP id B5DF78FC0C; Fri, 24 Aug 2012 13:08:04 +0000 (UTC) Received: from smtp4.mail.yandex.net (smtp4.mail.yandex.net [77.88.46.104]) by forward5.mail.yandex.net (Yandex) with ESMTP id 54466120106C; Fri, 24 Aug 2012 17:08:03 +0400 (MSK) Received: from smtp4.mail.yandex.net (localhost [127.0.0.1]) by smtp4.mail.yandex.net (Yandex) with ESMTP id 1FF005C050A; Fri, 24 Aug 2012 17:08:03 +0400 (MSK) Received: from host85.static2.l2tp.ttkdv.ru (host85.static2.l2tp.ttkdv.ru [46.38.1.85]) by smtp4.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 809KR6NX-819WJnUu; Fri, 24 Aug 2012 17:08:01 +0400 Message-ID: <50377C8A.40000@fluffy.khv.ru> Date: Sat, 25 Aug 2012 00:07:22 +1100 From: Dima Panov User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Dimitry Andric References: <5036FB4E.4080407@fluffy.khv.ru> <50373763.50608@andric.com> In-Reply-To: <50373763.50608@andric.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: current@freebsd.org, fluffy@FreeBSD.org Subject: Re: build error at rpc code X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fluffy@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2012 13:08:05 -0000 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