From owner-freebsd-toolchain@FreeBSD.ORG Thu Aug 4 15:09:59 2011 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79D3E106564A for ; Thu, 4 Aug 2011 15:09:59 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 1818D8FC13 for ; Thu, 4 Aug 2011 15:09:59 +0000 (UTC) Received: from [10.0.0.63] (63.imp.bsdimp.com [10.0.0.63]) (authenticated bits=0) by harmony.bsdimp.com (8.14.4/8.14.3) with ESMTP id p74F85WY005444 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Thu, 4 Aug 2011 09:08:10 -0600 (MDT) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Thu, 4 Aug 2011 09:07:50 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: majia gm X-Mailer: Apple Mail (2.1084) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (harmony.bsdimp.com [10.0.0.6]); Thu, 04 Aug 2011 09:08:10 -0600 (MDT) Cc: freebsd-toolchain@freebsd.org Subject: Re: [help] rebuild libc failed X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Aug 2011 15:09:59 -0000 You need to use buildworld or one of its sub-targets. Warner On Aug 4, 2011, at 2:38 AM, majia gm wrote: > Hi, everyone. >=20 > I'm building the libc code which derived from a current trunk > mirror/freebsd/head under PCBSD 8.2 which contains FreeBSD 8.2 > release. > I'm trying to test the modified libc by using LD_LIBRARY_PATH. But > failed to build it. > I change the current direcotry into head/lib/libc and run make. I get > the following error. >=20 > Warning: Object directory not changed from original > /usr/home/forandom/work/soc2011/xxp-head/lib/libc > cc -O2 -pipe = -I/usr/home/forandom/work/soc2011/xxp-head/lib/libc/include > -I/usr/home/forandom/work/soc2011/xxp-head/lib/libc/../../include > -I/usr/home/forandom/work/soc2011/xxp-head/lib/libc/i386 -DNLS > -D__DBINTERFACE_PRIVATE > = -I/usr/home/forandom/work/soc2011/xxp-head/lib/libc/../../contrib/gdtoa > -DINET6 -I/usr/home/forandom/work/soc2011/xxp-head/lib/libc > -I/usr/home/forandom/work/soc2011/xxp-head/lib/libc/resolv > -D_ACL_PRIVATE -DPOSIX_MISTAKE > = -I/usr/home/forandom/work/soc2011/xxp-head/lib/libc/../../contrib/tzcode/s= tdtime > -I/usr/home/forandom/work/soc2011/xxp-head/lib/libc/stdtime > -I/usr/home/forandom/work/soc2011/xxp-head/lib/libc/locale > -DBROKEN_DES -DPORTMAP -DDES_BUILTIN > -I/usr/home/forandom/work/soc2011/xxp-head/lib/libc/rpc -DYP > -DNS_CACHING -DSYMBOL_VERSIONING -std=3Dgnu99 -fstack-protector > -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized > -Wno-pointer-sign -c > /usr/home/forandom/work/soc2011/xxp-head/lib/libc/gen/__getosreldate.c > = /usr/home/forandom/work/soc2011/xxp-head/lib/libc/gen/__getosreldate.c: > In function '__getosreldate': > = /usr/home/forandom/work/soc2011/xxp-head/lib/libc/gen/__getosreldate.c:58:= > error: 'AT_OSRELDATE' undeclared (first use in this function) > = /usr/home/forandom/work/soc2011/xxp-head/lib/libc/gen/__getosreldate.c:58:= > error: (Each undeclared identifier is reported only once > = /usr/home/forandom/work/soc2011/xxp-head/lib/libc/gen/__getosreldate.c:58:= > error: for each function it appears in.) > *** Error code 1 > Stop in /usr/home/forandom/work/soc2011/xxp-head/lib/libc. >=20 > It seems there's little difference between head and this release. > AT_OSRELDATE is defined in head/sys/i386/include/elf.h. But in the > release 8.2, elf.h doesn't have this definition. > How can let it to use the include files in head rather than the system > include files? >=20 > Thanks. > _______________________________________________ > freebsd-toolchain@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain > To unsubscribe, send any mail to = "freebsd-toolchain-unsubscribe@freebsd.org" >=20 >=20