[U-Boot] standalone application export eth_receive: undefined index
Robin Theunis
robint91 at gmail.com
Fri Aug 26 09:25:23 CEST 2011
Okay, I have put in my commands file #include <net.h>
So it could give me access to the eth_receive function. The strange
thing is that when I use the eth_send function it doens't give any
error.
/Software/u-boot-1.3.3/board/ssysdatalogger/cmd_setup.c:25: undefined
reference to `eth_receive'
make: *** [u-boot] Fout 1
I know it is just some small switch somewhere but I don't see where I
can find it.
Thanks a lot
Robin Theunis
2011/8/26 Wolfgang Denk <wd at denx.de>:
> Dear Robin Theunis,
>
> please keep the ML on Cc:
>
> In message <CAMeaXtwEad=qUbQyj_nYX+_UKRYQMpNr8pV3UU0vxYS2EBX0-A at mail.gmail.com> you wrote:
>>
>> It will we a tool to update the environment variables over http/ a
>> json request. It isn't a problem to opensource it.
>>
>> But how do I link my standalone application to u-boot?
>
> Don't make it a standalone application, but link it with the rest of
> the U-Boot code.
>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> Misquotation is, in fact, the pride and privilege of the learned. A
> widely-read man never quotes accurately, for the rather obvious
> reason that he has read too widely.
> - Hesketh Pearson _Common Misquotations_ introduction
>
More information about the U-Boot
mailing list