gcc-3.2 compile problems

Martin MOKREJŠ mmokrejs@natur.cuni.cz
Mon Sep 16 14:56:00 GMT 2002


Hi,
  I'm trying to get gcc-3.2 and even latest snapshot
(cvs -d :pserver:anoncvs@subversions.gnu.org:/cvsroot/gcc -z 9 co gcc)
compiled, but I get on Solaris 2.6 with gcc-3.2 from sunfreeware.com:

[...]
if [ x"" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -I/software/@sys/usr/include -I/software/@sys/usr/include/ncurses -I/software/@sys/usr/local/include -I/usr/local/BerkeleyDB.4.0/include -I. -I../../libiberty/../include  -W -Wall -Wtraditional -pedantic  ../../libiberty/concat.c -o pic/concat.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I/software/@sys/usr/include -I/software/@sys/usr/include/ncurses -I/software/@sys/usr/local/include -I/usr/local/BerkeleyDB.4.0/include -I. -I../../libiberty/../include  -W -Wall -Wtraditional -pedantic ../../libiberty/concat.c -o concat.o
../../libiberty/concat.c: In function `concat_length':
../../libiberty/concat.c:115: warning: implicit declaration of function `VA_OPEN'
../../libiberty/concat.c:115: `args' undeclared (first use in this function)
../../libiberty/concat.c:115: (Each undeclared identifier is reported only once
../../libiberty/concat.c:115: for each function it appears in.)
../../libiberty/concat.c:116: warning: implicit declaration of function `VA_FIXEDARG'
../../libiberty/concat.c:116: parse error before "const"
../../libiberty/concat.c:118: warning: implicit declaration of function `VA_CLOSE'
../../libiberty/concat.c: In function `concat_copy':
../../libiberty/concat.c:130: warning: function `VA_OPEN' was previously declared within a block
../../libiberty/concat.c:130: `args' undeclared (first use in this function)
../../libiberty/concat.c:131: warning: function `VA_FIXEDARG' was previously declared within a block
../../libiberty/concat.c:131: parse error before "char"
../../libiberty/concat.c:132: parse error before "const"
../../libiberty/concat.c:135: warning: function `VA_CLOSE' was previously declared within a block
../../libiberty/concat.c: In function `concat_copy2':
../../libiberty/concat.c:147: warning: function `VA_OPEN' was previously declared within a block
../../libiberty/concat.c:147: `args' undeclared (first use in this function)
../../libiberty/concat.c:148: warning: function `VA_FIXEDARG' was previously declared within a block
../../libiberty/concat.c:148: parse error before "const"
../../libiberty/concat.c:150: warning: function `VA_CLOSE' was previously declared within a block
../../libiberty/concat.c: In function `concat':
../../libiberty/concat.c:161: warning: function `VA_OPEN' was previously declared within a block
../../libiberty/concat.c:161: `args' undeclared (first use in this function)
../../libiberty/concat.c:162: warning: function `VA_FIXEDARG' was previously declared within a block
../../libiberty/concat.c:162: parse error before "const"
../../libiberty/concat.c:164: warning: function `VA_CLOSE' was previously declared within a block
../../libiberty/concat.c:168: parse error before "const"
../../libiberty/concat.c: In function `reconcat':
../../libiberty/concat.c:198: warning: function `VA_OPEN' was previously declared within a block
../../libiberty/concat.c:198: `args' undeclared (first use in this function)
../../libiberty/concat.c:199: warning: function `VA_FIXEDARG' was previously declared within a block
../../libiberty/concat.c:199: parse error before "char"
../../libiberty/concat.c:200: parse error before "const"
../../libiberty/concat.c:202: warning: function `VA_CLOSE' was previously declared within a block
../../libiberty/concat.c:206: parse error before "char"
../../libiberty/concat.c:207: parse error before "const"
make[1]: *** [concat.o] Error 1
make[1]: Leaving directory `/scratch/gcc/objdir/libiberty'
[...]

Any ideas what to do? Thanks!
-- 
Martin Mokrejs <mmokrejs@natur.cuni.cz>, <m.mokrejs@gsf.de>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics <http://mips.gsf.de>
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585






More information about the Gcc-bugs mailing list