Mhel wrote:
> 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?

Some time after you left IRC, Jeff Epler showed up (he know the most
about the file that failed).  He made a change and committed it to CVS.

You can find the log entry here:
http://cvs.linuxcnc.org/cgi-bin/cvsweb.cgi/emc2/src/rtapi/sim_rtapi_app.cc.diff?r1=1.12;r2=1.13

The relevant change is:

--- emc2/src/rtapi/sim_rtapi_app.cc     2008/08/03 01:29:44     1.12
+++ emc2/src/rtapi/sim_rtapi_app.cc     2008/08/03 01:36:38     1.13
@@ -28,6 +28,7 @@
 #include <vector>
 #include <string>
 #include <map>
+#include <algorithm>
 #include <sys/time.h>
 #include <time.h>

I suggest that you get a CVS checkout so you can have the latest code.
EMC is untested on Arch and I'm not sure if it has been compiled with
gcc 4.3.1 before, so this probably won't be the only fix that is needed.
 If you use a CVS checkout you'll be able to get the latest as various
fixes are made.

(Please report any other problems and fixes you run into, so we can add
them.)

Instructions for getting a CVS checkout are at
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?CVS

Regards,

John Kasunich

-------------------------------------------------------------------------
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