Marco Walther writes:
Rule for gcc users: You must not use -I/usr/include on your command
line! This defeats the fixinclude stuff the gcc is doing and it may be
fatal for files like varargs.h and stdargs.h!
gcc uses by default /usr/include as the last on its list of include
directories and that's where it belongs!
I've seen all the other posts and they are valid too but they will
probably not solve this particular compile time error.
So get a newer version of the gcc and configure your build without
-I/usr/include on the compile comand line and everything shoudl work
Thanks folks, I did both of them. I logged on to a mchine with solaris 2.5
and did not specify /usr/include as the site includes and it compiled
without any problem.