From: rvijay435 Date: Wed, 23 Oct 2013 23:09:19 -0700 (PDT) Subject: [U-Boot] Can a standalone application send data via Ethernet in U-Boot? In-Reply-To: <20131018201500.0875B380627@gemini.denx.de> References: <1382067543913-165775.post@n7.nabble.com> <20131018201500.0875B380627@gemini.denx.de> Message-ID: <1382594959198-166076.post@n7.nabble.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Wolfgang, Can I use tsec_miiphy_write () function which is defined in drivers/net/tsec.c for sending the data from standalone application via Ethernet. I am trying to export this function and use it. The files I edited for exporting are: "include/exports.h", "include/_exports.h", "common/exports.c". At jumptable_init () function in common/exports.c, I am giving the following line: gd->jt[XF_tsec_miiphy_write] = tsec_miiphy_write. But the *error* I am getting is: common/libcommon.a(exports.o):(.got2+0x0): undefined reference to 'tsec_miiphy_write'. Note: Is this error coming because the function is static? If so, how to export and use them in standalone application of U-Boot? -- View this message in context: http://u-boot.10912.n7.nabble.com/Can-a-standalone-application-send-data-via-Ethernet-in-U-Boot-tp165775p166076.html Sent from the U-Boot mailing list archive at Nabble.com.