Undefined reference using Gaisler's rcc-1.3-rc6-gcc GR712RC SMP BSP library

Pete Cunningham pete.cunningham at astrobotic.com
Tue May 21 19:00:11 UTC 2019

Folks, I'm using Gaisler's pre-compiled rcc-1.3-rc6-gcc GR712RC SMP BSP
library (rtemsbsp.a in the gr712rc_smp/lib directory).  I'm trying to
integrate the SMP compatible version of the greth ethernet driver that is
built into the gr712rc BSP library.  When I use the code listed in
rtems_net.c and rtems_net_config.h, I get a linker error "rtems_net.c:198:
undefined reference to greth_interface_driver_attach" even though
greth_interface_driver_attach is listed as a local symbol in the symbol
table within the text segment.  Is there some reference code that I can
follow that shows how to leverage the driver manager to install the SMP
version greth driver.  Or can someone point out the error in my ways?  Code
attached below.


Pete Cunningham
Astrobotic Technology

Notice: This message is intended solely for use of the individual or entity 
to which it is addressed and may contain information that is proprietary, 
privileged, company confidential and/or exempt from disclosure under 
applicable law. If the reader is not the intended recipient or agent 
responsible for delivering the message to the intended recipient, you are 
hereby notified that any dissemination, distribution or copying of this 
communication is strictly prohibited. This communication may also contain 
data subject to the International Traffic in Arms Regulations or U.S. 
Export Administration Regulations and cannot be disseminated, distributed 
or copied to foreign nationals, residing in the U.S. or abroad, without the 
prior approval of the U.S. Department of State or appropriate export 
licensing authority. If you have received this communication in error, 
please notify the sender by reply e-mail or collect telephone call and 
delete or destroy all copies of this email message, any physical copies 
made of this e-mail message and/or any file attachment(s).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20190521/add0fee2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtems_net.c
Type: text/x-csrc
Size: 7037 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20190521/add0fee2/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtems_net_config.h
Type: text/x-chdr
Size: 1322 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20190521/add0fee2/attachment-0001.bin>

More information about the users mailing list