From mboxrd@z Thu Jan 1 00:00:00 1970 From: AJ To: egcs@cygnus.com Cc: gcc-help@gcc.gnu.org Subject: Re: Help Needed! Date: Thu, 27 Jul 2000 23:14:00 -0000 Message-id: References: X-SW-Source: 2000-07/msg00195.html Hi, I tried to configure and build without the --enable-checking option.And it still gives me the same error: In file included from ../../../../gcc-2.95.1/gcc/java/gjavah.c:29: /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' /usr/usc/gnu/gcc/2.8.1/lib/gcc-lib/mips-sgi-irix6.2/2.8.1/include/math.h:682: conflicting types for `initstate' /usr/include/stdlib.h:226: previous declaration of `initstate' /usr/usc/gnu/gcc/2.8.1/lib/gcc-lib/mips-sgi-irix6.2/2.8.1/include/math.h:683: conflicting types for `setstate' /usr/include/stdlib.h:233: previous declaration of `setstate' gmake[2]: *** [gjavah.o] Error 1 gmake[2]: Leaving directory `/auto/rcf-27/test/gcc/gcc/gcc/java' gmake[1]: *** [gcjh] Error 2 gmake[1]: Leaving directory `/auto/rcf-27/test/gcc/gcc/gcc' gmake: *** [all-gcc] Error 2 Could someone please tell me how to avoid this error.Also I am building using the command: gmake languages=c Thanks, AJ On 28 Jul 2000, Alexandre Oliva wrote: > On Jul 28, 2000, AJ wrote: > > >> ../gcc/gcc-2.95.2/configure > > --with-gcc-version-trigger=/home/rcf/test/gcc/gcc-2.95.2/gcc/version.c > > --enable-checking --prefix=. > > Are you sure you really need --enable-checking? It may be detecting > some obscure bug in GCC 2.95.2 that wouldn't affect you in real life, > but that prevents building. > > Also, --prefix=. is wrong. You really want a full pathname here. > > > Do i need to have a copy of the assembler and linker in the build > > directory? > > No, but, in case you want to use those tools from GNU binutils, you > may follow the procedure in the FAQ to make sure GCC uses them. > > > Also do i need to specify with-local-prefix??? > > Nope. > > -- > 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 > >