configure flag --enable-toolnml gives error during compilation

More
04 Oct 2023 11:10 #282267 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



 

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

  • rodw
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
04 Oct 2023 12:16 #282277 by rodw
When I list the options I get
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
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
04 Oct 2023 12:18 #282278 by rodw
Ooops sorry I was building debs :(

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

  • rodw
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
04 Oct 2023 12:21 - 04 Oct 2023 12:22 #282280 by rodw
Last edit: 04 Oct 2023 12:22 by rodw.

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

More
04 Oct 2023 22:33 #282323 by phillc54

But its not listed in the docs for RIP
linuxcnc.org/docs/devel/html/code/buildi...ing_for_run_in_place

Not many arguments are listed but it does show how to list them:
 
 
Attachments:
The following user(s) said Thank You: rodw

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

  • rodw
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
05 Oct 2023 11:40 #282355 by rodw
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
 

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

More
10 Oct 2023 13:05 #282686 by heeplr

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
Powered by Kunena Forum