From: Stephan Linz <linz@li-pro.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] undefined reference to `net_set_upd_handler'
Date: Thu, 24 May 2012 00:46:49 +0200 [thread overview]
Message-ID: <1337813209.14666.17.camel@keto> (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.
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
next reply other threads:[~2012-05-23 22:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-23 22:46 Stephan Linz [this message]
2012-05-23 22:50 ` [U-Boot] undefined reference to `net_set_upd_handler' Joe Hershberger
2012-05-23 22:54 ` Joe Hershberger
2012-05-23 23:20 ` Stephan Linz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1337813209.14666.17.camel@keto \
--to=linz@li-pro.net \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox