undefined symbol: kinematicsSwitch

More
16 Apr 2024 13:30 - 16 Apr 2024 16:24 #298369 by alpha8196
So I'm quite new to all this and was trying to run linuxcnc on a Pi5, and I was trying to see if I can at least get a stepper spinning using the gpio pins.
I ran through the stepconf wizard and then replaced the content in the .hal file with the demo hal file .
Linuxcnc failed to start with the following message

Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.2
Machine configuration directory is '/home/cnc/linuxcnc/configs/actuator_v0'
Machine configuration file is 'actuator_v0.ini'
INIFILE=/home/cnc/linuxcnc/configs/actuator_v0/actuator_v0.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=X Y Z A
KINEMATICS=trivkins coordinates=XYZA
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./actuator_v0.hal
Shutting down and cleaning up LinuxCNC...
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
motmod: dlopen: /usr/lib/linuxcnc/modules/motmod.so: undefined symbol: kinematicsSwitch
./actuator_v0.hal:2: waitpid failed /usr/bin/rtapi_app motmod
./actuator_v0.hal:2: /usr/bin/rtapi_app exited without becoming ready
./actuator_v0.hal:2: insmod for motmod failed, returned -1
3107
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime

what should I do to fix this?
here's the hal and ini file used
 

File Attachment:

File Name: actuator_v0.hal
File Size:2 KB

 

File Attachment:

File Name: actuator_v0.ini
File Size:3 KB



 
Attachments:
Last edit: 16 Apr 2024 16:24 by alpha8196. Reason: attached hal and ini file

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

More
16 Apr 2024 13:38 #298371 by cornholio
Post your hal & ini files, the actual one your are using. It helps, it really does.

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

More
16 Apr 2024 16:24 #298384 by alpha8196
they are now attached to the post

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

More
16 Apr 2024 22:10 #298404 by cornholio
No step & dir for A axis in your hal file

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

More
16 Apr 2024 22:17 #298406 by tommylight
Also, why switchable kinematics on a 4 axis machine? Is there any machine that benefits from it?

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

More
17 Apr 2024 08:59 #298418 by Aciera
I think the error message may be misleading as the config uses the standard 'trivkins' kinematic.

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

More
17 Apr 2024 09:08 - 17 Apr 2024 09:09 #298422 by cornholio
Would the fact that the A Axis is not setup in the HAL file cause that and only 3 step gens defined ?
Last edit: 17 Apr 2024 09:09 by cornholio.

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

Time to create page: 0.083 seconds
Powered by Kunena Forum