[U-Boot-Users] Help:Errors compile u-boot for cm4008(cpu:ks8695)

peng smallstar pengyixing at gmail.com
Mon Jun 5 04:51:47 CEST 2006


When I compile u-boot1.1.4 fo cm4008 and cm41xx,there many errors:

UNDEF_SYM=`arm-linux-objdump -x lib_generic/libgeneric.a
board/cm4008/libcm4008.a cpu/arm920t/libarm920t.a
cpu/arm920t/ks8695/libks8695.a lib_arm/libarm.a fs/cramfs/libcramfs.a
fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a
fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a net/libnet.a disk/libdisk.a
rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a drivers/sk98lin/libsk98lin.a
post/libpost.a post/cpu/libcpu.a common/libcommon.a |sed  -n -e
's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
        arm-linux-ld -Bstatic -T /usr/src/u-boot-1.1.4/board/cm4008/u-
boot.lds -Ttext 0x00f00000  $UNDEF_SYM cpu/arm920t/start.o \
                --start-group lib_generic/libgeneric.a
board/cm4008/libcm4008.a cpu/arm920t/libarm920t.a
cpu/arm920t/ks8695/libks8695.a lib_arm/libarm.a fs/cramfs/libcramfs.a
fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a
fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a net/libnet.a disk/libdisk.a
rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a drivers/sk98lin/libsk98lin.a
post/libpost.a post/cpu/libcpu.a common/libcommon.a --end-group -L
/opt/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0 -lgcc \
                -Map u-boot.map -o u-boot
net/libnet.a(net.o): In function `ArpRequest':
/usr/src/u-boot-1.1.4/net/net.c:232: undefined reference to `eth_send'
net/libnet.a(net.o): In function `NetSendPacket':
/usr/src/u-boot-1.1.4/net/net.c:637: undefined reference to `eth_send'
net/libnet.a(net.o): In function `NetSendUDPPacket':
/usr/src/u-boot-1.1.4/net/net.c:686: undefined reference to `eth_send'
net/libnet.a(net.o): In function `NetReceive':
/usr/src/u-boot-1.1.4/net/net.c:1290: undefined reference to `eth_send'
/usr/src/u-boot-1.1.4/net/net.c:1319: undefined reference to `eth_send'
net/libnet.a(net.o): In function `NetStartAgain':
/usr/src/u-boot-1.1.4/net/net.c:584: undefined reference to `eth_halt'
net/libnet.a(net.o): In function `NetLoop':
/usr/src/u-boot-1.1.4/net/net.c:302: undefined reference to `eth_halt'
/usr/src/u-boot-1.1.4/net/net.c:306: undefined reference to `eth_init'
/usr/src/u-boot-1.1.4/net/net.c:388: undefined reference to `eth_halt'
/usr/src/u-boot-1.1.4/net/net.c:488: undefined reference to `eth_rx'
/usr/src/u-boot-1.1.4/net/net.c:494: undefined reference to `eth_halt'
/usr/src/u-boot-1.1.4/net/net.c:548: undefined reference to `eth_halt'
make: *** [u-boot] Error 1
[root at localhost u-boot-1.1.4]#

who can help me ,thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060605/923ce3c6/attachment.htm 


More information about the U-Boot mailing list