egcs-1.1.2 objc build problem

Fergus Henderson fjh@cs.mu.OZ.AU
Fri Apr 30 23:15:00 GMT 1999


I downloaded the file egcs-1.1.2.tar.bz2, unpacked it,
and then ran configure, make, make install using the script below.
The `make' step failed in the `objc' directory, with an error
message about `va_list' being redefined.

Installation script:

    #!/bin/sh
    sh configure --prefix=/home/mercury/public/egcs-1.1.2/alpha-dec-osf3.2 &&
    make &&
    make install

Output:
...
/mount/munkora/clp/mercury/public/egcs-1.1.2/src/gcc/xgcc -B/mount/munkora/clp/mercury/public/egcs-1.1.2/src/gcc/  -DIN_GCC    -g -O2 -I./include  -I. -I. -I./config \
-c ./objc/archive.c -o objc/archive.o
/mount/munkora/clp/mercury/public/egcs-1.1.2/src/gcc/xgcc -B/mount/munkora/clp/mercury/public/egcs-1.1.2/src/gcc/  -DIN_GCC    -g -O2 -I./include  -I. -I. -I./config \
-c ./objc/encoding.c -o objc/encoding.o
In file included from include/stdarg.h:36,
                 from include/objc/objc-api.h:34,
                 from objc/encoding.h:33,
                 from ./objc/encoding.c:28:
include/va-alpha.h:36: redefinition of `va_list'
include/va_list.h:7: `va_list' previously declared here
make[1]: *** [objc/encoding.o] Error 1
make[1]: Leaving directory `/mount/munkora/clp/mercury/public/egcs-1.1.2/src/gcc'
make: *** [all-gcc] Error 2

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: < http://www.cs.mu.oz.au/~fjh >  |  of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3        |     -- the last words of T. S. Garp.



More information about the Gcc-bugs mailing list