[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cross compile blob for arm

From: adream_521
Subject: cross compile blob for arm
Date: Sun, 30 Apr 2006 10:55:50 +0800 (CST)


I am trying to cross compile blob for arm.I am able to pass the configure section

But when I am trying to do make , i got the following errors.I am not able to get which is going wrong for me.

I am very thankful if anybody suggest me a way to cross this errors and  some detailed explaination for that.

Is there any thing problems with regard to glibc?

 ./configure --host=/usr/local/arm-linux/bin/arm-linux  --with-board=mainstone --with-linux-prefix=/home/maying/linux-2.6.15 --enable-x lli --enable-network
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for /usr/local/arm-linux/bin/arm-linux-strip... no
checking for strip... strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... /usr/local/arm-linux/bin/arm-linux
checking for arm-linux-gcc... arm-linux-gcc
checking for arm-linux-objcopy... arm-linux-objcopy
checking for arm-linux-ranlib... arm-linux-ranlib
checking for arm-linux-ar... arm-linux-ar
checking for arm-linux-ld... arm-linux-ld
checking for /usr/local/arm-linux/bin/arm-linux-gcc... (cached) arm-linux-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-linux-gcc accepts -g... yes
checking for arm-linux-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of arm-linux-gcc... gcc3
checking for /usr/local/arm-linux/bin/arm-linux-ranlib... (cached) arm-linux-ran lib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking target board... "Intel HCDDBBVA0 (Mainstone)"
checking if the Linux source tree in /home/maying/linux-2.6.15 is sane... yes
checking for inline... inline
checking for C flags to get more warnings... -Wall
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating include/Makefile
config.status: creating include/blob/Makefile
config.status: creating include/blob/arch/Makefile
config.status: creating include/blob/proc/Makefile
config.status: creating include/net/Makefile
config.status: creating src/Makefile
config.status: creating src/blob/Makefile
config.status: creating src/blob/xlli/Makefile
config.status: creating src/blob/xlli/mainstone/Makefile
config.status: creating src/commands/Makefile
config.status: creating src/diag/Makefile
config.status: creating src/lib/Makefile
config.status: creating tools/Makefile
config.status: creating utils/Makefile
config.status: creating utils/build/Makefile
config.status: creating utils/mkparamblock/Makefile
config.status: creating utils/test/Makefile
config.status: creating include/blob/config.h
config.status: include/blob/config.h is unchanged
config.status: executing depfiles commands

Target board                Intel HCDDBBVA0 (Mainstone)
Target CPU                  pxa250
C compiler                  arm-linux-gcc
C flags                     -I/home/maying/linux-2.6.15/include -Wall -march=arm v4 -mapcs-32 -fomit-frame-pointer -fno-builtin
Linker flags                -static -nostdlib
Objcopy tool                arm-linux-objcopy
Objcopy flags               -O binary -R .note -R .comment -S
Clock scaling support       no
Memory test support         no
LCD support                 no
MD5 support                 no
Xmodem support              no
UU Codec support            no
JFFS2 support               no
cramfs support              no
zImage support              no
PCMCIA support              no
CF support                  no
IDE support                 no
Generic IO support          no
Network support             yes
Blob commands:              reset reboot  arp autoip setip tdownload tftp
Run-time debug information  no

address@hidden blob-xscale]# make
Making all in doc
make[1]: Entering directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/ doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/d oc'
Making all in tools
make[1]: Entering directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/ tools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/t ools'
Making all in utils
make[1]: Entering directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/ utils'
Making all in build
make[2]: Entering directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/ utils/build'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/u tils/build'
Making all in mkparamblock
make[2]: Entering directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/ utils/mkparamblock'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/u tils/mkparamblock'
Making all in test
make[2]: Entering directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/ utils/test'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/u tils/test'
make[2]: Entering directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/ utils'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/u tils'
make[1]: Leaving directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/u tils'
Making all in include
make[1]: Entering directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/ include'
Making all in blob
make[2]: Entering directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/ include/blob'
make  all-recursive
make[3]: Entering directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/ include/blob'
Making all in arch
make[4]: Entering directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/ include/blob/arch'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/i nclude/blob/arch'
Making all in proc
make[4]: Entering directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/ include/blob/proc'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/i nclude/blob/proc'
make[4]: Entering directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/ include/blob'
make[4]: Leaving directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/i nclude/blob'
make[3]: Leaving directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/i nclude/blob'
make[2]: Leaving directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/i nclude/blob'
Making all in net
make[2]: Entering directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/ include/net'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/i nclude/net'
make[2]: Entering directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/ include'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/i nclude'
make[1]: Leaving directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/i nclude'
Making all in src
make[1]: Entering directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/ src'
Making all in commands
make[2]: Entering directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/ src/commands'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/s rc/commands'
Making all in lib
make[2]: Entering directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/ src/lib'
if arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../../include/blob -I../../include -I ../../include    -I/home/maying/linux-2.6.15/include -MT ext2fs.o -MD -MP -MF ". deps/ext2fs.Tpo" -c -o ext2fs.o ext2fs.c; \
then mv -f ".deps/ext2fs.Tpo" ".deps/ext2fs.Po"; else rm -f ".deps/ext2fs.Tpo"; exit 1; fi
In file included from /home/maying/linux-2.6.15/include/linux/percpu_counter.h:1 3,
                 from /home/maying/linux-2.6.15/include/linux/ext2_fs_sb.h:20,
                 from /home/maying/linux-2.6.15/include/linux/ext2_fs.h:20,
                 from ext2fs.c:39:
/home/maying/linux-2.6.15/include/linux/percpu.h: In function `__alloc_percpu':
/home/maying/linux-2.6.15/include/linux/percpu.h:45: error: `GFP_KERNEL' undecla red (first use in this function)
/home/maying/linux-2.6.15/include/linux/percpu.h:45: error: (Each undeclared ide ntifier is reported only once
/home/maying/linux-2.6.15/include/linux/percpu.h:45: error: for each function it  appears in.)
/home/maying/linux-2.6.15/include/linux/percpu.h:45: warning: initialization mak es pointer from integer without a cast
make[2]: *** [ext2fs.o] 错误 1
make[2]: Leaving directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/s rc/lib'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/maying/mainstone/blob-mainstone3/blob-xscale/s rc'
make: *** [all-recursive] 错误 1
address@hidden blob-xscale]#


你 不 想 试 试 今 夏 最 “酷” 的 邮 箱 吗 ?
蕴 涵 中 华 传 统 文 化 于 世 界 一 流 科 技 之 中,创 新 Ajax 技 术,126 “D 计 划”火 热 体 验 中 !
reply via email to

[Prev in Thread] Current Thread [Next in Thread]