paramsaver

More
06 Mar 2016 16:17 #71115 by albova
paramsaver was created by albova
hi
I'm trying to make "param saver" but I keep giving the following error:

Debug file information:
./parsaver.hal:1: execv (paramsaver): No such file or directory
./parsaver.hal:1: waitpid failed paramsaver paramsaver
./parsaver.hal:1: paramsaver exited without becoming ready

which is the right procedure to install the necessary files?
I put "paramsaver" and "paramsaver.c" under LinuxCNC / configs / my-mill.
regards
Alessandro

Please Log in or Create an account to join the conversation.

More
07 Mar 2016 13:04 #71149 by andypugh
Replied by andypugh on topic paramsaver
You probably need to compile and install it.
linuxcnc.org/docs/2.7/html/hal/comp.html

Please Log in or Create an account to join the conversation.

More
07 Mar 2016 15:32 #71165 by albova
Replied by albova on topic paramsaver
in a terminal :
alex@debian:~$ halcompile --install paramsaver.c

make KBUILD_EXTRA_SYMBOLS=/usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/Module.symvers -C /usr/src/linux-headers-3.4-9-rtai-686-pae SUBDIRS=`pwd` CC=gcc V=0 modules
make[1]: Entering directory `/usr/src/linux-headers-3.4-9-rtai-686-pae'
CC [M] /tmp/tmpq3Vyfq/paramsaver.o
/tmp/tmpq3Vyfq/paramsaver.c:34:20: fatal error: stdlib.h: No such file or directory
compilation terminated.
make[4]: *** [/tmp/tmpq3Vyfq/paramsaver.o] Error 1
make[3]: *** [_module_/tmp/tmpq3Vyfq] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.4-9-rtai-686-pae'
make: *** [modules] Error 2

give me some error, why?
ale

Please Log in or Create an account to join the conversation.

More
07 Mar 2016 16:23 #71170 by andypugh
Replied by andypugh on topic paramsaver

give me some error, why?


I am not sure. The problem seems to be with an include file.

(You could try again with "sudo halcompile...." but I don't think this is the problem here.

You could try removing that line, there is a fair chance that halcompile already links to that module.

Please Log in or Create an account to join the conversation.

More
07 Mar 2016 20:00 - 07 Mar 2016 20:06 #71182 by dgarrett
Replied by dgarrett on topic paramsaver
try:
sudo halcompile --install --userspace paramsaver.c

see:
$ man halcompile
$ halcompile --help
Last edit: 07 Mar 2016 20:06 by dgarrett. Reason: sudo

Please Log in or Create an account to join the conversation.

More
08 Mar 2016 07:26 #71206 by albova
Replied by albova on topic paramsaver
in a terminal:
alex@debian:~/linuxcnc/configs/prova$ sudo halcompile --install --userspace paramsaver.c

i get the following error :

gcc -Os -g -I. -I/usr/realtime-3.4-9-rtai-686-pae/include -I. -I/usr/realtime-3.4-9-rtai-686-pae/include -I/usr/include/i386-linux-gnu -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -fno-math-errno -funsafe-math-optimizations -fno-rounding-math -fno-signaling-nans -fcx-limited-range -mhard-float -DRTAI=3 -fno-fast-math -mieee-fp -fno-unsafe-math-optimizations -DRTAPI -D_GNU_SOURCE -Drealtime -D__MODULE__ -I/usr/include/linuxcnc -Wframe-larger-than=2560 -URTAPI -U__MODULE__ -DULAPI -Os -o paramsaver /tmp/tmpCS49Q9/paramsaver.c -Wl,-rpath,/lib -L/lib -llinuxcnchal

??? thank's

Please Log in or Create an account to join the conversation.

More
08 Mar 2016 08:48 #71207 by andypugh
Replied by andypugh on topic paramsaver
I am not sure that is an error. It doesn't say "error"

Please Log in or Create an account to join the conversation.

Time to create page: 0.097 seconds
Powered by Kunena Forum