Date: Thu, 4 Aug 2011 09:07:50 -0600 From: Warner Losh <imp@bsdimp.com> To: majia gm <gmmajia@gmail.com> Cc: freebsd-toolchain@freebsd.org Subject: Re: [help] rebuild libc failed Message-ID: <E3320273-18DD-4EB0-8153-1DDA53886321@bsdimp.com> In-Reply-To: <CAPgsGw-jN1j3onmTsT7Q6yR=0o_LLSa7Ur4WpGKL1QJ5Dh=W3Q@mail.gmail.com> References: <CAPgsGw-jN1j3onmTsT7Q6yR=0o_LLSa7Ur4WpGKL1QJ5Dh=W3Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E3320273-18DD-4EB0-8153-1DDA53886321>