[oe-issues] [Bug 3214] New: Unable to build klibc 1.1.1 for linux 2.6.20.4

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Fri Oct 26 09:07:04 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=3214

           Summary: Unable to build klibc 1.1.1 for linux 2.6.20.4
           Product: Openembedded
           Version: unspecified
          Platform: ARM
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Build
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: xcp at mixed-mode.de


When trying to build klibc supplied by OE i get the following error:


NOTE: Executing runqueue
NOTE: Running task 190 of 196 (ID: 5,
/OE/OpenEmbedded/org.openembedded.dev/packages/klibc/klibc_1.1.1.bb,
do_compile)
NOTE: package klibc-1.1.1: started
NOTE: package klibc-1.1.1-r0: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows
(/OE/OpenEmbedded/tmp/work/klibc-1.1.1-r0/temp/log.do_compile.1822)
| NOTE: make ARCH=arm CROSS=arm-linux-uclibc- CC=arm-linux-uclibc-gcc
LD=arm-linux-uclibc-ld AR=arm-linux-uclibc-ar RANLIB=arm-linux-uclibc-ranlib
NM=arm-linux-uclibc-nm STRIP=echo SHLIBDIR=/lib HOST_CC=ccache gcc 
HOST_CFLAGS=-isystem/OE/OpenEmbedded/tmp/staging/i686-linux/include -Os -g
HOST_LDFLAGS=-L/OE/OpenEmbedded/tmp/staging/i686-linux/lib
-Wl,-rpath-link,/OE/OpenEmbedded/tmp/staging/i686-linux/lib
-Wl,-rpath,/OE/OpenEmbedded/tmp/staging/i686-linux/lib -Wl,-O1 HOST_LIBS=
LDFLAGS= ARCHREQFLAGS=-march=armv4t -mtune=arm920t
OPTFLAGS=-isystem/OE/OpenEmbedded/tmp/staging/arm-linux-uclibc/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os
-I/OE/OpenEmbedded/tmp/staging/arm-linux-uclibc/kernel/include
mandir=/usr/share/man
| make[1]: Entering directory
`/OE/OpenEmbedded/tmp/work/klibc-1.1.1-r0/klibc-1.1.1/klibc'
| make[1]: Nothing to be done for `all'.
| make[1]: Leaving directory
`/OE/OpenEmbedded/tmp/work/klibc-1.1.1-r0/klibc-1.1.1/klibc'
| make[1]: Entering directory
`/OE/OpenEmbedded/tmp/work/klibc-1.1.1-r0/klibc-1.1.1/ash'
| make[1]: Nothing to be done for `all'.
| make[1]: Leaving directory
`/OE/OpenEmbedded/tmp/work/klibc-1.1.1-r0/klibc-1.1.1/ash'
| make[1]: Entering directory
`/OE/OpenEmbedded/tmp/work/klibc-1.1.1-r0/klibc-1.1.1/ipconfig'
| arm-linux-uclibc-gcc -Wp,-MD,./.packet.o.d
-isystem/OE/OpenEmbedded/tmp/staging/arm-linux-uclibc/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os
-I/OE/OpenEmbedded/tmp/staging/arm-linux-uclibc/kernel/include -march=armv4t
-mtune=arm920t -D__KLIBC__=1 -D__KLIBC_MINOR__=1 -nostdlib -nostdinc
-iwithprefix include -I../include/arch/arm -I../include/bits32 -I../include
-I../linux/include -I../linux/include2 -I../linux/include -Wstrict-prototypes
-Wall -I. -c -o packet.o packet.c
| In file included from ../include/netinet/ip.h:9,
|                  from packet.c:18:
| /OE/OpenEmbedded/tmp/staging/arm-linux-uclibc/kernel/include/linux/ip.h:101:
error: expected specifier-qualifier-list before '__sum16'
| packet.c:93: error: unknown field 'saddr' specified in initializer
| packet.c:93: warning: excess elements in struct initializer
| packet.c:93: warning: (near initialization for 'ipudp_hdrs.ip')
| packet.c:94: error: unknown field 'daddr' specified in initializer
| packet.c:94: warning: excess elements in struct initializer
| packet.c:94: warning: (near initialization for 'ipudp_hdrs.ip')
| packet.c: In function 'packet_send':
| packet.c:159: error: 'struct iphdr' has no member named 'check'
| packet.c:160: error: 'struct iphdr' has no member named 'check'
| make[1]: *** [packet.o] Error 1
| make[1]: Leaving directory
`/OE/OpenEmbedded/tmp/work/klibc-1.1.1-r0/klibc-1.1.1/ipconfig'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed:
/OE/OpenEmbedded/tmp/work/klibc-1.1.1-r0/temp/log.do_compile.1822
NOTE: package klibc-1.1.1-r0: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package klibc-1.1.1: failed
ERROR: Build of
/OE/OpenEmbedded/org.openembedded.dev/packages/klibc/klibc_1.1.1.bb do_compile
failed
ERROR: Task 5
(/OE/OpenEmbedded/org.openembedded.dev/packages/klibc/klibc_1.1.1.bb,
do_compile) failed
NOTE: Tasks Summary: Attempted 189 tasks of which 189 didn't need to be rerun
and 1 failed.
ERROR: '/OE/OpenEmbedded/org.openembedded.dev/packages/klibc/klibc_1.1.1.bb'
failed


Target is a Glomation 9315 Board with Linux 2.6.20.4 (from the manufacturer)
gcc 4.1.2, binutils 2.17.50.0.5, uClibc 0.9.29

Host system is an up-2-date Debian Etch.

TIA


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list