This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Help Needed!
On Jul 28, 2000, AJ <jadeja@cyberspace.org> wrote:
> /usr/usc/gnu/gcc/2.8.1/lib/gcc-lib/mips-sgi-irix6.2/2.8.1/include/math.h:681:
> conflicting types for `srandom'
> /usr/include/stdlib.h:234: previous declaration of `srandom'
You said you were trying to build GCC on IRIX 6.5, but you're using
GCC 2.8.1 built on IRIX 6.2. This isn't supposed to work. That's why
you're getting header conflicts. You'll need some GCC version
pre-compiled for IRIX 6.5, some other C compiler, or you'll have to
run fixincludes on the IRIX 6.5 headers and hope for the best.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me