This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Solaris 8 compilation failure


Hi all,

Trying to compile gcc-3.1 on Solaris 8 x86 with MU7 applied. Configure line 
is:

../gcc-3.1/configure --prefix=/usr/local/gcc --enable-shared --enable-threads 
--disable-nls --disable-multilib

and no matter what C compiler I use (tried gcc-3.0.4, gcc-2.95.3 and Sun CC) 
I'm getting:

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

Any help gratefully received.

thanks,


Rob


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]