[oe-users] Error on compiling Linux 2.6.21 for mips with uClibc

Christian Pössinger christian at poessinger.com
Thu Sep 20 12:46:35 UTC 2007


Hello,

I try to compile the linux-2.6.21 Kernel for the MIPS Architecture with
uClibc.

I get the following error:


NOTE: Running task 225 of 496 (ID: 251,
/OE/org.openembedded.dev/packages/linux/linux_2.6.21.bb, do_configure)
NOTE: package linux-2.6.21: started
NOTE: package linux-2.6.21-r7: task do_configure: started
ERROR: Information not available for target 'mips-linux-uclibc'
NOTE: exceptions.AttributeError:'NoneType' object has no attribute
'append' while evaluating:
${@siteinfo_get_files(d)}
NOTE: package linux-2.6.21-r7: task do_configure: completed
NOTE: package linux-2.6.21: completed
NOTE: Running task 226 of 496 (ID: 252,
/OE/org.openembedded.dev/packages/linux/linux_2.6.21.bb, do_compile)
NOTE: package linux-2.6.21: started
NOTE: package linux-2.6.21-r7: task do_compile: started
ERROR: Information not available for target 'mips-linux-uclibc'
NOTE: exceptions.AttributeError:'NoneType' object has no attribute
'append' while evaluating:
${@siteinfo_get_files(d)}
ERROR: function do_compile failed
ERROR: log data follows
(/OE/tmp/work/linux-2.6.21-r7/temp/log.do_compile.12975)
| NOTE: make -e MAKEFLAGS= include/linux/version.h CC=ccache
mips-linux-uclibc-gcc  LD=mips-linux-uclibc-ld
|   CHK     include/linux/version.h
|   UPD     include/linux/version.h
| NOTE: make -e MAKEFLAGS= dep CC=ccache mips-linux-uclibc-gcc 
LD=mips-linux-uclibc-ld
| make[1]: Entering directory `/OE/tmp/work/linux-2.6.21-r7/linux-2.6.21'
| scripts/kconfig/conf -s arch/mips/Kconfig
| make[1]: Leaving directory `/OE/tmp/work/linux-2.6.21-r7/linux-2.6.21'
| *** Warning: make dep is unnecessary now.
| NOTE: make -e MAKEFLAGS= zImage CC=ccache mips-linux-uclibc-gcc 
LD=mips-linux-uclibc-ld
| make: *** No rule to make target `zImage'.  Stop.
| FATAL: oe_runmake failed
NOTE: Task failed: /OE/tmp/work/linux-2.6.21-r7/temp/log.do_compile.12975
NOTE: package linux-2.6.21-r7: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package linux-2.6.21: failed
ERROR: Build of /OE/org.openembedded.dev/packages/linux/linux_2.6.21.bb
do_compile failed
ERROR: Task 252 (/OE/org.openembedded.dev/packages/linux/linux_2.6.21.bb,
do_compile) failed
NOTE: Tasks Summary: Attempted 225 tasks of which 221 didn't need to be
rerun and 1 failed.
ERROR: '/OE/org.openembedded.dev/packages/linux/linux_2.6.21.bb' failed


But looking into siteinfo.bbclass shows me a

"mips-linux-uclibc":       "endian-big bit-32 common-uclibc",\

Also with the generated toolchain by openembedded it is possible for me to
compile the kernel with make ARCH=mips CROSS_COMPILE=mips-linux-uclibc-
all so this looks like an OE issue to me.

-CP









More information about the Openembedded-users mailing list