[U-Boot-Users] Link problem when CONFIG_NET_MULTI not set

Wolfgang Denk wd at denx.de
Mon Apr 19 00:52:44 CEST 2004


In message <17034-97771 at sneakemail.com> you wrote:
> 
> The latest CVS doesn't link if CONFIG_NET_MULTI is *not* set.
> The problem is NetLoop calls eth_set_current() unconditionally,
> but the implementation of that function (in net/eth.c) is not
> included if CONFIG_NET_MULTI is undefined.
> 
> The attached patch fixes NetLoop to not use eth_set_current if
> CONFIG_NET_MULTI is not included. I presume that the function
> is compiled to save space and is really not needed in this
> case.

Already fixed in current CVS. Patch ignored.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
The idea of male and female are universal constants.
	-- Kirk, "Metamorphosis", stardate 3219.8




More information about the U-Boot mailing list