This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: undefined reference to `preserve_capabilities
On Mon, 2009-05-04 at 20:59 -0700, Justin Mattock wrote:
> I'm receiving this error with the weekly snapshot:
> glibc-20090504
>
> /home/name/LFS/gcc/glibc-build/nscd/connections.o: In function `nscd_init':
> connections.c:(.text+0x258b): undefined reference to `preserve_capabilities'
> connections.c:(.text+0x260e): undefined reference to `install_real_capabilities'
> collect2: ld returned 1 exit status
> make[2]: *** [/home/name/LFS/gcc/glibc-build/nscd/nscd] Error 1
> make[2]: Leaving directory `/home/name/LFS/gcc/glibc-20090504/nscd'
> make[1]: *** [nscd/others] Error 2
> make[1]: Leaving directory `/home/name/LFS/gcc/glibc-20090504'
> make: *** [all] Error 2
>
> The only thing I can think that might be causing this is
> libcap-2.16 that I had installed a few days ago.
>
>
nevermind..
reinstalled the kernel headers
and all is good.
(I'm thinking it was libcap throwing it's
version of capability.h that might have caused this error).
sorry for the confusion
Justin P. Mattock