[ECOS] undefined reference to 'init_all_network_interfaces'

Davy Wouters davy.wouters.atos@gmail.com
Mon Dec 18 13:11:00 GMT 2006


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



More information about the Ecos-discuss mailing list