[oe] libcap2 build failure
Henning Heinold
heinold at inf.fu-berlin.de
Wed Feb 23 09:32:17 UTC 2011
On Wed, Feb 23, 2011 at 02:54:02AM +0000, Otavio Salvador wrote:
> Hello,
>
> Today I tryed to build from scratch with current OE and found this:
>
>
> | i586-oe-linux-gcc -march=pentium -fexpensive-optimizations
> -fomit-frame-pointer -frename-registers -Os
> -I/home/otavio/hacking/embedded-linux/tmp/work/i586-oe-linux/libcap2-2.16-r3/libcap-2.16/libcap/include
> -Dlinux -fPIC -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual
> -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
> -Winline -Wshadow -g
> -I/home/otavio/hacking/embedded-linux/tmp/work/i586-oe-linux/libcap2-2.16-r3/libcap-2.16/libcap/include
> -I/home/otavio/hacking/embedded-linux/tmp/work/i586-oe-linux/libcap2-2.16-r3/libcap-2.16/libcap/include
> -Dlinux -fPIC -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual
> -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
> -Winline -Wshadow -g
> -I/home/otavio/hacking/embedded-linux/tmp/work/i586-oe-linux/libcap2-2.16-r3/libcap-2.16/progs/../libcap/include
> -I/home/otavio/hacking/embedded-linux/tmp/work/i586-oe-linux/libcap2-2.16-r3/libcap-2.16/progs/../libcap/include
> -c capsh.c -o capsh.o
> | In file included from
> /home/otavio/hacking/embedded-linux/tmp/sysroots/i586-oe-linux/usr/include/bits/sigcontext.h:28:0,
> | from
> /home/otavio/hacking/embedded-linux/tmp/sysroots/i586-oe-linux/usr/include/signal.h:339,
> | from
> /home/otavio/hacking/embedded-linux/tmp/sysroots/i586-oe-linux/usr/include/sys/wait.h:31,
> | from capsh.c:19:
> | /home/otavio/hacking/embedded-linux/tmp/sysroots/i586-oe-linux/usr/include/asm/sigcontext.h:28:2:
> error: expected specifier-qualifier-list before '__u64'
> | /home/otavio/hacking/embedded-linux/tmp/sysroots/i586-oe-linux/usr/include/asm/sigcontext.h:191:2:
> error: expected specifier-qualifier-list before '__u64'
> | make[1]: *** [capsh.o] Error 1
> | make[1]: Leaving directory
> `/home/otavio/hacking/embedded-linux/tmp/work/i586-oe-linux/libcap2-2.16-r3/libcap-2.16/progs'
>
> I am attaching the full log. Someone has any clue?
Hi,
gnutoo hitting this too. It's a problem with the kernelheaders, because libpcap includes a kernelheader
but some how not the types definition header. But dont know offhand if he solved it.
Bye Henning
More information about the Openembedded-devel
mailing list