Compiling binutils-2.9 with gcc-2.95.3 under Solaris-2.8

Laurent Castagnos Laurent.Castagnos@motorola.com
Mon Oct 29 03:23:00 GMT 2001


Hi everybody,
I'm trying to compile binutils-2.9 with gcc-2.95.3 under Solaris-2.8.

I get the following message :

In file included from
/tools/free/Solaris/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/include/sys/stream.h:5,
                 from /usr/include/netinet/in.h:41,
                 from /usr/include/sys/socket.h:200,
                 from remote.c:209:
/usr/include/sys/stream.h:327: redefinition of `struct bcache'

It seems there is a conflict between the stream.h from gcc and from
/usr/include.

Did anybody already faced the problem ? How was it solved ?

Thanks,

Laurent Castagnos



More information about the Gcc-help mailing list