Re: /usr/src/lib/libc/gen/aux.c:106: error: 'AT_TIMEKEEP' undecl

看板FB_current作者時間13年前 (2012/09/19 05:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
On 19 September 2012 00:27, Anton Shterenlikht <mexas@bristol.ac.uk> wrote: > > I'm trying to rebuild libc with debugging symbols. > I did: > > # cd /usr/src/lib/libc > # make all install DEBUG_FLAGS='-g' > > and got: > > cc -O2 -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/ > usr/src/lib/libc/ia64 -DNLS -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../c > ontrib/gdtoa -DINET6 -I/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVA > TE -DPOSIX_MISTAKE -I/usr/src/lib/libc/../../contrib/jemalloc/include -I/usr/src > /lib/libc/../../contrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime -I/usr/src/li > b/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP > -DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -Wsystem-headers -Werror -Wall -Wno- > format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/libc/gen/aux.c - > o aux.o > /usr/src/lib/libc/gen/aux.c: In function 'init_aux': > /usr/src/lib/libc/gen/aux.c:106: error: 'AT_TIMEKEEP' undeclared (first use in t > his function) > /usr/src/lib/libc/gen/aux.c:106: error: (Each undeclared identifier is reported > only once > /usr/src/lib/libc/gen/aux.c:106: error: for each function it appears in.) > /usr/src/lib/libc/gen/aux.c: In function '_elf_aux_info': > /usr/src/lib/libc/gen/aux.c:171: error: 'AT_TIMEKEEP' undeclared (first use in t > his function) > *** [aux.o] Error code 1 > This means you have no actual elf.h with AT_TIMEKEEP installed in your system required to build the recent libc. When you build libc, make searches for AT_TIMEKEEP in the installed headers, and not in /usr/src. Canonically you would need to rebuild all the world to properly build the libc part. To not do this you could try instead (AFAIK) 'make toolchain'. -- wbr, pluknet _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1GME4Eoy (FB_current)