* [U-Boot-Users] Help:Errors compile u-boot for cm4008(cpu:ks8695)
@ 2006-06-05 2:51 peng smallstar
2006-06-06 6:03 ` Stefan Roese
2006-06-06 7:15 ` Wolfgang Denk
0 siblings, 2 replies; 3+ messages in thread
From: peng smallstar @ 2006-06-05 2:51 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 3+ messages in thread* [U-Boot-Users] Help:Errors compile u-boot for cm4008(cpu:ks8695)
2006-06-05 2:51 [U-Boot-Users] Help:Errors compile u-boot for cm4008(cpu:ks8695) peng smallstar
@ 2006-06-06 6:03 ` Stefan Roese
2006-06-06 7:15 ` Wolfgang Denk
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Roese @ 2006-06-06 6:03 UTC (permalink / raw)
To: u-boot
Hi Peng,
On Monday 05 June 2006 04:51, peng smallstar wrote:
> When I compile u-boot1.1.4 fo cm4008 and cm41xx,there many errors:
Works here without problems. Just tried it again.
<snip>
> /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'
Did you change the board config file? Seems like you compile U-Boot with
ethernet support but without ethernet driver. In the original board config
files the driver is enabled (#define CONFIG_DRIVER_KS8695ETH).
Best regards,
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] Help:Errors compile u-boot for cm4008(cpu:ks8695)
2006-06-05 2:51 [U-Boot-Users] Help:Errors compile u-boot for cm4008(cpu:ks8695) peng smallstar
2006-06-06 6:03 ` Stefan Roese
@ 2006-06-06 7:15 ` Wolfgang Denk
1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2006-06-06 7:15 UTC (permalink / raw)
To: u-boot
In message <82421f590606041951t478a018dkd82a1e3ad3a082a4@mail.gmail.com> you wrote:
>
> When I compile u-boot1.1.4 fo cm4008 and cm41xx,there many errors:
Must be your toolchain - works fine for me:
-> MAKEALL cm4008 cm41xx
Configuring for cm4008 board...
text data bss dec hex filename
87155 3228 38204 128587 1f64b u-boot
Configuring for cm41xx board...
text data bss dec hex filename
87171 3228 38204 128603 1f65b u-boot
->
> ------=_Part_31028_31037398.1149475907137
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
And never post HTML to list list, please!
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Don't think; let the machine do it for you!" - E. C. Berkeley
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-06-06 7:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-05 2:51 [U-Boot-Users] Help:Errors compile u-boot for cm4008(cpu:ks8695) peng smallstar
2006-06-06 6:03 ` Stefan Roese
2006-06-06 7:15 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox