This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
undefined reference to 'init_all_network_interfaces'
- From: "Davy Wouters" <davy dot wouters dot atos at gmail dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Mon, 18 Dec 2006 14:11:25 +0100
- Subject: [ECOS] undefined reference to 'init_all_network_interfaces'
- References: <111ced750612180505x4d719471yc400039e4e9b4c20@mail.gmail.com>
Hi,
I'm currently working on a port for the Analog Devices Blackfin BF537 Processor.
The Architecture/Variant/Platform HAL are operational to a level where
i can use it for testing.
Now i am writing a device driver for the ethernet MAC which is built
in the BF537 Processor.
I don't understand where the driver is actually started (start routine
of the eth_drv instance).
The init routine gets called during 'cyg_hal_invoke_constructors()'.
What i tried is to call the 'init_all_network_interfaces()' function
in a simple test application before
actually tryin to send/receive something through a 'socket'.
This project doesn't build because of the linker error "undefined
reference to 'init_all_network_interfaces'".
As far as i know this function is present in libtarget.a ...
Can anyone help me with this? Or at least explain where or how the mac
device driver gets started?
Thanks,
Davy Wouters
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss