gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcl-devel] Build failure with --enable-ansi


From: Camm Maguire
Subject: Re: [Gcl-devel] Build failure with --enable-ansi
Date: 11 Aug 2002 11:33:45 -0400

Greetings!

OK, for some reason the NEED_CONST test in configure failed.  If you
have an old binutils installed (like on some redhat boxes), CONST
needs to be defined.  configure was supposed to detect this and do so
if necessary.  Please post the configure output, and the config.log.
In any case, you can simply change the /* #undef NEED_CONST */ to
#define NEED_CONST 1 in h/gclincl.h and proceed.

"Paul F. Dietz" <address@hidden> writes:

> 'make' ends with the following:
> 
> (cd o; make all)
> make[1]: Entering directory `/home/dietz/gcl/gcl/o'
> gcc -c -Wall -DVOL=volatile -I/home/dietz/gcl/gcl/o -fsigned-char 
> -fwritable-strings -pipe -O6
> -fomit-frame-pointer -I../h -I../gcl-tk main.c
> In file included from ../h/gclincl.h:100,
>                  from ../h/include.h:36,
>                  from main.c:40:
> /usr/include/bfd.h:343: parse error before `CONST'
> /usr/include/bfd.h:343: warning: no semicolon at end of struct or union
> /usr/include/bfd.h:347: syntax error before `char'
> /usr/include/bfd.h:348: parse error before `}'
> /usr/include/bfd.h:348: warning: data definition has no type or storage class
> /usr/include/bfd.h:785: parse error before `char'
> /usr/include/bfd.h:788: parse error before `char'
> /usr/include/bfd.h:794: parse error before `char'
> /usr/include/bfd.h:803: parse error before `char'
> /usr/include/bfd.h:2736: parse error before `CONST'
> /usr/include/bfd.h:2736: warning: no semicolon at end of struct or union
> /usr/include/bfd.h:2841: parse error before `}'
> /usr/include/bfd.h:2841: warning: data definition has no type or storage class
> /usr/include/bfd.h:2845: parse error before `asymbol'
> /usr/include/bfd.h:2856: parse error before `asymbol'
> /usr/include/bfd.h:2859: parse error before `asymbol'
> /usr/include/bfd.h:2866: parse error before `*'
> /usr/include/bfd.h:2872: parse error before `*'
> /usr/include/bfd.h:2875: parse error before `asymbol'
> /usr/include/bfd.h:2883: parse error before `CONST'
> /usr/include/bfd.h:2883: warning: no semicolon at end of struct or union
> /usr/include/bfd.h:3035: parse error before `}'
> /usr/include/bfd.h:3066: syntax error before `char'
> /usr/include/bfd.h:3070: parse error before `char'
> /usr/include/bfd.h:3087: parse error before `asymbol'
> /usr/include/bfd.h:3122: parse error before `char'
> /usr/include/bfd.h:3202: parse error before `asymbol'
> /usr/include/bfd.h:3215: syntax error before `char'
> /usr/include/bfd.h:3344: parse error before `asymbol'
> /usr/include/bfd.h:3377: parse error before `CONST'
> /usr/include/bfd.h:3412: parse error before `symbol_info'
> /usr/include/bfd.h:3419: parse error before `CONST'
> /usr/include/bfd.h:3426: warning: no semicolon at end of struct or union
> /usr/include/bfd.h:3436: parse error before `*'
> /usr/include/bfd.h:3436: parse error before `asymbol'
> /usr/include/bfd.h:3436: warning: data definition has no type or storage class
> /usr/include/bfd.h:3519: parse error before `}'
> /usr/include/bfd.h:3519: warning: data definition has no type or storage class
> /usr/include/bfd.h:3523: parse error before `*'
> /usr/include/bfd.h:3524: parse error before `char'
> /usr/include/bfd.h:3524: warning: data definition has no type or storage class
> /usr/include/bfd.h:3529: parse error before `*'
> /usr/include/bfd.h:3530: parse error before `*'
> /usr/include/bfd.h:3530: warning: data definition has no type or storage class
> /usr/include/bfd.h:3541: syntax error before `char'
> In file included from ../h/gclincl.h:101,
>                  from ../h/include.h:36,
>                  from main.c:40:
> /usr/include/bfdlink.h:140: warning: no semicolon at end of struct or union
> /usr/include/bfdlink.h:140: parse error before `*'
> /usr/include/bfdlink.h:146: parse error before `}'
> In file included from ../h/include.h:78,
>                  from main.c:40:
> ../h/protoize.h:399: `format' redeclared as different kind of symbol
> /usr/include/bfd.h:2937: previous declaration of `format'
> make[1]: *** [main.o] Error 1
> make[1]: Leaving directory `/home/dietz/gcl/gcl/o'
> make: *** [unixport/saved_gcl] Error 2
> 
> -------
> 
>       Paul
> 
> 
> _______________________________________________
> Gcl-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gcl-devel
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

[Prev in Thread] Current Thread [Next in Thread]