
Hi all,
I'm trying to to compile tset for my mpc8343E board, but it complains on link stage:
net/libnet.a(net.o)(.text+0x1ac): In function `ArpRequest': /viewstore/ryang_u- boot-1.1.3_dev/vobs/bootloader/u-boot-1.1.3/net/net.c:232: undefined reference to `eth_send' net/libnet.a(net.o)(.text+0x3f8): In function `NetLoop': /viewstore/ryang_u- boot-1.1.3_dev/vobs/bootloader/u-boot-1.1.3/net/net.c:302: undefined reference to `eth_halt' net/libnet.a(net.o)(.text+0x400):/viewstore/ryang_u- boot-1.1.3_dev/vobs/bootloader/u-boot-1.1.3/net/net.c:306: undefined reference to `eth_init' net/libnet.a(net.o)(.text+0x410):/viewstore/ryang_u- boot-1.1.3_dev/vobs/bootloader/u-boot-1.1.3/net/net.c:307: undefined reference to `eth_halt' net/libnet.a(net.o)(.text+0x5d4):/viewstore/ryang_u- boot-1.1.3_dev/vobs/bootloader/u-boot-1.1.3/net/net.c:388: undefined reference to `eth_halt' net/libnet.a(net.o)(.text+0x660):/viewstore/ryang_u- boot-1.1.3_dev/vobs/bootloader/u-boot-1.1.3/net/net.c:488: undefined reference to `eth_rx' net/libnet.a(net.o)(.text+0x674):/viewstore/ryang_u- boot-1.1.3_dev/vobs/bootloader/u-boot-1.1.3/net/net.c:494: undefined reference to `eth_halt' net/libnet.a(net.o)(.text+0x7a8):/viewstore/ryang_u- boot-1.1.3_dev/vobs/bootloader/u-boot-1.1.3/net/net.c:548: undefined reference to `eth_halt' net/libnet.a(net.o)(.text+0x908): In function `NetStartAgain': /viewstore/ryang_u- boot-1.1.3_dev/vobs/bootloader/u-boot-1.1.3/net/net.c:584: undefined reference to `eth_halt' net/libnet.a(net.o)(.text+0xa60): In function `NetSendPacket': /viewstore/ryang_u- boot-1.1.3_dev/vobs/bootloader/u-boot-1.1.3/net/net.c:637: undefined reference to `eth_send' net/libnet.a(net.o)(.text+0xc5c): In function `NetSendUDPPacket': /viewstore/ryang_u- boot-1.1.3_dev/vobs/bootloader/u-boot-1.1.3/net/net.c:686: undefined reference to `eth_send' net/libnet.a(net.o)(.text+0xed4): In function `PingTimeout': /viewstore/ryang_u- boot-1.1.3_dev/vobs/bootloader/u-boot-1.1.3/net/net.c:752: undefined reference to `eth_halt' net/libnet.a(net.o)(.text+0x13f8): In function `NetReceive': /viewstore/ryang_u- boot-1.1.3_dev/vobs/bootloader/u-boot-1.1.3/net/net.c:1284: undefined reference to `eth_send' net/libnet.a(net.o)(.text+0x1494):/viewstore/ryang_u- boot-1.1.3_dev/vobs/bootloader/u-boot-1.1.3/net/net.c:1313: undefined reference to `eth_send' drivers/libdrivers.a(tsec.o)(.text+0x108): In function `tsec_initialize': /viewstore/ryang_u- boot-1.1.3_dev/vobs/bootloader/u-boot-1.1.3/drivers/tsec.c:165: undefined reference to `eth_register'
I'm not familiar with u-boot make configs. I think the file should net/eth.c, and eth.o generated, what could be problem?
Thanks.
- Reeve

Hi Reeve,
"Reeve Yang" yang.reeve@gmail.com writes:
I'm trying to to compile tset for my mpc8343E board, but it complains on link stage: net/libnet.a(net.o)(.text+0x1ac): In function `ArpRequest': /viewstore/ryang_u-boot-1.1.3_dev/vobs/bootloader/u-boot-1.1.3/net/net
...
I'm not familiar with u-boot make configs. I think the file should net/eth.c, and eth.o generated, what could be problem?
The u-boot version you are using is very old! First of all, please update your U-Boot code to the current top of git tree.
Regards
Markus Klotzbuecher
participants (2)
-
Markus Klotzbücher
-
Reeve Yang