[oe-users] oe compiling under mips question
Viva
wb_viva at yahoo.com.cn
Thu Dec 21 15:17:09 UTC 2006
Hi,
I'm compiling opie-image using bitbake with target to mipsel. The host is a ubuntu edgy.
The oe build configuration is
OE Build Configuration:
BB_VERSION = "1.6.3"
OE_REVISION = "2828d9465b54e6e0cd311dd4e9abd7f83eef4718"
TARGET_ARCH = "mipsel"
TARGET_OS = "linux"
MACHINE = "db1200"
DISTRO = "familiar"
DISTRO_VERSION = "unstable-20061221"
TARGET_FPU = ""
After several hours compiling, errors appear as follow
NOTE: multiple providers are available (glibc, glibc-intermediate);
NOTE: consider defining PREFERRED_PROVIDER_virtual/mipsel-linux-libc-for-gcc
NOTE: package busybox-1.00: started
NOTE: package busybox-1.00-r37: task do_compile: started
NOTE: SITE files /cross/stuff/org.openembedded.dev/site/endian-little /cross/stuff/org.openembedded.dev/site/mipsel-linux
ERROR: function do_compile failed
ERROR: log data follows (/cross/stuff/oetmp/work/mipsel-linux/busybox-1.00-r37/temp/log.do_compile.5048)
| NOTE: make -e MAKEFLAGS= CROSS=mipsel-linux-
| ccache mipsel-linux-gcc -march=mips32 -I/cross/stuff/oetmp/work/mipsel-linux/busybox-1.00-r37/busybox-1.00/include -I/cross/stuff/oetmp/work/mipsel-linux/busybox-1.00-r37/busybox-1.00/include -I/cross/stuff/oetmp/work/mipsel-linux/busybox-1.00-r37/busybox-1.00/libbb -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wstrict-prototypes -Wshadow -Os -fomit-frame-pointer -D_GNU_SOURCE -DNDEBUG -isystem/cross/stuff/oetmp/staging/mipsel-linux/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -c -o /cross/stuff/oetmp/work/mipsel-linux/busybox-1.00-r37/busybox-1.00/libbb/loop.o /cross/stuff/oetmp/work/mipsel-linux/busybox-1.00-r37/busybox-1.00/libbb/loop.c
| In file included from /cross/stuff/oetmp/work/mipsel-linux/busybox-1.00-r37/busybox-1.00/libbb/loop.c:22:
| /cross/stuff/oetmp/staging/mipsel-linux/include/asm/posix_types.h:75: error: parse error before "__kernel_fd_set"
| /cross/stuff/oetmp/staging/mipsel-linux/include/asm/posix_types.h: In function `__FD_SET':
| /cross/stuff/oetmp/staging/mipsel-linux/include/asm/posix_types.h:77: error: `__fd' undeclared (first use in this function)
| /cross/stuff/oetmp/staging/mipsel-linux/include/asm/posix_types.h:77: error: (Each undeclared identifier is reported only once
| /cross/stuff/oetmp/staging/mipsel-linux/include/asm/posix_types.h:77: error: for each function it appears in.)
| /cross/stuff/oetmp/staging/mipsel-linux/include/asm/posix_types.h:77: error: `__NFDBITS' undeclared (first use in this function)
| /cross/stuff/oetmp/staging/mipsel-linux/include/asm/posix_types.h:79: error: `__fdsetp' undeclared (first use in this function)
| /cross/stuff/oetmp/staging/mipsel-linux/include/asm/posix_types.h: At top level:
| /cross/stuff/oetmp/staging/mipsel-linux/include/asm/posix_types.h:83: error: parse error before "__kernel_fd_set"
| /cross/stuff/oetmp/staging/mipsel-linux/include/asm/posix_types.h: In function `__FD_CLR':
| /cross/stuff/oetmp/staging/mipsel-linux/include/asm/posix_types.h:85: error: `__fd' undeclared (first use in this function)
| /cross/stuff/oetmp/staging/mipsel-linux/include/asm/posix_types.h:85: error: `__NFDBITS' undeclared (first use in this function)
| /cross/stuff/oetmp/staging/mipsel-linux/include/asm/posix_types.h:87: error: `__fdsetp' undeclared (first use in this function)
| /cross/stuff/oetmp/staging/mipsel-linux/include/asm/posix_types.h: At top level:
| /cross/stuff/oetmp/staging/mipsel-linux/include/asm/posix_types.h:91: error: parse error before '*' token
| /cross/stuff/oetmp/staging/mipsel-linux/include/asm/posix_types.h: In function `__FD_ISSET':
| /cross/stuff/oetmp/staging/mipsel-linux/include/asm/posix_types.h:93: error: `__fd' undeclared (first use in this function)
| /cross/stuff/oetmp/staging/mipsel-linux/include/asm/posix_types.h:93: error: `__NFDBITS' undeclared (first use in this function)
| /cross/stuff/oetmp/staging/mipsel-linux/include/asm/posix_types.h:95: error: `__p' undeclared (first use in this function)
| /cross/stuff/oetmp/staging/mipsel-linux/include/asm/posix_types.h: At top level:
| /cross/stuff/oetmp/staging/mipsel-linux/include/asm/posix_types.h:103: error: parse error before '*' token
| /cross/stuff/oetmp/staging/mipsel-linux/include/asm/posix_types.h: In function `__FD_ZERO':
| /cross/stuff/oetmp/staging/mipsel-linux/include/asm/posix_types.h:105: error: `__p' undeclared (first use in this function)
| /cross/stuff/oetmp/staging/mipsel-linux/include/asm/posix_types.h:108: error: `__FDSET_LONGS' undeclared (first use in this function)
| make: *** [/cross/stuff/oetmp/work/mipsel-linux/busybox-1.00-r37/busybox-1.00/libbb/loop.o] 错误 1
| FATAL: oe_runmake failed
NOTE: Task failed: /cross/stuff/oetmp/work/mipsel-linux/busybox-1.00-r37/temp/log.do_compile.5048
NOTE: package busybox-1.00-r37: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package busybox-1.00: failed
ERROR: Build of opie-image failed
Anybody can tell me where I was wrong? I just follow the instructions in the getting started page.
http://www.openembedded.org/wiki/GettingStarted
and I don't know how to track the bug.
Thanks
__________________________________________________
赶快注册雅虎超大容量免费邮箱?
http://cn.mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20061221/3719da4e/attachment-0002.html>
More information about the Openembedded-users
mailing list