Hello lists,
I'm a hobbyist & sort of a noobie to Linux, but learning something new
everyday.
I'm trying to compile the latest release of emc2 with gcc 4.3.1 on an
ARCHLinux distro.
I intend to compile emc2 on xenomai patched kernel that I already compiled,
but before getting into more troubles, I want to try the simulator first,
but I'm getting errors. What am I missing?

Compiling rtapi/sim_rtapi_app.cc
rtapi/sim_rtapi_app.cc: In function 'int do_one_item(char, const
std::string&, const std::string&, void*, int)':
rtapi/sim_rtapi_app.cc:75: error: 'strtol' was not declared in this scope
rtapi/sim_rtapi_app.cc:86: error: 'strtol' was not declared in this scope
rtapi/sim_rtapi_app.cc: In function 'void remove_quotes(std::string&)':
rtapi/sim_rtapi_app.cc:110: error: 'remove_copy' was not declared in this
scope
rtapi/sim_rtapi_app.cc: In function 'int main(int, char**)':
rtapi/sim_rtapi_app.cc:340: error: 'exit' was not declared in this scope
rtapi/sim_rtapi_app.cc:349: error: 'exit' was not declared in this scope
rtapi/sim_rtapi_app.cc:360: error: 'srand48' was not declared in this scope
rtapi/sim_rtapi_app.cc:361: error: 'lrand48' was not declared in this scope
rtapi/sim_rtapi_app.cc:370: error: 'exit' was not declared in this scope
rtapi/sim_rtapi_app.cc:373: error: 'exit' was not declared in this scope
make: *** [objects/rtapi/sim_rtapi_app.o] Error 1


Below is the result when I run ./configure --enable-simulator, I trimmed the
actual result, to make it a little concise. I only included the parts that I
think is more relevant since the other results have "yes" on them.
---
sim
checking for module installation directory... checking for realtime module
directory... /usr/local/lib/emc2/modules
checking for GTK 2.4.0 or above... yes - 2.12.11
checking for libgnomeprintui-2.2... no -- printing from classicladder will
not be possible
checking for mandb... no
checking for python... /usr/bin/python
....
checking for ANSI C header files... no
....
checking for __sincos... no
checking for tcl... /usr/lib/tclConfig.sh found
checking for tk... /usr/lib/tkConfig.sh found
checking for BWidget using /usr/bin/tclsh8.5... found
checking for X... libraries , headers in standard search path
....
Trying readline with -ltermcap
checking for readline in -lreadline... no
Readline does not require -ltermcap
....
checking for --tcl support in msgfmt... yes
checking for Python support... yes
checking python version... OK


tia.
-- 
Mhel
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to