[U-Boot-Users] Compile errors in porting board developed under V1.1.1 to V1.1.4

Wolfgang Denk wd at denx.de
Mon Jun 19 00:13:35 CEST 2006


In message <1628E43D99629C46988BE46087A3FBB95C54A1 at ep-01.EmbeddedPlanet.local> you wrote:
> 
> We have previously developed a u-boot board port under u-boot version
> 1.1.1. Currently, I am attempting to move this board to version 1.1.4 so
> that it can be summated as a patch and merged with the u-boot CVS. I
> have done this by coppying my board/<board> directory as well as the
> include/configs/<board.h> and adding an entry to the top level makefile.
> When compiling with MAKE, I get errors in the net files as seen below.

Well, it's youir board, yoru code, and we don't know either of these.
What should we say?

There is a bug in your code?

> Help in identifying the cause of these errors would be appreciated. AND
> be nice, I am new to u-boot. 
...
> /opt/ep/u-boot-1.1.4/net/net.c:233: undefined reference to `eth_send'
...
> /opt/ep/u-boot-1.1.4/net/net.c:303: undefined reference to `eth_halt'
...
> undefined reference to `eth_init'
...
> undefined reference to `eth_halt'
...
> undefined reference to `eth_halt'
...
> undefined reference to `eth_rx'
...
> undefined reference to `eth_halt'
...
> /opt/ep/u-boot-1.1.4/net/net.c:585: undefined reference to `eth_halt'
...
> /opt/ep/u-boot-1.1.4/net/net.c:638: undefined reference to `eth_send'
...
> /opt/ep/u-boot-1.1.4/net/net.c:687: undefined reference to `eth_send'
...
> /opt/ep/u-boot-1.1.4/net/net.c:1291: undefined reference to `eth_send'
...
> undefined reference to `eth_send'

Your code is referencing functions which are not implemented,  either
because  they  are  missing  in your code, or because of a misconfig-
uration.

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
Hegel was right when he said that we learn from history that man  can
never learn anything from history.              - George Bernard Shaw




More information about the U-Boot mailing list