[SunHELP] Installation of gcc on Solaris 2.6
gonufer
sunhelp at sunhelp.org
Mon Aug 27 13:07:49 CDT 2001
Damian Walker wrote:
> binutils-2.11.2-sol26-sparc-local
It is not recommended to use binutils on platforms that have
their own native binutils.
> In file included from hello.c:1:
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0/include/stdio.h:85: parse
> error before "fpos_t"
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0/include/stdio.h:295: parse
> error before "fpos_t"
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0/include/stdio.h:297: parse
> error before '*' token
Don't know, that's a strange one. Missing include files would tend
to produce file-not-found errors, these look like "fixed includes"
which are no longer necessary with current versions of gcc. You might
want to look at that copy of stdio.h and see what's in it.
> I tried a temporary kludge fix for this by redefining the type as
> 'long', and then recompilation got me the following response:
>
> ---8<---
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0/../../../../sparc-sun-solaris2.6/bin/ld: cannot
> open values-Xa.o: No such file or directory
> collect2: ld returned 1 exit status
You don't have some of the "Developer" packages installed.
http://gcc.gnu.org/fom_serv/cache/134.html
http://www.sunfreeware.com/faq.html#q5
-greg
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
More information about the SunHELP
mailing list