Compiling scarakins.c under version 2.9.3 does not work.

More
22 Dec 2024 16:55 #317148 by infou
Under version 2.8 it works. I have a Scara Robot with different dimensions, so I have changed D1-D5 (but it does not compile with the original file).
with the original file). So far I have not found a way to compile this file in the forum and also with Google.
Then I tried to compile the Scarakins.c from 2.8 into 2.9.3, which did compile. However, when using the 2.8 Scarakins.so
Linuxcnc aborted with an error message at startup.
I assume that in the 2.9.3 version switchkins are a change to the 2.8 version.
Is there a possibility to compile the original and the modified scarakins.c from 2.9.3 ?
What about unserkins.comp ? I don't know how to create it.


Here is the error message when compiling:
cnc@cnc:~/linuxcnc/linuxcnc-dev/src/emc/kinematics$ halcompile --compile scarakins.c
Compiling realtime scarakins.c
Linking scarakins.so
/usr/bin/ld:scarakins.ver:2: syntax error in VERSION script
collect2: error: ld returned 1 exit status
make: *** [/usr/share/linuxcnc/Makefile.modinc:125: scarakins.so] Fehler 1
 

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

More
22 Dec 2024 20:57 #317158 by andypugh
I can reproduce the problem.

After some fiddling about to persist the scarkins.ver file (which is normally automatically deleted by the tempfile functions) I found that the problem seems to be exactly this:

unix.stackexchange.com/questions/771815/...hen-building-gettext

Do you have a linuxcnc-dev directory? What does "which halcompile" say?

(I suspect that the "make clean" fix isn't going to help here)

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

Time to create page: 0.058 seconds
Powered by Kunena Forum