On Fri, 17 Aug 2001, Thomas Keller wrote:
Hi
I just tried to compile gpc on Sun Solaris 7 with gcc 2.95.3. I got the following error message:
In file included from gpc-common.c:29: gbe.h:152: conflicting types for `xmalloc' ../../include/libiberty.h:129: previous declaration of `xmalloc' In file included from gpc-common.c:35: util.h:196: conflicting types for `concat' ../../include/libiberty.h:48: previous declaration of `concat' make[2]: *** [gpc-common.o] Error 1 make[2]: Leaving directory `/usr/local/gcc-2.95.3/gcc/p' make[1]: *** [gpc1] Error 2 make[1]: Leaving directory `/usr/local/gcc-2.95.3/gcc' make: *** [all-gcc] Error 2
Can you give some hints how to overcome this problem?
Probably it is the same problem I got some time ago due to native Solaris grep. In my situation the attached patch I got from Frank did the good job. Try it. Regards, Adam Naumowicz
-------------------------------------- WWW: http://math.uwb.edu.pl/~adamn/ --------------------------------------