Well I think I might of broke something very bad.......running the command *nm
-C hal_p260c* *| grep " U " *gave this:
U cfsetispeed@@GLIBC_2.2.5
U cfsetospeed@@GLIBC_2.2.5
U close@@GLIBC_2.2.5
U hal_exit
U hal_export_funct
U hal_malloc
U hal_param_bit_newf
U hal_param_s32_newf
U hal_pin_bit_newf
U hal_pin_s32_newf
U hal_ready
U hal_xinit
U ioctl@@GLIBC_2.2.5
U memset@@GLIBC_2.2.5
U open@@GLIBC_2.2.5
U read@@GLIBC_2.2.5
U rtapi_print_msg
U rtapi_snprintf
U rtapi_switch
U strtok@@GLIBC_2.2.5
U strtol@@GLIBC_2.2.5
U tcdrain@@GLIBC_2.2.5
U tcflush@@GLIBC_2.2.5
U tcgetattr@@GLIBC_2.2.5
U tcsetattr@@GLIBC_2.2.5
U write@@GLIBC_2.2.5
Which seems like everything is undefined
On Friday, February 24, 2017 at 7:26:03 AM UTC-6, Daniel Skrlin wrote:
>
> Are the attached files not the component code? Why would this work prior
> to the "merge"?
>
> On Friday, February 24, 2017 at 3:34:18 AM UTC-6, Schooner wrote:
>>
>>
>> On 23/02/17 19:39, Daniel Skrlin wrote:
>>
>> This issue has been resolved by manually installing icomps. However now I
>> ran into another issue with a custom driver/protocol for my IO hardware
>> (communicates via USB to RS485) Please see attached files and error
>> messages. Any help would be greatly appreciated since I am merely just a
>> power user. Thanks
>>
>> starting mklauncher... done
>> starting configserver... done
>> starting ./python/pmcsfile_service.py... done
>> starting machinekit... MACHINEKIT - 0.1
>> Machine configuration directory is '/home/pmcs/Downloads/pmcs-rt'
>> Machine configuration file is 'v6.ini'
>> Starting Machinekit...
>> io started
>> halcmd loadusr io started
>> done
>> hal/v6.hal:14: insmod failed, returned -1:
>> do_load_cmd: dlopen: /usr/lib/linuxcnc/rt-preempt/hal_p260c.so: undefined
>> symbol: hal_exit
>>
>>
>> It indicates incorrect linkage in the build of the component.
>> Without the component code and knowing how it was built, unable to guess
>> further
>>
>> If hal_exit() did not exist, machinekit would not run, there are about
>> 1230 binaries and libs linked against it.
>>
>> Running *nm -C hal_p260c* *| grep " U " *from the dir it is in, will
>> list all the symbols which are undefined. (U)
>> I would suspect a great deal more than just hal_exit()
>>
>> hal_exit() is an inline accessor to halg_exit() contained in
>> https://github.com/machinekit/machinekit/blob/master/src/hal/lib/hal.h#L379
>> So you may see references to halg_exit
>>
>> rpath=/usr/lib/linuxcnc/rt-preempt
>> See /var/log/linuxcnc.log for more information.
>> Shutting down and cleaning up Machinekit...
>> Traceback (most recent call last):
>> File "/home/pmcs/bin/estop.py", line 16, in <module>
>> Traceback (most recent call last):
>> File "/home/pmcs/bin/mtc.py", line 15, in <module>
>> time.sleep(2.00)
>> KeyboardInterrupttime.sleep(2.00)
>>
>> KeyboardInterrupt
>> Cleanup done
>> Machinekit terminated with an error. You can find more information in
>> the log:
>> /home/pmcs/linuxcnc_debug.txt
>> and
>> /home/pmcs/linuxcnc_print.txt
>> as well as in the output of the shell command 'dmesg' and in the terminal
>> stopping mklauncher... done
>> stopping configserver... done
>> stopping ./python/pmcsfile_service.py... done
>>
>>
>>
--
website: http://www.machinekit.io blog: http://blog.machinekit.io github:
https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.