undefined symbol: kinematicsSwitch

More
2 years 6 months ago #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
 

Attachment not found


 

Attachment not found




 

Please Log in to join the conversation.

More
2 years 6 months ago #298371 by Cant do this anymore bye all
Post your hal & ini files, the actual one your are using. It helps, it really does.

Please Log in to join the conversation.

More
2 years 6 months ago #298384 by alpha8196
they are now attached to the post

Please Log in to join the conversation.

More
2 years 6 months ago #298404 by Cant do this anymore bye all
No step & dir for A axis in your hal file

Please Log in to join the conversation.

More
2 years 6 months ago #298406 by tommylight
Also, why switchable kinematics on a 4 axis machine? Is there any machine that benefits from it?

Please Log in to join the conversation.

More
2 years 6 months ago #298418 by Aciera
I think the error message may be misleading as the config uses the standard 'trivkins' kinematic.

Please Log in to join the conversation.

More
2 years 6 months ago #298422 by Cant do this anymore bye all
Would the fact that the A Axis is not setup in the HAL file cause that and only 3 step gens defined ?

Please Log in to join the conversation.

Time to create page: 0.107 seconds
Powered by Kunena Forum