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]

Build failure (first installation)


Hello!

I just started to follow th egcs development.
I downloaded to my Linux host egcs 1.1.1, egcs-19981220 and the diffs
to 19981226.
I installed all this into a brand new CVS tree.
I ran ./configure and make, got the error about the needed autoconf
2.12.1. I was not able to find such a beast (I cannot connect directly
to Cygnus through cvs). I read the FAQ and ran the touch commands.
Reran configure and make.

This went much farther, but failed in gcc/collects.o (transcript
below).
In demangle.h:26:
#define PARAMS(ARGS) PROTO(ARGS)
In gansidecl.h:33 (priorily included):
#define PROTO(ARGS) PARAMS(ARGS)

Did I do an error somewhere?
Do I really need autoconf 2.12.1 and where is it available from?

Thanks!
Best Regards!
Marc

-transcript---------------------
[...]
gcc  -DIN_GCC     -g -O2  -DHAVE_CONFIG_H    -I. -I. -I./config -I./../include  \
-DTARGET_MACHINE=\"i586-pc-linux-gnu\"  \
-c `echo ./collect2.c | sed 's,^\./,,'`
In file included from collect2.c:48:
demangle.h:25: warning: `PARAMS' redefined
../include/ansidecl.h:113: warning: this is the location of the previous definition
In file included from collect2.c:48:
demangle.h:77: parse error before `PARAMS'
demangle.h:80: parse error before `PARAMS'
demangle.h:83: parse error before `PARAMS'
demangle.h:88: parse error before `PARAMS'
demangle.h:91: parse error before `PARAMS'
demangle.h:94: parse error before `PARAMS'
demangle.h:97: parse error before `PARAMS'
demangle.h:100: parse error before `PARAMS'
demangle.h:103: parse error before `PARAMS'
demangle.h:106: parse error before `PARAMS'
collect2.c:58: parse error before `PROTO'
collect2.c:265: parse error before `PARAMS'
collect2.c:266: parse error before `PARAMS'
collect2.c:268: parse error before `PARAMS'
collect2.c:270: parse error before `PROTO'
collect2.c:271: parse error before `PROTO'
collect2.c:272: parse error before `PROTO'
collect2.c:273: parse error before `PROTO'
collect2.c:274: parse error before `PROTO'
collect2.c:275: parse error before `PROTO'
collect2.c:276: parse error before `PROTO'
collect2.c:277: parse error before `PROTO'
collect2.c:278: parse error before `PROTO'
collect2.c:279: parse error before `PROTO'
collect2.c:280: parse error before `PROTO'
collect2.c:281: parse error before `PROTO'
collect2.c:282: parse error before `PROTO'
collect2.c:283: parse error before `PROTO'
collect2.c:284: parse error before `PROTO'
collect2.c:291: parse error before `PROTO'
collect2.c:292: parse error before `PROTO'
collect2.c:293: parse error before `PROTO'
collect2.c: In function `dump_file':
collect2.c:627: warning: assignment makes pointer from integer without a cast
collect2.c: At top level:
collect2.c:903: warning: type mismatch with previous implicit declaration
collect2.c:898: warning: previous implicit declaration of `prefix_from_string'
collect2.c:903: warning: `prefix_from_string' was previously implicitly declared to return `int'
collect2.c:903: warning: `prefix_from_string' was declared implicitly `extern' and later `static'
collect2.c: In function `main':
collect2.c:1188: warning: assignment makes pointer from integer without a cast
collect2.c:1189: warning: assignment makes pointer from integer without a cast
collect2.c:1194: warning: assignment makes pointer from integer without a cast
collect2.c: At top level:
collect2.c:1731: warning: type mismatch with previous implicit declaration
collect2.c:1601: warning: previous implicit declaration of `fork_execute'
collect2.c:1731: warning: `fork_execute' was previously implicitly declared to return `int'
collect2.c:1731: warning: `fork_execute' was declared implicitly `extern' and later `static'
collect2.c:1742: warning: type mismatch with previous implicit declaration
collect2.c:1550: warning: previous implicit declaration of `maybe_unlink'
collect2.c:1742: warning: `maybe_unlink' was previously implicitly declared to return `int'
collect2.c:1742: warning: `maybe_unlink' was declared implicitly `extern' and later `static'
collect2.c:1810: warning: type mismatch with previous implicit declaration
collect2.c:1547: warning: previous implicit declaration of `sort_ids'
collect2.c:1810: warning: `sort_ids' was previously implicitly declared to return `int'
collect2.c:1810: warning: `sort_ids' was declared implicitly `extern' and later `static'
collect2.c:2129: warning: type mismatch with previous implicit declaration
collect2.c:1555: warning: previous implicit declaration of `write_c_file'
collect2.c:2129: warning: `write_c_file' was previously implicitly declared to return `int'
collect2.c:2129: warning: `write_c_file' was declared implicitly `extern' and later `static'
collect2.c:2176: warning: type mismatch with previous implicit declaration
collect2.c:1500: warning: previous implicit declaration of `scan_prog_file'
collect2.c:2176: warning: `scan_prog_file' was previously implicitly declared to return `int'
collect2.c:2176: warning: `scan_prog_file' was declared implicitly `extern' and later `static'
make[1]: *** [collect2.o] Error 1
make[1]: Leaving directory `/home/marc/egcs/gcc'
make: *** [all-gcc] Error 2


-- 
Marc Girod                Hiomo 5/1          Voice:  +358-9-511 23746
Nokia Telecommunications  P.O. Box 320       Mobile: +358-40-569 7954
NWS/NMS/NMS for Data      00045 NOKIA Group  Fax:    +358-9-511 23580
                          Finland            marc.girod@ntc.nokia.com


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