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 problems, cont.d


I finally figured out (and vaguely remembered) that I needed Autogen
version 5.  So I went to the sourceware site and checked the infrastructure
directory.  It indeed had an autogen tar file, but it was version 4.

I checked the gcc.gnu.org web site and didn't see any reference to
autogen version 5.  I finally did a net search and found it.  When I
downloaded it, I found that it, in turn, needed guile, but had no
documentation (in an obvious place, at least) on where to get it.
Another net search turned it up and I downloaded it.

Guile built clean, but autogen didn't.  I fixed an easy-to-fix problem
and now got this:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I/usr/local/include   -I../autoopts -I
../autoopts     -I../snprintfv -I../snprintfv   -I.. -I..    -g -O2 -c opts.c
opts.c:474: `optionNumericVal' undeclared here (not in a function)
opts.c:474: initializer element is not constant
opts.c:474: (near initialization for `optDesc[12].pOptProc')
opts.c:477: initializer element is not constant
opts.c:477: (near initialization for `optDesc[12]')
opts.c:488: `optionNumericVal' undeclared here (not in a function)
opts.c:488: initializer element is not constant
opts.c:488: (near initialization for `optDesc[13].pOptProc')
opts.c:491: initializer element is not constant
opts.c:491: (near initialization for `optDesc[13]')
opts.c:498: `OPTST_ENUMERATION' undeclared here (not in a function)
opts.c:498: confused by earlier errors, bailing out

I've tried a few guesses as to what's wrong, but couldn't get it
right.  I'll keep trying, but this is *way* too hard and very poorly
documented.


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