Segmentation fault during shutdown
sirop opened this issue · 4 comments
Hello.
The essence of this discussion koppi/mk#4 is that the build command
for the user space case is incomplete as we see it in https://github.com/sittner/linuxcnc-ethercat/blob/master/src/user.mk .
Namely:
missing essential steps: objcopy - extraction of symbols in the .rtapi_export section, creation of a linker script fragment, final link
Do you have any simple remedy for this?
Tested with machinekit.
I guess the discussed problem affected the RT part, not the user space part.
I've tried to fix this by using Makefile.modinc to compile the RT component, which is definitely the nicer method :-):
https://github.com/sittner/linuxcnc-ethercat/tree/fix-build-script
Please let me know, if that woks for you.
Do you think this will affect the segfault?
This was too fast. I have to find a way to link the additional needed libraries.
OK, LDFLAGS did the job. Sorry for the interrupt...