From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephan Linz Date: Thu, 24 May 2012 00:46:49 +0200 Subject: [U-Boot] undefined reference to `net_set_upd_handler' Message-ID: <1337813209.14666.17.camel@keto> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. diff --git a/net/net.c b/net/net.c index 159b91a..9de7d92 100644 --- a/net/net.c +++ b/net/net.c @@ -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