This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc 3.2.3 not compiling


Hello,

I have installed gcc 3.2.3 (downloaded from sunfreeware.com) on a Solaris 8 
SPARC machine at my workplace. However, I'm having a problem getting it to 
compile. I get the following error messages when I compiled a C file:

/opt/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/include/stdio.h:36:27: 
iso/stdio_iso.h: No such file or directory
In file included from hello.c:1:
/opt/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/include/stdio.h:194: syntax 
error before '*' token
/opt/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/include/stdio.h:229: syntax 
error before '*' token
/opt/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/include/stdio.h:230: syntax 
error before '*' token
/opt/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/include/stdio.h:236: syntax 
error before "size_t"
/opt/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/include/stdio.h:241: syntax 
error before "size_t"
/opt/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/include/stdio.h:250: syntax 
error before '*' token
/opt/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/include/stdio.h:252: syntax 
error before '*' token
/opt/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/include/stdio.h:276: syntax 
error before '*' token
/opt/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/include/stdio.h:285: syntax 
error before '*' token
/opt/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/include/stdio.h:286: syntax 
error before "FILE"
/opt/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/include/stdio.h:287: syntax 
error before '*' token

I would really appreciate help on fixing this problem :)

Thanks in advance,
Sylv
___________________________________________________
Alphalink WebMail - http://webmail.alphalink.com.au


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]