configure flag --enable-toolnml gives error during compilation
- automata
- Offline
- Senior Member
Less
More
- Posts: 77
- Thank you received: 55
04 Oct 2023 11:10 #282267
by automata
configure flag --enable-toolnml gives error during compilation was created by automata
I tried to compile latest master on debian bullseye with the configure flag --enable-toolnml and got this error.
The branch I am trying is:
git rev-parse --short HEAD
63e74e0711
The configure line I am using is:
./configure --with-realtime=uspace --enable-toolnml --enable-non-distributable
The exact error is:
c++ -std=gnu++17 -o ../bin/milltask objects/emc/motion/emcmotglb.o objects/emc/task/emctask.o objects/emc/task/emccanon.o objects/emc/task/emctaskmain.o objects/emc/motion/usrmotintf.o objects/emc/motion/emcmotutil.o objects/emc/task/taskintf.o objects/emc/motion/dbuf.o objects/emc/motion/stashf.o objects/emc/task/taskclass.o objects/emc/task/backtrace.o ../lib/librs274.so.0 ../lib/liblinuxcnc.a ../lib/libnml.so.0 ../lib/liblinuxcncini.so.0 ../lib/libposemath.so.0 ../lib/liblinuxcnchal.so.0 ../lib/libpyplugin.so.0 ../lib/libtooldata.so.0 -L/isodevice/lcnc/lib -Wl,-rpath,/isodevice/lcnc/lib -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -lboost_python39 -L/usr/lib -lpython3.9 -lcrypt -lpthread -ldl -lutil -lm -lm
/usr/bin/ld: objects/emc/task/taskclass.o: in function `Task::Task(EMC_IO_STAT&':
/isodevice/lcnc/src/emc/task/taskclass.cc:147: undefined reference to `tool_mmap_creator(EMC_TOOL_STAT const*, int)'
collect2: error: ld returned 1 exit status
make: *** [emc/task/Submakefile:36: ../bin/milltask] Error 1
This error is fairly new and I can see some changes were made to the files in question.
Is this functionality of --enable-toolnml going to be deprecated going further?
Regards
-automata
The branch I am trying is:
git rev-parse --short HEAD
63e74e0711
The configure line I am using is:
./configure --with-realtime=uspace --enable-toolnml --enable-non-distributable
The exact error is:
c++ -std=gnu++17 -o ../bin/milltask objects/emc/motion/emcmotglb.o objects/emc/task/emctask.o objects/emc/task/emccanon.o objects/emc/task/emctaskmain.o objects/emc/motion/usrmotintf.o objects/emc/motion/emcmotutil.o objects/emc/task/taskintf.o objects/emc/motion/dbuf.o objects/emc/motion/stashf.o objects/emc/task/taskclass.o objects/emc/task/backtrace.o ../lib/librs274.so.0 ../lib/liblinuxcnc.a ../lib/libnml.so.0 ../lib/liblinuxcncini.so.0 ../lib/libposemath.so.0 ../lib/liblinuxcnchal.so.0 ../lib/libpyplugin.so.0 ../lib/libtooldata.so.0 -L/isodevice/lcnc/lib -Wl,-rpath,/isodevice/lcnc/lib -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -lboost_python39 -L/usr/lib -lpython3.9 -lcrypt -lpthread -ldl -lutil -lm -lm
/usr/bin/ld: objects/emc/task/taskclass.o: in function `Task::Task(EMC_IO_STAT&':
/isodevice/lcnc/src/emc/task/taskclass.cc:147: undefined reference to `tool_mmap_creator(EMC_TOOL_STAT const*, int)'
collect2: error: ld returned 1 exit status
make: *** [emc/task/Submakefile:36: ../bin/milltask] Error 1
This error is fairly new and I can see some changes were made to the files in question.
Is this functionality of --enable-toolnml going to be deprecated going further?
Regards
-automata
Please Log in or Create an account to join the conversation.
- rodw
- Away
- Platinum Member
Less
More
- Posts: 10780
- Thank you received: 3551
04 Oct 2023 12:16 #282277
by rodw
Replied by rodw on topic configure flag --enable-toolnml gives error during compilation
When I list the options I get
I was never aware of --enable-toolnml existing
rod@penguin:~$ ./configure -help
configure: Set up debian/ files to build for a particular kernel
Usage:
configure [no-docs]
Extra options:
no-docs
Skip building documentation
I was never aware of --enable-toolnml existing
Please Log in or Create an account to join the conversation.
- rodw
- Away
- Platinum Member
Less
More
- Posts: 10780
- Thank you received: 3551
04 Oct 2023 12:18 #282278
by rodw
Replied by rodw on topic configure flag --enable-toolnml gives error during compilation
Ooops sorry I was building debs
Please Log in or Create an account to join the conversation.
- rodw
- Away
- Platinum Member
Less
More
- Posts: 10780
- Thank you received: 3551
04 Oct 2023 12:21 - 04 Oct 2023 12:22 #282280
by rodw
Replied by rodw on topic configure flag --enable-toolnml gives error during compilation
But its not listed in the docs for RIP
linuxcnc.org/docs/devel/html/code/buildi...ing_for_run_in_place
linuxcnc.org/docs/devel/html/code/buildi...ing_for_run_in_place
Last edit: 04 Oct 2023 12:22 by rodw.
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
Less
More
- Posts: 5706
- Thank you received: 2084
04 Oct 2023 22:33 #282323
by phillc54
Replied by phillc54 on topic configure flag --enable-toolnml gives error during compilation
Not many arguments are listed but it does show how to list them:But its not listed in the docs for RIP
linuxcnc.org/docs/devel/html/code/buildi...ing_for_run_in_place
Attachments:
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
- rodw
- Away
- Platinum Member
Less
More
- Posts: 10780
- Thank you received: 3551
05 Oct 2023 11:40 #282355
by rodw
Replied by rodw on topic configure flag --enable-toolnml gives error during compilation
Thanks,
I can confirm the same bug occurs with the latest master if --enable-toolnml is selected
installing libeditreadline-dev avoided the need for --enable-non-distributable
So I ended up with:
./configure --with-realtime=uspace
This compiled OK
git rev-parse --short HEAD
4b7fc4ab8c
To run axis, I had to install the following dependencies
python3-opengl
python3-cairo
python3-gi-cairo
It seems that dpkg-checkbuilddeps did not pick these up and they did not raise their head until I attempted to open an axis sim.
Maybe configure needs to be updated to report these missing dependencies as it took a while to track them down
I'll leave it to somebody who understands the build process better than I to report the issues
I can confirm the same bug occurs with the latest master if --enable-toolnml is selected
installing libeditreadline-dev avoided the need for --enable-non-distributable
So I ended up with:
./configure --with-realtime=uspace
This compiled OK
git rev-parse --short HEAD
4b7fc4ab8c
To run axis, I had to install the following dependencies
python3-opengl
python3-cairo
python3-gi-cairo
It seems that dpkg-checkbuilddeps did not pick these up and they did not raise their head until I attempted to open an axis sim.
Maybe configure needs to be updated to report these missing dependencies as it took a while to track them down
I'll leave it to somebody who understands the build process better than I to report the issues
Please Log in or Create an account to join the conversation.
- heeplr
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 1
10 Oct 2023 13:05 #282686
by heeplr
I encountered that aswell and submitted a fix and a test to prevent that in the future.
Indeed there seem to be plans to abandon it .
Replied by heeplr on topic configure flag --enable-toolnml gives error during compilation
I tried to compile latest master on debian bullseye with the configure flag --enable-toolnml and got this error.
I encountered that aswell and submitted a fix and a test to prevent that in the future.
Is this functionality of --enable-toolnml going to be deprecated going further?
Indeed there seem to be plans to abandon it .
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Time to create page: 0.084 seconds