Thank you Chris!<div><br></div><div>I'm trying to use the fxp driver, but I didn't understand your init.c. As a matter of fact, I don't know how to use the fxp driver, because I have not found any fxp_driver_attach_function to put on the ifconfig struct !!!</div>
<div><br></div><div>I start writing some code, just this way: </div><div><br></div><div><div><i>driver_t* libbsdport_netdriver_table[] =</i></div><div><i>{</i></div><div><i> &libbsdport_fxp_driver,</i></div><div><i> NULL</i></div>
<div><i>};</i></div></div><div><i><br></i></div><div>When I compile the program, the compiler gives me an error "undefined reference to libbsdport_fxp_driver". This error occurs in another .c file, at the start of a function which doesn't have any relationship with the libbsdport_netdriver_table !!!! </div>
<div>I checked the header <bsp/libbsdport_api.h> and the driver libbsdport_fxp_driver is defined as extern. Sounds like the linker can not found the real definition of the driver...</div><div><br></div><div><br></div>
<div>Best regards...</div><div><br></div><div>Joao</div>