Enable network for the Intel 82551ER chip - pc386
Wendell Silva
silvawp at gmail.com
Fri Mar 30 14:10:32 UTC 2012
Hi Joao,
Have you checked the LDFLAGS in your makefile?
Something like this:
LDFLAGS = -lif_fxp -lbsdport
(copied from Chris' makefile.am file)
I hope it helps...
--Wendell
Em 30 de março de 2012 10:34, João Paulo Scalão Martins <
joaopaulosm at gmail.com> escreveu:
> Thank you Chris!
>
> 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 !!!
>
> I start writing some code, just this way:
>
> *driver_t* libbsdport_netdriver_table[] =*
> *{*
> * &libbsdport_fxp_driver,*
> * NULL*
> *};*
> *
> *
> 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 !!!!
> 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...
>
>
> Best regards...
>
> Joao
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
>
>
--
Att.
Wendell P. Silva
+55 12 8114-8018
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20120330/54288160/attachment-0001.html>
More information about the users
mailing list