On 03/02/2016 09:22 PM, dan...@austin.rr.com wrote:
> OK, modified the .comp file with the new reg numbers and blanket replaced 
> "wj200" to "x200".
>
> first tried:
> cd /home/atxhacker/linuxcnc-2.7.4/src
> sudo ./configure
> sudo make
> sudo make setuid

That looks nearly right, but you shouldn't run most of the build as 
root.  ./configure and make should be run as your regular user, only the 
last "sudo make setuid" step should be run with sudo.


> That compiled ok, but running linuxcnc got "execv x200_vfd no such file or 
> directory".
>
> Tried your halcompile link.  Build, but still the same exev error.  x200_vfd 
> executable was in ~/linuxcnc-2.7.4/bin.

Did you modify the code in src/hal/user_comps/wj200_vfd while leaving 
the directory name unchanged, or did you copy 
src/hal/user_comps/wj200_vfd to src/hal/user_comps/x200_vfd?

If you did the latter like i suggested, then you'd have to also edit 
src/Makefile to add your new driver.  Search for wj200 in that file and 
add your new x200 right next to it, run "make" again, and it should 
build and install.

If you can push a branch with your changes to github I'll have an easier 
time seeing what you're doing and offering useful help.


> So just stabbing, we moved x200_vfd into /usr/bin, and now it gives:
> RTAPI: ERROR: could not open shared memory (No such file or directory)
> HAL: ERROR: could not initialize RTAPI
> ./7i92_spid.hal:313: waitpid failed x200_vfd x200_vfd
> ./7i92_spid.hal:313: x200_vfd exited without becoming ready

You shouldn't copy files outside of your home directory by hand.  I 
understand you're experimenting, trying to get things to work, this is 
just and FYI/PSA from an old unix geek  ;-)


-- 
Sebastian Kuzminsky

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to