Hello,

Hi developers thank you for your efforts on EMC2 and especially for the
extremely helpful wiki.  

Here is some background.  I'm using Debian Lenny and EMC2 to CNC a
Sherline 5400 using a Geckodrive G540 and some Rex brand steppers.
Working beautifully as of midnight january 15th.

Anyway, heres a compilation bug, and how I fixed it.

v...@mill:~/emc2/trunk$ cat VERSION
pre-2.3 CVS HEAD

mill:/home/vlm/emc2/local/src# gcc --version
gcc (Debian 4.3.2-1.1) 4.3.2

To avoid this type of error (there were others this is just one):

emc/rs274ngc/interp_queue.cc:331: error: ‘free’ was not declared in this scope
make: *** [objects/emc/rs274ngc/interp_queue.o] Error 1

In file emc/rs274ngc/interp_queue.hh
add the following two lines somewhere near the other includes.

#include <cstring>
#include <cstdlib>

See this webpage for further details

http://gcc.gnu.org/gcc-4.3/porting_to.html

I can be reached at v...@debian.org regarding Debian related issues or my
personal email at vi...@mulhollon.com for any other topics of discussion.

Maybe I could get CVS access, or someone else could apply this minor 
change for me?

Thanks!

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to