Hi John,

around the line 962 in src/Makefile there is:

# # and autodetect/compat checks
# rtapi-objs += rtapi/rtapi_compat.o

maybe thats a hint.

matsche

On 2014-02-02 18:09, John Morris wrote:
> On 02/01/2014 06:28 PM, W. Martinjak wrote:
>> I'm writing on a driver for the machinekit on BBB and I need to upload the 
>> firmware to the fpga.
>> Therefore I need a flavor-dependent path.
>> Compiling of the driver works but when I run lcnc i get the message: 
>> ...undefined symbol: get_rtapi_config
>> It seems there is a linking problem with the rtapi lib.
>> here is the code snippet:
>>
>>  get_rtapi_config(path, "RUN_IN_PLACE", 4);
>>  if (strncmp(path, "yes", 3) == 0) {
>>   if(!get_rtapi_config(path, "EMC2_HOME", PATH_MAX)) {
>>    snprintf(path, PATH_MAX, 
>> "%s/src/hal/drivers/pluto_spi_servo_firmware/pluto-spi-bbb.rbf", path);
>>    f= fopen(path, "rb");
>>   }else {
>>    f= 
>> fopen("/home/linuxcnc/linuxcnc/src/hal/drivers/pluto_spi_servo_firmware/pluto-spi-bbb.rbf",
>>  "rb");
>>   }  
>>  }// else { TODO: irgendein firmware dir }
>>  
>>
>> Any ideas?
> I guess you're 'tinkerer' on IRC.
>
> http://linuxcnc.mah.priv.at/irc/%23linuxcnc-devel/2014-02-02.html#00:45:04
>
> Basically, you need to link in rtapi_compat.o, or else some library that
> already does that.
>
>       John
>
> ------------------------------------------------------------------------------
> WatchGuard Dimension instantly turns raw network data into actionable 
> security intelligence. It gives you real-time visual feedback on key
> security issues and trends.  Skip the complicated setup - simply import
> a virtual appliance and go from zero to informed in seconds.
> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers

-- 
"In der Wissenschaft siegt nie eine neue Theorie,
nur ihre Gegner sterben nach und nach"

Max Planck


------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to