#linuxcnc-devel | Logs for 2014-02-01

Back
[18:00:51] <tinkerer> hello fellows
[18:01:36] <tinkerer> is there someone who knows the usage of get_rtapi_config?
[18:10:15] <tinkerer> I'm writing a driver for the machinkit on BBB and I need to upload the firmware to the fpga.
[18:14:37] <tinkerer> therefore I need a flavor-dependent path.
[18:19:07] <tinkerer> compiling of the driver works but when I run lcnc i get the message: ...undefined symbol: get_rtapi_config
[18:21:35] <tinkerer> it seems there is a linking problem with the rtapi lib.
[18:22:27] <tinkerer> here is the code snippet:
[18:22:27] <tinkerer> get_rtapi_config(path, "RUN_IN_PLACE", 4);
[18:22:27] <tinkerer> if (strncmp(path, "yes", 3) == 0) {
[18:22:27] <tinkerer> if(!get_rtapi_config(path, "EMC2_HOME", PATH_MAX)) {
[18:22:27] <tinkerer> snprintf(path, PATH_MAX, "%s/src/hal/drivers/pluto_spi_servo_firmware/pluto-spi-bbb.rbf", path);
[18:22:27] <tinkerer> f= fopen(path, "rb");
[18:22:28] <tinkerer> }else {
[18:22:28] <tinkerer> f= fopen("/home/linuxcnc/linuxcnc/src/hal/drivers/pluto_spi_servo_firmware/pluto-spi-bbb.rbf", "rb");
[18:22:29] <tinkerer> }
[18:22:29] <tinkerer>
[18:22:30] <tinkerer> }// else { TODO: irgendein firmware dir }
[18:22:30] <tinkerer>
[18:56:32] <tinkerer> hmm, it's a new moon night... ;)
[19:01:38] <zultron> Hi tinkerer
[19:01:53] <zultron> I wrote that. Lemme see what you wrote....
[19:02:40] <zultron> As for the new moon, happy lunar new year!
[19:04:28] <zultron> I guess I need to know how you're linking in your driver.
[19:05:48] <zultron> But you should be able to link in rtapi_compat.o to get that symbol.
[19:09:38] <zultron> Guess he didn't like that advice.
[20:37:27] <KGB-linuxcnc> 03Dewey Garrett 05xhc-hb04 d5e86b7 06linuxcnc 10src/hal/user_comps/xhc-hb04.cc xhc-hb04.cc: fix compile warnings * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=d5e86b7
[20:37:27] <KGB-linuxcnc> 03Dewey Garrett 05xhc-hb04 d91abc0 06linuxcnc 10src/hal/user_comps/xhc-hb04.cc xhc-hb04.cc: fail if MAX_WAIT exceeded * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=d91abc0
[20:37:27] <KGB-linuxcnc> 03Dewey Garrett 05xhc-hb04 3f5702a 06linuxcnc 10(14 files in 2 dirs) xhc-hb04 (usb wireless mpg) sim configs * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=3f5702a
[20:54:19] <linuxcnc-build> build #937 of precise-i386-realtime-rip is complete: Failure [4failed compile] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/precise-i386-realtime-rip/builds/937 blamelist: Dewey Garrett <dgarrett@panix.com>
[20:57:44] <linuxcnc-build> build #1737 of lucid-i386-realtime-rip is complete: Failure [4failed compile] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/lucid-i386-realtime-rip/builds/1737 blamelist: Dewey Garrett <dgarrett@panix.com>
[21:00:47] <linuxcnc-build> build #1733 of lucid-rtai-i386-clang is complete: Failure [4failed compile] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/lucid-rtai-i386-clang/builds/1733 blamelist: Dewey Garrett <dgarrett@panix.com>
[21:23:32] <linuxcnc-build> build #1737 of checkin is complete: Failure [4failed] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/checkin/builds/1737 blamelist: Dewey Garrett <dgarrett@panix.com>
[21:30:38] <skunkworks> pcw_home: I was running that old atom and checking it every hour or two. we left and returned and the screen was locked up. The led was still flashing so the realtime was still running. Odd. I just rebooted it and started it up. I disabled debugging for grins. but like I say - the realtime was still plugging away.
[21:31:05] <skunkworks> I did have halscope running in the back on 'roll' maybe there is a memory leak somewhere
[21:40:28] <pcw_home> I have seen lockups on my home machine as well (but the d525 at work has run for 5 weeks no without issue)
[21:42:37] <pcw_home> Not sure if its preemp_rt or linuxcnc
[21:42:59] <skunkworks> well - wonder if it is linux... Like I say - the realtime was still running.
[21:43:25] <skunkworks> (led was flashing which was generated by siggen in hal)
[21:44:30] <skunkworks> I will let it run overnight with just axis running
[21:44:47] <pcw_home> I'm not sure, when this machine locks up I can still login with a text console but its got one foot on a banana peel
[22:11:09] <KGB-linuxcnc> 03Dewey Garrett 05xhc-hb04 4e8ed39 06linuxcnc 10src/hal/components/xhc_hb04_util.comp xhc_hb04_util: include <rtapi_math.h> * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=4e8ed39