halcompile shared lib

More
10 Mar 2021 20:41 #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 or Create an account to join the conversation.

More
10 Mar 2021 21:06 #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 or Create an account to join the conversation.

More
10 Mar 2021 21:19 #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 or Create an account to join the conversation.

More
10 Mar 2021 21:19 #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.
Attachments:

Please Log in or Create an account to join the conversation.

More
10 Mar 2021 21:28 #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 or Create an account to join the conversation.

More
10 Mar 2021 21:34 #201725 by udoS
Replied by udoS on topic halcompile shared lib
well ... it's not a rip

Please Log in or Create an account to join the conversation.

More
10 Mar 2021 21:38 #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 or Create an account to join the conversation.

More
10 Mar 2021 22:17 #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 or Create an account to join the conversation.

More
10 Mar 2021 22:22 #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 or Create an account to join the conversation.

More
10 Mar 2021 22:35 #201738 by udoS
Replied by udoS on topic halcompile shared lib
here is the output from -Wall

attached
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.118 seconds
Powered by Kunena Forum