Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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 directoryPlease, can someone help me get gcc running? I greatly appreciate any input.
Thanks,
EmmaEmma

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.

![]() |
![]() |
![]() |

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