undefined reference to libbsdport_netdriver_attach
salpha.2004 at gmail.com
Mon Oct 1 11:01:40 UTC 2012
Ok I linked my application with the following LDFLAGS:
LDFLAGS += -L /where/libbsdport/was/installed -lbsdport
But I'm getting the same "undefined reference to
'libbsdport_netdriver_attach'" error again.
What could be the possible problem?
On Fri, Sep 28, 2012 at 7:20 PM, SAeeD <salpha.2004 at gmail.com> wrote:
> Did you add -lbsdports to the list of libraries you must link with ?
> I added this option to LDFLAGS section and this is the new link error I
> i386-rtems4.10-gcc --pipe
> -specs bsp_specs -qrtems -g -Wall -O2 -g -g -mtune=i386
> -Wl,-Ttext,0x00100000 -lbsdports -mtune=i386 -o
> o-optimize/network-suite.exe o-optimize/init.o
> cannot find -lbsdports
> collect2: ld returned 1 exit status
> make: *** [o-optimize/network-suite.exe] Error 1
> I doubt that I've added the option correctly to my Makefile. I've attached
> my Makefile.
> On Fri, Sep 28, 2012 at 2:13 AM, Chris Johns <chrisj at rtems.org> wrote:
>> SAeeD wrote:
>>> Is there any link options that I must add to my application's Makefile?
>> Did you add -lbsdports to the list of libraries you must link with ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the devel