This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
eCos CVS <--> eCos 1.3.1 differences in net/eth_drv.c
- To: <ecos-discuss at sources dot redhat dot com>
- Subject: [ECOS] eCos CVS <--> eCos 1.3.1 differences in net/eth_drv.c
- From: "Ivan Jakab" <ivan at INTESIS dot hr>
- Date: Tue, 8 May 2001 15:52:40 +0200
Hi,
I'm currently moving support for a MIPS R3041 based board from the eCos
1.3.1 tree to the current CVS tree. When building the eCos CVS tests I got
messages that claimed undefined reference for eth_drv_init(), eth_drv_recv()
and eth_drv_tx_done() in packages\io\serial\current\src\common\serial.c:xxx.
When comparing the eth_drv.c, where those functions are defined, from the
1.3.1 and the CVS eCos I noticed that in the CVS they're defined as static.
I changed their definition not be static (as they were in the 1.3.1 tree)
and all the tests passed without any "undefined reference" messages. Why was
the definition of those functions changed to be static? Am I missing
something here?
Regards,
Ivan