halcompile shared lib

More
5 years 7 months ago #201705 by udoS
Replied by udoS on topic halcompile shared lib
Nop
Same err in the lcnc debug window:
llxplc.so: undefined symbol

Please Log in to join the conversation.

More
5 years 7 months ago #201715 by db1981
Replied by db1981 on topic halcompile shared lib
line 65 makes no sense vor me ? exist an api documentation for this?

Please Log in to join the conversation.

More
5 years 7 months ago #201719 by db1981
Replied by db1981 on topic halcompile shared lib
if this is an rip install.
please mod line 66 in linuxcnc/src/Makefile.inc.in
from
RTFLAGS := -Os -g -I. -I@RTDIR@/include $(RTFLAGS) -DRTAPI -D_GNU_SOURCE -Drealtime

to:

+RTFLAGS := -Wall -Os -g -I. -I@RTDIR@/include $(RTFLAGS) -DRTAPI -D_GNU_SOURCE -Drealtime

compile linuxcnc again.

compile or install the comp again and check for additional output from halcompile

Please Log in to join the conversation.

More
5 years 7 months ago #201720 by udoS
Replied by udoS on topic halcompile shared lib
yes... coming;

In the post I mention earlier some one states they compile the .c file not with halcompile --compile
It looks like they compile with gcc directly, But that is way over my head.

Please Log in to join the conversation.

More
5 years 7 months ago #201724 by db1981
Replied by db1981 on topic halcompile shared lib
did you copy the llsymbols.so file to your linuxcnc/rtlib folder ?

Please Log in to join the conversation.

More
5 years 7 months ago #201725 by udoS
Replied by udoS on topic halcompile shared lib
well ... it's not a rip

Please Log in to join the conversation.

More
5 years 7 months ago #201726 by udoS
Replied by udoS on topic halcompile shared lib
i do not have a linuxcnc/rtlib folder
all modules are in /usr/lib/linuxcnc/modules

Please Log in to join the conversation.

More
5 years 7 months ago #201733 by db1981
Replied by db1981 on topic halcompile shared lib
i believe there are different folder for rt and unserspace components.

rt maybe : /linuxcnc/components/

copy the LL so files to this folder. must be the same folder as your llxplc.so is copyed after halcompile --install

Please Log in to join the conversation.

More
5 years 7 months ago #201734 by udoS
Replied by udoS on topic halcompile shared lib
that I have done.
llxplc.so and the shared lib libLLSymbols.so are in the same folder: /usr/lib/linuxcnc/modules

Please Log in to join the conversation.

More
5 years 7 months ago #201738 by udoS
Replied by udoS on topic halcompile shared lib
here is the output from -Wall

attached

Please Log in to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum