Skip to contentSkip to conversation

undefined reference to `net_set_upd_handler'

U-Boot Stephan Linz 2 participants 4 messages May 23, 2012 Networking

lore
Share & tools
lore
#0 lore raw

Hello Joe,

just I've tried out your custodian network tree at a99acb7 and run in the link error below:

net/libnet.o: In function `NetLoop':
net/net.c:539: undefined reference to `net_set_upd_handler'

I think it is a typo in commit 6476b33, or not?

The patch snipped below would fix it. It works to me.

net/net.c +0 -0
index 159b91a..9de7d92 100644
@@ -536,7 +536,7 @@ restart:

done:

#ifdef CONFIG_CMD_TFTPPUT
        /* Clear out the handlers */
-       net_set_upd_handler(NULL);
+       net_set_udp_handler(NULL);
        net_set_icmp_handler(NULL);
#endif
        return ret;

br,
Stephan

#1 lore raw

Hi Stephan,

Quoted 9 lines · Stephan Linz

Hello Joe,

just I've tried out your custodian network tree at a99acb7 and run in the link error below:

net/libnet.o: In function `NetLoop':
net/net.c:539: undefined reference to `net_set_upd_handler'

I think it is a typo in commit 6476b33, or not?

Thanks for trying it out. It seems I typo'd that in a feature that is not enabled on anything but microblaze.

Thanks for catching it.
-Joe

#2 lore raw

Hi Stephan,

Quoted 12 lines · Joe Hershberger

Hi Stephan,

Quoted 9 lines · Stephan Linz

Hello Joe,

just I've tried out your custodian network tree at a99acb7 and run in the link error below:

net/libnet.o: In function `NetLoop':
net/net.c:539: undefined reference to `net_set_upd_handler'

I think it is a typo in commit 6476b33, or not?

I've pushed a fixed version.

-Joe

#3 lore raw

Hi Joe,

thanks, now it compiles without error, tftpput works too.

br,
Stephan

Am Mittwoch, den 23.05.2012, 17:54 -0500 schrieb Joe Hershberger:

Quoted 24 lines

Hi Stephan,

Quoted 12 lines · Joe Hershberger

Hi Stephan,

Quoted 9 lines · Stephan Linz

Hello Joe,

just I've tried out your custodian network tree at a99acb7 and run in the link error below:

net/libnet.o: In function `NetLoop':
net/net.c:539: undefined reference to `net_set_upd_handler'

I think it is a typo in commit 6476b33, or not?

I've pushed a fixed version.

-Joe
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Signature · 8 lines
Viele Gr??e,
Stephan Linz
______________________________________________________________________________
MB-Ref: http://www.li-pro.de/xilinx_mb:mbref:start
OpenDCC: http://www.li-pro.net/opendcc.phtml
PC/M: http://www.li-pro.net/pcm.phtml
Sourceforge: http://sourceforge.net/users/slz
Gitorious: https://gitorious.org/~slz