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: Paul F. Dietz
Subject: Re: [Gcl-devel] Build failure with --enable-ansi
Date: Sun, 11 Aug 2002 11:15:11 -0500

Camm Maguire wrote:
> 
> 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.

It looks like configure is indeed having a problem.
Here are the files.  The binutils rpm is binutils-2.10.91.0.2-3.

------------------------------------------------------

Output of ./configure --enable-ansi --prefix=/home-dietz:


creating cache ./config.cache
checking host system type... i586-pc-linux-gnu
host=i586-pc-linux-gnu
enable_machine=
use=386-linux
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking system version (for dynamic loading)... checking for gawk... gawk
checking for makeinfo... makeinfo
Linux-2.4.16
checking use_gmp=yes, doing configure in gmp directory... 
#
#
# -------------------
# Subconfigure of GMP
#
#
checking build system type... pentium-pc-linux-gnu
checking host system type... pentium-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking compiler gcc -g -O2 -fomit-frame-pointer ... yes
checking compiler gcc -g -O2 -fomit-frame-pointer  -mcpu=pentium... yes
checking compiler gcc -g -O2 -fomit-frame-pointer -mcpu=pentium  
-march=pentium... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... 
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
using ABI="standard"
      CC="gcc"
      CFLAGS="-g -O2 -fomit-frame-pointer -mcpu=pentium -march=pentium"
      CPPFLAGS=""
checking for gcc option to accept ANSI C... none needed
checking for function prototypes... yes
checking for ANSI C header files... yes
checking for string.h... yes
checking for ar... ar
checking for BSD-compatible nm... /usr/bin/nm -B
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking whether ln -s works... yes
checking how to recognise dependant libraries... file_magic ELF [0-9][0-9]*-bit 
[LM]SB (shared
object|dynamic lib )
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 49153
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ranlib... ranlib
checking for strip... strip
checking for file... /usr/bin/file
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for locale.h... yes
checking for sys/mman.h... yes
checking for sys/param.h... yes
checking for sys/processor.h... no
checking for sys/resource.h... yes
checking for sys/sysctl.h... yes
checking for sys/systemcfg.h... no
checking for sys/time.h... yes
checking for sys/times.h... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... (cached) yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether fgetc is declared... yes
checking whether fscanf is declared... yes
checking whether optarg is declared... yes
checking whether ungetc is declared... yes
checking whether vfprintf is declared... yes
checking return type of signal handlers... void
checking for intmax_t... yes
checking for long double... yes
checking for long long... yes
checking for ptrdiff_t... yes
checking for quad_t... yes
checking for preprocessor stringizing operator... yes
checking whether <stdarg.h> exists and works... yes
checking whether gcc __attribute__ ((const)) works... yes
checking whether gcc __attribute__ ((malloc)) works... yes
checking whether gcc __attribute__ ((mode (XX))) works... yes
checking whether gcc __attribute__ ((noreturn)) works... yes
checking for inline... inline
checking for main in -lm... yes
checking for working alloca.h... yes
checking for alloca (via gmp-impl.h)... yes
checking how to allocate temporary memory... alloca
checking for alarm... yes
checking for getpagesize... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for localeconv... yes
checking for memset... yes
checking for mmap... yes
checking for mprotect... yes
checking for obstack_vprintf... yes
checking for popen... yes
checking for processor_info... no
checking for read_real_time... no
checking for strchr... yes
checking for strnlen... yes
checking for strtoul... yes
checking for sysconf... yes
checking for sysctl... yes
checking for sysctlbyname... no
checking for times... yes
checking for vsnprintf... yes
checking whether vsnprintf works... yes
checking whether sscanf needs writable input... no
checking for suitable m4... m4
checking if m4wrap produces spurious output... no
checking how to switch to text section... .text
checking how to switch to data section... .data
checking what assembly label suffix to use... :
checking how to export a symbol... .globl
checking if globals are prefixed by underscore... no
checking how to switch to read-only data section...             .section        
.rodata
checking if the export directive needs an attribute... 
checking for assembler .type directive... .type $1,@$2
checking for assembler .size directive... .size $1,$2
checking what prefix to use for a local label... .L
checking how to define a 32-bit word... .long
checking if .align assembly directive is logarithmic... no
checking if the .align directive accepts an 0x90 fill in .text... yes
checking if the assembler takes cl with shldl... yes
creating config.m4
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mpbsd/Makefile
config.status: creating mpf/Makefile
config.status: creating mpn/Makefile
config.status: creating mpq/Makefile
config.status: creating mpz/Makefile
config.status: creating printf/Makefile
config.status: creating scanf/Makefile
config.status: creating cxx/Makefile
config.status: creating tests/Makefile
config.status: creating tests/devel/Makefile
config.status: creating tests/mpbsd/Makefile
config.status: creating tests/mpf/Makefile
config.status: creating tests/mpn/Makefile
config.status: creating tests/mpq/Makefile
config.status: creating tests/mpz/Makefile
config.status: creating tests/rand/Makefile
config.status: creating tests/misc/Makefile
config.status: creating tests/cxx/Makefile
config.status: creating tune/Makefile
config.status: creating demos/Makefile
config.status: creating demos/calc/Makefile
config.status: creating demos/expr/Makefile
config.status: creating gmp.h
config.status: creating mp.h
config.status: creating demos/expr/expr-impl.h
config.status: creating config.h
config.status: linking ./mpn/x86/udiv.asm to mpn/udiv.asm
config.status: linking ./mpn/x86/umul.asm to mpn/umul.asm
config.status: linking ./mpn/generic/add.c to mpn/add.c
config.status: linking ./mpn/generic/add_1.c to mpn/add_1.c
config.status: linking ./mpn/x86/pentium/aors_n.asm to mpn/add_n.asm
config.status: linking ./mpn/generic/sub.c to mpn/sub.c
config.status: linking ./mpn/generic/sub_1.c to mpn/sub_1.c
config.status: linking ./mpn/x86/pentium/aors_n.asm to mpn/sub_n.asm
config.status: linking ./mpn/x86/pentium/mul_1.asm to mpn/mul_1.asm
config.status: linking ./mpn/x86/pentium/aorsmul_1.asm to mpn/addmul_1.asm
config.status: linking ./mpn/x86/pentium/aorsmul_1.asm to mpn/submul_1.asm
config.status: linking ./mpn/x86/pentium/lshift.asm to mpn/lshift.asm
config.status: linking ./mpn/x86/pentium/rshift.asm to mpn/rshift.asm
config.status: linking ./mpn/x86/pentium/dive_1.asm to mpn/dive_1.asm
config.status: linking ./mpn/x86/pentium/diveby3.asm to mpn/diveby3.asm
config.status: linking ./mpn/generic/divis.c to mpn/divis.c
config.status: linking ./mpn/generic/divrem.c to mpn/divrem.c
config.status: linking ./mpn/x86/divrem_1.asm to mpn/divrem_1.asm
config.status: linking ./mpn/generic/divrem_2.c to mpn/divrem_2.c
config.status: linking ./mpn/generic/fib2_ui.c to mpn/fib2_ui.c
config.status: linking ./mpn/x86/pentium/mod_1.asm to mpn/mod_1.asm
config.status: linking ./mpn/x86/pentium/mod_34lsub1.asm to mpn/mod_34lsub1.asm
config.status: linking ./mpn/x86/pentium/mode1o.asm to mpn/mode1o.asm
config.status: linking ./mpn/generic/dump.c to mpn/dump.c
config.status: linking ./mpn/generic/mul.c to mpn/mul.c
config.status: linking ./mpn/generic/mul_fft.c to mpn/mul_fft.c
config.status: linking ./mpn/generic/mul_n.c to mpn/mul_n.c
config.status: linking ./mpn/x86/pentium/mul_basecase.asm to 
mpn/mul_basecase.asm
config.status: linking ./mpn/x86/pentium/sqr_basecase.asm to 
mpn/sqr_basecase.asm
config.status: linking ./mpn/generic/random.c to mpn/random.c
config.status: linking ./mpn/generic/random2.c to mpn/random2.c
config.status: linking ./mpn/generic/sqrtrem.c to mpn/sqrtrem.c
config.status: linking ./mpn/generic/get_str.c to mpn/get_str.c
config.status: linking ./mpn/generic/set_str.c to mpn/set_str.c
config.status: linking ./mpn/generic/scan0.c to mpn/scan0.c
config.status: linking ./mpn/generic/scan1.c to mpn/scan1.c
config.status: linking ./mpn/x86/pentium/popcount.asm to mpn/popcount.asm
config.status: linking ./mpn/x86/pentium/hamdist.asm to mpn/hamdist.asm
config.status: linking ./mpn/generic/cmp.c to mpn/cmp.c
config.status: linking ./mpn/generic/perfsqr.c to mpn/perfsqr.c
config.status: linking ./mpn/generic/bdivmod.c to mpn/bdivmod.c
config.status: linking ./mpn/generic/gcd_1.c to mpn/gcd_1.c
config.status: linking ./mpn/generic/gcd.c to mpn/gcd.c
config.status: linking ./mpn/generic/gcdext.c to mpn/gcdext.c
config.status: linking ./mpn/generic/tdiv_qr.c to mpn/tdiv_qr.c
config.status: linking ./mpn/generic/dc_divrem_n.c to mpn/dc_divrem_n.c
config.status: linking ./mpn/generic/sb_divrem_mn.c to mpn/sb_divrem_mn.c
config.status: linking ./mpn/generic/jacbase.c to mpn/jacbase.c
config.status: linking ./mpn/x86/pentium/copyi.asm to mpn/copyi.asm
config.status: linking ./mpn/x86/pentium/copyd.asm to mpn/copyd.asm
config.status: linking ./mpn/x86/pentium/com_n.asm to mpn/com_n.asm
config.status: linking ./mpn/x86/pentium/logops_n.asm to mpn/and_n.asm
config.status: linking ./mpn/x86/pentium/logops_n.asm to mpn/andn_n.asm
config.status: linking ./mpn/x86/pentium/logops_n.asm to mpn/nand_n.asm
config.status: linking ./mpn/x86/pentium/logops_n.asm to mpn/ior_n.asm
config.status: linking ./mpn/x86/pentium/logops_n.asm to mpn/iorn_n.asm
config.status: linking ./mpn/x86/pentium/logops_n.asm to mpn/nior_n.asm
config.status: linking ./mpn/x86/pentium/logops_n.asm to mpn/xor_n.asm
config.status: linking ./mpn/x86/pentium/logops_n.asm to mpn/xnor_n.asm
config.status: linking ./mpn/x86/pentium/gmp-mparam.h to gmp-mparam.h
#
#
#
# Subconfigure of GMP done
# ------------------------
#
checking for size of gmp limbs... 4
checking for bfd.h... yes
checking for bfd_init in -lbfd... yes
checking if need to define CONST for bfd... cannot use bfd exit 1
checking size of long *... 4
checking for endian.h... yes
checking endianness... little
checking finding DBEGIN... got 0x8000000
checking finding CSTACK_ADDRESS... got -1073744048
checking sizeof long long int... yes
checking for pagewidth... 12
checking for getcwd... yes
checking for getwd... yes
checking for uname... yes
checking for gettimeofday... yes
checking for sys/ioctl.h... yes
checking for BSDgettimeofday... no
checking for gettimeofday... (cached) yes
checking for gettimeofday declaration... present
checking for sin in -lm... yes
checking for main in -lmingwex... no
checking for math.h... yes
checking for values.h... yes
checking for isnormal... yes
checking for isfinite... yes
checking for sockets... checking for connect... yes
checking for gethostbyname... yes
checking for main in -lreadline... yes
checking For network code for nsocket.c... yes
checking check for listen using fcntl... yes
checking for profil... yes
checking for setenv... yes
checking for _cleanup... no
checking FIONBIO vs. O_NONBLOCK for nonblocking I/O... O_NONBLOCK
checking check for SV_ONSTACK... yes
checking check for SIGSYS... yes
checking check for SIGEMT... no
checking for asm/sigcontext.h... yes
checking for asm/signal.h... yes
sigcontext in signal.h
checking for emacs... /usr/bin/emacs
checking emacs site lisp directory... /usr/share/emacs/20.7/site-lisp
checking emacs default.el... /usr/share/emacs/20.7/site-lisp/default.el
checking emacs info/dir... /usr/share/info/
checking for tcl/tk... checking for tclsh... tclsh
checking for main in -llieee... no
using TK_VERSION=8.3 in /usr/lib
checking alloca... yes
checking Checking for buggy gcc version from redhat... yes .. turning off -O4
updating cache ./config.cache
creating ./config.status
creating makedefc
creating h/gclincl.h
makedefc

# begin makedefs

# use=386-linux

# for main link of raw_gcl
LIBS= -lm  /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libbfd.a
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libiberty.a -lreadline 
-lncurses

#The multi precision library stuff
MPFILES=$(MPDIR)/@MPI_FILE@ $(MPDIR)/libmport.a


# root for the installation, eg /usr/local
# This would cause make install to create /usr/local/bin/gcl and
# /usr/local/lib/gcl-2-??/* with some basic files.
prefix=/home/dietz

# where to place the info files
INFO_DIR=/usr/share/info/

# where to put emacs lisp files.
EMACS_SITE_LISP=/usr/share/emacs/20.7/site-lisp

# the default.el file
EMACS_DEFAULT_EL=/usr/share/emacs/20.7/site-lisp/default.el

# numerous TCL/TK variables culled from the tkConfig.sh and tclConfig.sh
# if these are found.
TK_CONFIG_PREFIX=/usr/lib
TK_LIBRARY=/usr/lib/tk8.3
TCL_LIBRARY=/usr/lib/tcl8.3
TK_XINCLUDES=-I/usr/X11R6/include
TK_INCLUDE=-I/usr/lib/../include
TCL_INCLUDE=-I/usr/lib/../include
TK_LIB_SPEC=-L/usr/lib -ltk8.3
TK_BUILD_LIB_SPEC=-L/usr/src/bs/BUILD/tcltk-8.3.1/tk8.3.1/unix -ltk8.3
TK_XLIBSW=-L/usr/X11R6/lib -lX11
TK_XINCLUDES=-I/usr/X11R6/include
TCL_LIB_SPEC=-L/usr/lib -ltcl8.3${TCL_DBGX}
TCL_DL_LIBS=-ldl
TCL_LIBS=-ldl  -lm

NOTIFY=yes
CC=gcc
CFLAGS=-Wall -DVOL=volatile -I$(GCLDIR)/o -fsigned-char -fwritable-strings 
-pipe -O6
-fomit-frame-pointer

RL_OBJS=readline.o

RL_LIB=lsp/readline.o

MAKEINFO=makeinfo

MP_INCLUDE=h/gmp.h

FLISP=saved_ansi_gcl
BUILD_BFD=
add-defs1 386-linux
using 386-linux.defs
patching o/makefile for gcc bug in 2.96

-----------------------------------------------------------------

configure.log:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:680: checking host system type
configure:966: checking for gcc
configure:1079: checking whether the C compiler (gcc  ) works
configure:1095: gcc -o conftest    conftest.c  1>&5
configure:1121: checking whether the C compiler (gcc  ) is a cross-compiler
configure:1126: checking whether we are using GNU C
configure:1135: gcc -E conftest.c
configure:1154: checking whether gcc accepts -g
configure:1186: checking how to run the C preprocessor
configure:1207: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1309: checking system version (for dynamic loading)
configure:1317: checking for gawk
configure:1353: checking for makeinfo
configure:1416: checking use_gmp=yes, doing configure in gmp directory
configure:1439: checking for size of gmp limbs
configure:1455: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1553: checking for bfd.h
configure:1563: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1580: checking for bfd_init in -lbfd
configure:1599: gcc -o conftest -g -O2   conftest.c -lbfd -liberty  1>&5
configure:1618: checking if need to define CONST for bfd
configure:1629: gcc -o conftest -g -O2   conftest.c  1>&5
In file included from configure:1625:
/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'
configure: In function `main':
configure:1626: parse error before `t'
configure: failed program was:
#line 1623 "configure"
#include "confdefs.h"
#define IN_GCC
                                    #include <bfd.h>
                                    int main() { symbol_info t; return 0;}
configure:1647: gcc -o conftest -g -O2   conftest.c  1>&5
In file included from configure:1642:
/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'
configure: In function `main':
configure:1644: parse error before `t'
configure: failed program was:
#line 1640 "configure"
#include "confdefs.h"
#define IN_GCC
                                            #include <bfd.h>
                                            #define CONST const
                                            int main() {symbol_info t; return 
0;}
configure:1737: checking size of long *
configure:1756: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1780: checking for endian.h
configure:1790: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1811: checking endianness
configure:1822: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1845: checking finding DBEGIN
configure:1867: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1889: checking finding CSTACK_ADDRESS
configure:1906: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1928: checking sizeof long long int
configure:1944: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1993: checking for pagewidth
configure:2008: gcc -o conftest -g -O2   conftest.c  1>&5
configure:2035: checking for getcwd
configure:2063: gcc -o conftest -g -O2   conftest.c  1>&5
configure:2090: checking for getwd
configure:2118: gcc -o conftest -g -O2   conftest.c  1>&5
/tmp/ccyVxKd3.o: In function `main':
/home/dietz/gcl/gcl/configure:2112: the `getwd' function is dangerous and 
should not be used.
configure:2143: checking for uname
configure:2171: gcc -o conftest -g -O2   conftest.c  1>&5
configure:2195: checking for gettimeofday
configure:2223: gcc -o conftest -g -O2   conftest.c  1>&5
configure:2252: checking for sys/ioctl.h
configure:2262: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2302: checking for BSDgettimeofday
configure:2330: gcc -o conftest -g -O2   conftest.c  1>&5
/tmp/ccRSevvT.o: In function `main':
/home/dietz/gcl/gcl/configure:2324: undefined reference to `BSDgettimeofday'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2307 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char BSDgettimeofday(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char BSDgettimeofday();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_BSDgettimeofday) || defined (__stub___BSDgettimeofday)
choke me
#else
BSDgettimeofday();
#endif

; return 0; }
configure:2351: checking for gettimeofday
configure:2406: checking for gettimeofday declaration
configure:2430: checking for sin in -lm
configure:2449: gcc -o conftest -g -O2   conftest.c -lm   1>&5
configure:2442: warning: conflicting types for built-in function `sin'
configure:2471: checking for main in -lmingwex
configure:2486: gcc -o conftest -g -O2   conftest.c -lmingwex   -lm 1>&5
/usr/bin/ld: cannot find -lmingwex
collect2: ld returned 1 exit status
configure: failed program was:
#line 2479 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:2515: checking for math.h
configure:2525: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2562: checking for values.h
configure:2572: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2608: checking for isnormal
configure:2622: gcc -o conftest -g -O2   conftest.c  -lm 1>&5
configure:2668: checking for isfinite
configure:2682: gcc -o conftest -g -O2   conftest.c  -lm 1>&5
configure:2747: checking for sockets
configure:2750: checking for connect
configure:2778: gcc -o conftest -g -O2   conftest.c  -lm 1>&5
configure:2893: checking for gethostbyname
configure:2921: gcc -o conftest -g -O2   conftest.c  -lm 1>&5
configure:2979: checking for main in -lreadline
configure:2994: gcc -o conftest -g -O2   conftest.c -lreadline -lncurses  -lm 
1>&5
configure:3026: checking For network code for nsocket.c
configure:3055: gcc -o conftest -g -O2   conftest.c  -lm 1>&5
configure:3072: checking check for listen using fcntl
configure:3087: gcc -c -g -O2  conftest.c 1>&5
configure:3106: checking for profil
configure:3134: gcc -o conftest -g -O2   conftest.c  -lm 1>&5
configure:3159: checking for setenv
configure:3187: gcc -o conftest -g -O2   conftest.c  -lm 1>&5
configure:3267: checking for _cleanup
configure:3295: gcc -o conftest -g -O2   conftest.c  -lm 1>&5
/tmp/ccqqw33y.o: In function `main':
/home/dietz/gcl/gcl/configure:3289: undefined reference to `_cleanup'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3272 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char _cleanup(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char _cleanup();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub__cleanup) || defined (__stub____cleanup)
choke me
#else
_cleanup();
#endif

; return 0; }
configure:3349: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O
configure:3380: checking check for SV_ONSTACK
configure:3391: gcc -c -g -O2  conftest.c 1>&5
configure:3408: checking check for SIGSYS
configure:3419: gcc -c -g -O2  conftest.c 1>&5
configure:3437: checking check for SIGEMT
configure:3448: gcc -c -g -O2  conftest.c 1>&5
configure:3441: `SIGEMT' undeclared here (not in a function)
configure: failed program was:
#line 3439 "configure"
#include "confdefs.h"
#include <signal.h>
int joe=SIGEMT;

int main() {

; return 0; }
configure:3472: checking for asm/sigcontext.h
configure:3482: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3512: checking for asm/signal.h
configure:3522: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3560: gcc -c -g -O2  conftest.c 1>&5
configure:3641: checking for emacs
configure:3689: checking emacs site lisp directory
configure:3712: checking emacs default.el
configure:3741: checking emacs info/dir
configure:3755: checking for tcl/tk
configure:3778: checking for tclsh
configure:3878: checking for main in -llieee
configure:3893: gcc -o conftest -g -O2   conftest.c -llieee   -lm 1>&5
/usr/bin/ld: cannot find -llieee
collect2: ld returned 1 exit status
configure: failed program was:
#line 3886 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3958: checking alloca
configure:3967: gcc -o conftest -g -O2   conftest.c  -lm 1>&5
configure: In function `main':
configure:3964: `NULL' undeclared (first use in this function)
configure:3964: (Each undeclared identifier is reported only once
configure:3964: for each function it appears in.)
configure: failed program was:
#line 3963 "configure"
#include "confdefs.h"
int main() { exit(alloca(500) != NULL ? 0 : 1);}
configure:4056: checking Checking for buggy gcc version from redhat




reply via email to

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