Re: [Emc-developers] usage of get_rtapi_config on machinekit?

2014-02-12 Thread Charles Steinkuehler
On 2/12/2014 11:41 AM, W. Martinjak wrote: > Charles, > >> I did the user-mode hostmot2 PCI driver for the x86 Xenomai flavor, but >> AFAIK no one has built pluto drivers for Xenomai (x86 or ARM), or *ANY* >> FPGA drivers for the BeagleBone. There could easily be a problem with >> the make files

Re: [Emc-developers] usage of get_rtapi_config on machinekit?

2014-02-12 Thread Michael Haberler
Am 12.02.2014 um 21:00 schrieb W. Martinjak : > Michael, > > On 2014-02-12 20:40, Michael Haberler wrote: >> Wolfgang, >> >> I have reproduced the problem. >> >> That said - get_rtapi_config() was meant to be internal use to rtapi, and >> not from RT components. Also, since it uses file oper

Re: [Emc-developers] usage of get_rtapi_config on machinekit?

2014-02-12 Thread W. Martinjak
Michael, On 2014-02-12 20:40, Michael Haberler wrote: > Wolfgang, > > I have reproduced the problem. > > That said - get_rtapi_config() was meant to be internal use to rtapi, and not > from RT components. Also, since it uses file operations it would be usable > only for userland components, and

Re: [Emc-developers] usage of get_rtapi_config on machinekit?

2014-02-12 Thread Michael Haberler
Wolfgang, I have reproduced the problem. That said - get_rtapi_config() was meant to be internal use to rtapi, and not from RT components. Also, since it uses file operations it would be usable only for userland components, and only in rtapi_app_main and rtapi_app_exit. Moreover, since the pa

Re: [Emc-developers] usage of get_rtapi_config on machinekit?

2014-02-12 Thread W. Martinjak
Charles, On 2014-02-02 03:01, Charles Steinkuehler wrote: > > Well, a quick check shows the get_rtapi_config function is defined in > the xenomai flavor used with MachineKit. Michael or John might have > more insight, but you might want to run "make V=1" to get a full dump of > what's happening.

Re: [Emc-developers] usage of get_rtapi_config on machinekit?

2014-02-02 Thread W. Martinjak
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 an

Re: [Emc-developers] usage of get_rtapi_config on machinekit?

2014-02-02 Thread John Morris
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_conf

Re: [Emc-developers] usage of get_rtapi_config on machinekit?

2014-02-02 Thread W. Martinjak
On 2014-02-02 13:06, Michael Haberler wrote: > please post a complete log, say to pastebin - is that message in the > /var/log/linuxcnc.log, or where? > could you your source tree to say a github repo > which files are you talking about? without seeing the whole file it's pretty > hard to tell w

Re: [Emc-developers] usage of get_rtapi_config on machinekit?

2014-02-02 Thread Michael Haberler
Am 02.02.2014 um 01:28 schrieb W. Martinjak : > 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_

Re: [Emc-developers] usage of get_rtapi_config on machinekit?

2014-02-01 Thread Charles Steinkuehler
On 2/1/2014 6: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

[Emc-developers] usage of get_rtapi_config on machinekit?

2014-02-01 Thread W. Martinjak
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