Hi Everybody,
My name is Kelvin and I've been a silent admirer of your efforts for some
time now.
I am new to posting on this forum but not to LinuxCNC. I have been playing
with it for some time both with realtime on an industrial 3x machine as
well as building simulations.
I have recently hit a snag that I have not been able to resolve so I have
decided to reach out to you guys who have more experience on this than me.
Hopefully someone can point me in the right direction.
My problem is when I try to build a recent developement with the realtime
(RT) kernel (realtime-2.6.32-122-rtai) on this industrial machine. The
configure script processes successfully but some components are missing. I
am doing a simple ./configure for RT. However I am not certain how to
correct these or if they are necessary and that is what could be part of
the issue. If any of you have any suggestions, please let me know.
Configure Error
1: Missing elements after configure :
checking for adeos... not found
checking for rtai_shm... not found
checking for rtai... not found
checking for rt_mem_mgr... not found
checking for rtai_libm... not found
checking for rtl... not found
checking for mbuff... not found
checking for rtl_time... not found
checking for rtl_sched... not found
checking for rtl_posixio... not found
checking for rtl_fifo... not found
checking for __sincos... no
I get a couple of errors when I try to make depending on what options I use
I believe ./configure by default configures "run-in-place". I suspect this
is where some of my trouble lies.
I am pretty sure I have configured for run-in-place before with RT and
there was no problem.
Make Errors
2: Error when compiling RTAPI_ULAPI.c
ERROR:
“ Compiling rtapi/rtai_ulapi.c
“ Creating shared library liblinuxcnchal.so.0
“ Linking halstreamer
“ ../lib/liblinuxcnchal.so.0: undefined reference to `_rt_shm_alloc'
“ ../lib/liblinuxcnchal.so.0: undefined reference to `rt_shm_free'
“ collect2: ld returned 1 exit status
“ make: *** [../bin/halstreamer] Erreur 1
- I am not sure how to solve this and I have found little relevant
information from searching the forums. What did seem to have an effect is
changing the compilation options from debug to release so from OPT := -O0
to OPT := -Os. I doubt that is the real solution though. Any suggestion?
3: Compiling RT kinematic objects as well as classicladder modules
(especially: /src/hal/classicladder/module_hal.c)
These sources are missing key headers such as stdio.h, assert.h, string.h,
stdlib.h, unistd.h. (dptrace.h also depends on some of these)
These headers cannot be found though they are in the source directory and
in the /usr/include directory as well. Again it seems to be a scope issue
as I mentioned before.
I have tired:
- adding the header paths to bashrc
- pointing explicitly to the missing headers (this creates other problems
of course)
- build-dep seems to be up to date (I already have several versions of
Linuxcnc as SIM and RT running on this machine)
If any of you have some ideas on any one of these 3 issues, I would very
much like to hear from you.
Thank you very much.
Kelvin
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users