paramsaver

More
10 years 7 months ago #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 to join the conversation.

More
10 years 7 months ago #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 to join the conversation.

More
10 years 7 months ago #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 to join the conversation.

More
10 years 7 months ago #71170 by andypugh
Replied by andypugh on topic paramsaver

albova wrote: 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 to join the conversation.

More
10 years 7 months ago #71182 by dgarrett
Replied by dgarrett on topic paramsaver
try:
Code:
sudo halcompile --install --userspace paramsaver.c

see:
Code:
$ man halcompile $ halcompile --help

Please Log in to join the conversation.

More
10 years 7 months ago #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 to join the conversation.

More
10 years 7 months ago #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 to join the conversation.

Time to create page: 0.086 seconds
Powered by Kunena Forum