- Posts: 6
- Thank you received: 0
Undefined Reference to hal_export_funct Linker Error in LinuxCNC HAL Component
1 year 4 weeks ago #335852
by takgu
Replied by takgu on topic Undefined Reference to hal_export_funct Linker Error in LinuxCNC HAL Component
The reason I am using Qt C++ is that the existing external module, which was developed in C++, is incompatible with Qt Python (QtPy).
Thanks.
Thanks.
Please Log in or Create an account to join the conversation.
1 year 4 weeks ago #335854
by Hakan
Replied by Hakan on topic Undefined Reference to hal_export_funct Linker Error in LinuxCNC HAL Component
LINUXCNC_HOME then, what is its value?
Please Log in or Create an account to join the conversation.
1 year 4 weeks ago #335855
by rodw
Replied by rodw on topic Undefined Reference to hal_export_funct Linker Error in LinuxCNC HAL Component
A bit left field but how did you install linuxcnc? If installed on Trixie and not the LinuxCNC ISO, did you
sudo apt install linuxcnc-uspace-dev
I think this is needed to get the required libs (certainly for halcompile)
The ISO installs linuxcnc-uspace-dev
sudo apt install linuxcnc-uspace-dev
I think this is needed to get the required libs (certainly for halcompile)
The ISO installs linuxcnc-uspace-dev
Please Log in or Create an account to join the conversation.
1 year 4 weeks ago #335856
by takgu
Replied by takgu on topic Undefined Reference to hal_export_funct Linker Error in LinuxCNC HAL Component
LINUXCNC_HOME : /home/user1/linuxcnc
The Qt application now works correctly when I comment out the following two lines in the build configuration:
- LIBS += -L/home/user1/linuxcnc/rtlib -lhal_lib
- hal_export_funct.
Thanks
The Qt application now works correctly when I comment out the following two lines in the build configuration:
- LIBS += -L/home/user1/linuxcnc/rtlib -lhal_lib
- hal_export_funct.
Thanks
Please Log in or Create an account to join the conversation.
1 year 4 weeks ago #335857
by takgu
Replied by takgu on topic Undefined Reference to hal_export_funct Linker Error in LinuxCNC HAL Component
I built LinuxCNC from source on Ubuntu.
Thanks.
Thanks.
Please Log in or Create an account to join the conversation.
1 year 4 weeks ago #335858
by Hakan
Replied by Hakan on topic Undefined Reference to hal_export_funct Linker Error in LinuxCNC HAL Component
Look at the exact line that is executed to link the application.
You should be able to see the exact command with all values that are actually used.
Troubleshoot that line first. If that's wrong, fix the makefile.
You should be able to see the exact command with all values that are actually used.
Troubleshoot that line first. If that's wrong, fix the makefile.
Please Log in or Create an account to join the conversation.
Time to create page: 0.100 seconds