Error when compiling user module

  • mariusl
  • mariusl's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
19 Oct 2023 13:42 #283297 by mariusl
Error when compiling user module was created by mariusl
I am trying to compile a user kinamatics module for a RIP environment using master branch.
If I use the template userkfuncs.c to test the compile, I get the error as well.
Compiling realtime userkfuncs.c
Linking userkfuncs.so
/usr/bin/ld:userkfuncs.ver:2: syntax error in VERSION script
collect2: error: ld returned 1 exit status
make: *** [/usr/share/linuxcnc/Makefile.modinc:125: userkfuncs.so] Error 1

This happens for the RIP and the debs installation.
Any suggestions please?
 

Regards
Marius


www.bluearccnc.com

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

More
19 Oct 2023 15:12 #283302 by Aciera
Replied by Aciera on topic Error when compiling user module
Can't help you there but as an alternative you could use the 'src/hal/components/millturn.comp' file as a template for your switchable kinematics which can then be installed like any component using 'halcompile'
The following user(s) said Thank You: mariusl

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

  • mariusl
  • mariusl's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
19 Oct 2023 15:47 #283304 by mariusl
Replied by mariusl on topic Error when compiling user module
Just came to that conclusion after I read your thread on the topic. I tested the comp template and it compiled just fine. We are busy switching over.
This has been a very frustrating journey with the kinematics.

Regards
Marius


www.bluearccnc.com

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

Time to create page: 0.078 seconds
Powered by Kunena Forum