This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

undefined reference to 'init_all_network_interfaces'


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]