Magic Mailing List |
|
From: aojha (aojha AT du DOT edu) Date: Fri Sep 05 2003 - 17:39:11 EDT
Thanks Calin. yes, I was in fact using the latest gcc-3.3, and after compiling with the older gcc-2.95 I could install and magic. No problems so far. Regards. --Anand >===== Original Message From Spaceborne Calin <spaceborne_calin AT yahoo DOT com> ===== > --- aojha <aojha AT du DOT edu> a écrit : > We are getting the following >errors (at different places) when we do >> make tcl >> on our Solaris 8/Sparc: >> >> #error >> "GCC no longer implements <varargs.h>." >> >/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3/include/varargs.h:5:2: >> #error >> "Revise your code to use <stdarg.h>." >> Any recommendations? Thanks. >> > >To make it compile you have 3 options: >1. use an older gcc (version 2.95.3 is fine) >2. replace every occurence of varargs.h in the source files with >stdarg.h >3. if you have root edit >usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3/include/varargs.h and >replace the line with #error >with #include <stdarg.h> (not recommended) > >I choosed the first option but you may choose whatever you want :-) > >> Anand Ojha >> > >Calin > > >___________________________________________________________ >Do You Yahoo!? -- Une adresse AT yahoo DOT fr gratuite et en français ! >Yahoo! Mail : http://fr.mail.yahoo.com
|
|