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? -- "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 Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers