On 2/22/15, scsijon <[email protected]> wrote:
> firstly, while I remember, in the /packages/base/libcap/libcap.desc, and
> on the last line,
> http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.4/
> doesn't exist to start with and I can't find a capfaq.txt on that site.
>
> But the reason for this message is that i'm having a build error with
> libcap-2.1.7.
>
> Line 47 is failing with:
>
> gcc -Wl,-x -shared -O2 -Dlinux -fPIC -Wall -Wwrite-strings
> -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes
> -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g
> -I/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap/../libcap/include
>
> -I/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap/../libcap/include
>
>
> -L/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap/../libcap
>
> -lattr -Wl,-soname,libcap.so.2 -o libcap.so.2.17 cap_alloc.o cap_proc.o
> cap_extint.o cap_flag.o cap_text.o cap_file.o
> /usr/lib/gcc/i686-t2-linux-gnu/4.9.2/../../../../i686-t2-linux-gnu/bin/ld:
> cannot find -lattr
> collect2: error: ld returned 1 exit status
> Makefile:53: recipe for target 'libcap.so.2.17' failed
> make[1]: *** [libcap.so.2.17] Error 1
> make[1]: Leaving directory
> '/TOOLCHAIN/src.libcap.warytest61.20150218.075039.5561.lamia04/libcap-2.17/libcap'
> Makefile:12: recipe for target 'all' failed
> make: *** [all] Error 2
>
> I've also attached the full error log, in case it is of help.
>
> Any ideas, as this is the last problem for my current buildset.
>

libattr.so* is in the 'attr' package.

You could add that package to your T2 build.

However, I don't understand why libcap is wanting -lattr, as I build
it ok without the attr package.

Regards,
Barry Kauler



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to