Computing.Net > Forums > Solaris > problems with gcc on Solaris 9

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

problems with gcc on Solaris 9

Reply to Message Icon

Name: e.birath
Date: February 9, 2004 at 09:46:30 Pacific
OS: Solaris 9
CPU/Ram: 333Mhz, 256MB, SPARC Ultr
Comment:

Hi there

GCC 3.2 was running fine on my Sun Ultra 10 box when I was using the OS Solaris 7. Then I upgraded my operating system to Solaris 9. Then when I tried to run gcc it told me there were missing libraries, such as "stdio.h".

So I uninstalled gcc, and reinstalled it (by downloading a package from the sunfreeware site, and using "pkgadd" to install it). Then I get these errors instead:

zebra:emma /home/emma 72> gcc offset_genpscan.c
In file included from offset_genpscan.c:11:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3/include/stdio.h:36:27: iso/stdio_iso.h: No such file or directory
In file included from offset_genpscan.c:11:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3/include/stdio.h:194: error: parse error before '*' token
/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3/include/stdio.h:229: error: parse error before '*' token
/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3/include/stdio.h:230: error: parse error before '*' token
/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3/include/stdio.h:236: error: parse error before '*' token
/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3/include/stdio.h:244: error: parse error before "size_t"
/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3/include/stdio.h:249: error: parse error before "size_t"
/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3/include/stdio.h:258: error: parse error before '*' token
/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3/include/stdio.h:260: error: parse error before '*' token
/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3/include/stdio.h:284: error: parse error before '*' token
/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3/include/stdio.h:293: error: parse error before '*' token
/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3/include/stdio.h:294: error: parse error before "FILE"
/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3/include/stdio.h:295: error: parse error before '*' token
offset_genpscan.c:12:20: stdlib.h: No such file or directory

Please, can someone help me get gcc running? I greatly appreciate any input.
Thanks,
Emma

Emma



Sponsored Link
Ads by Google

Response Number 1
Name: tcmartin
Date: February 18, 2004 at 17:48:53 Pacific
Reply:

The stdio_iso.h is located in /usr/includes/iso/stdio_iso.h when you perform a full install of Solaris 8 CD.

If you did a minimal install the file is not available. I am not sure what package that holds this file.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: problems with gcc on Solaris 9

Problem with gcc -pg www.computing.net/answers/solaris/problem-with-gcc-pg/3098.html

Autostart apache tomcat on Solaris 9 www.computing.net/answers/solaris/autostart-apache-tomcat-on-solaris-9/5112.html

Can't Access FTP on Solaris 9 www.computing.net/answers/solaris/cant-access-ftp-on-solaris-9/2431.html