[U-Boot-Users] ARP Retries

Raghu raghu_dk at yahoo.com
Fri Jun 6 05:40:45 CEST 2003


> Do you have CONFIG_NET_MULTI defined in your board
> config file?
> If yes, disable it, and try again.


HI, 

Yes, I had the  CONFIG_NET_MULTI define. 

Now I have modified to, 

#undef CONFIG_NET_MULTI
#define CONFIG_EEPRO100         1
#define CONFIG_COMMANDS   (   CONFIG_CMD_DFL  | \
                              CFG_CMD_FLASH   | \
                              CFG_CMD_SDRAM   | \
                              CFG_CMD_ENV     | \
                              CFG_CMD_PCI     | \
                              CFG_CMD_NET )

But undefining this breaking the build. 

I get the following unresolved errors. 

/home/raghu/u-boot-0.3.0/net/net.c:149: undefined
reference to `eth_halt'
/home/raghu/u-boot-0.3.0/net/net.c:150: undefined
reference to `eth_init'
/home/raghu/u-boot-0.3.0/net/net.c:252: undefined
reference to `eth_rx'
/home/raghu/u-boot-0.3.0/net/net.c:294: undefined
reference to `eth_halt'
/home/raghu/u-boot-0.3.0/net/net.c:258: undefined
reference to `eth_halt'
net/libnet.a(net.o): In function `NetSendPacket':
/home/raghu/u-boot-0.3.0/net/net.c:376: undefined
reference to `eth_send'

These functions in net/etc.c file are defined under
the macro, 
#if (CONFIG_COMMANDS & CFG_CMD_NET)  &&
defined(CONFIG_NET_MULTI)

Warm regards,
Raghu.




__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com




More information about the U-Boot mailing list