emc2 Starting Error
- adelabarra
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 0
07 Jun 2013 06:46 #35378
by adelabarra
emc2 Starting Error was created by adelabarra
Dears Linuxcnc
I've just installed Slackware 2.6.10 with RTAI 3.3 and kernel patch 2.6.10-r12.
After an infinite number of trials I succeeded on make the realtime tests work.
I installed also the X11 environment with a lot of problems with the mouse, the video card, the recorder and so on, that are solved now!!!
I've also suceeded on compiling the emc2 without errors and have learned that the order of "insmoding" the modules is very important, because if there are no defined symbols the initialization will abort.
On that net of troubles I found the folowing:
There is an undefined symbol "ceil" that appears on the start of emc.
If I invert the options and the target in the "make" sentence I should solve the problem.
But I can't insert that in an infinite and recursive configure file!!!
The question is: Are there any recommended parameters I should give in the ./configure (--xxxxx_xxxx_xxx) to avoid this?
Or maybe I should insert a module before...
Yours:
Eng. Alejandro L. de la Barra.
I've just installed Slackware 2.6.10 with RTAI 3.3 and kernel patch 2.6.10-r12.
After an infinite number of trials I succeeded on make the realtime tests work.
I installed also the X11 environment with a lot of problems with the mouse, the video card, the recorder and so on, that are solved now!!!
I've also suceeded on compiling the emc2 without errors and have learned that the order of "insmoding" the modules is very important, because if there are no defined symbols the initialization will abort.
On that net of troubles I found the folowing:
There is an undefined symbol "ceil" that appears on the start of emc.
If I invert the options and the target in the "make" sentence I should solve the problem.
But I can't insert that in an infinite and recursive configure file!!!
The question is: Are there any recommended parameters I should give in the ./configure (--xxxxx_xxxx_xxx) to avoid this?
Or maybe I should insert a module before...
Yours:
Eng. Alejandro L. de la Barra.
Please Log in or Create an account to join the conversation.
07 Jun 2013 14:08 #35388
by ArcEye
Replied by ArcEye on topic emc2 Starting Error
Hi
I am not really sure what you are describing, but a couple of pointers if they help.
ceil() and floor() are C++ functions which round up and down respectively whatever value is passed to them.
There are many over-riden types and if you do not have for instance C99++98 maths support and the code is using ceil() on float values instead of ceilf() it will have problems
Regards changing the Makefile, not sure exactly what you mean by
regards
I am not really sure what you are describing, but a couple of pointers if they help.
ceil() and floor() are C++ functions which round up and down respectively whatever value is passed to them.
There are many over-riden types and if you do not have for instance C99++98 maths support and the code is using ceil() on float values instead of ceilf() it will have problems
Regards changing the Makefile, not sure exactly what you mean by
but look at Makefile.in and see what can be changed there, rather than configure.If I invert the options and the target in the "make" sentence
regards
Please Log in or Create an account to join the conversation.
- adelabarra
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 0
07 Jun 2013 20:04 #35402
by adelabarra
Replied by adelabarra on topic emc2 Starting Error
Thanks for your answer!!
This is a very specific topic and I had nobody to ask. Even a little clue is important.
I didn't want to bother with details, but this is what I found in the WEB:
"Compile it with:
$ gcc -lm -o ceil ceil.c this shouldn't work
$ gcc -o ceil ceil.c -lm this works because I tried it on my machine.
stackoverflow.com/questions/8266183/link...efine-ceil-on-ubuntu
This is the link if you want to dive in the deep!!
OK. I'll try again to modify the Makefile.in
Last time I tried, the "make" detected it, "repaired it", and also made a new "vmLinuz".
I was frightened!!
This is a very specific topic and I had nobody to ask. Even a little clue is important.
Hi
I am not really sure what you are describing, but a couple of pointers if they help.
ceil() and floor() are C++ functions which round up and down respectively whatever value is passed to them.
There are many over-riden types and if you do not have for instance C99++98 maths support and the code is using ceil() on float values instead of ceilf() it will have problems
Regards changing the Makefile, not sure exactly what you mean bybut look at Makefile.in and see what can be changed there, rather than configure.If I invert the options and the target in the "make" sentence
regards
I didn't want to bother with details, but this is what I found in the WEB:
"Compile it with:
$ gcc -lm -o ceil ceil.c this shouldn't work
$ gcc -o ceil ceil.c -lm this works because I tried it on my machine.
stackoverflow.com/questions/8266183/link...efine-ceil-on-ubuntu
This is the link if you want to dive in the deep!!
OK. I'll try again to modify the Makefile.in
Last time I tried, the "make" detected it, "repaired it", and also made a new "vmLinuz".
I was frightened!!
Please Log in or Create an account to join the conversation.
07 Jun 2013 20:29 #35405
by ArcEye
Replied by ArcEye on topic emc2 Starting Error
It certainly does seem to be linkage in the maths library that would cause the problem
I came across this which gives one solution at makefile level
stackoverflow.com/questions/13326723/lm-...ary-in-makefile?rq=1
regards
I came across this which gives one solution at makefile level
stackoverflow.com/questions/13326723/lm-...ary-in-makefile?rq=1
regards
Please Log in or Create an account to join the conversation.
Time to create page: 0.069 seconds