Magic Mailing List |
|
From: Spaceborne Calin (spaceborne_calin AT yahoo DOT com) Date: Fri Sep 05 2003 - 13:30:20 EDT
--- 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
|
|