|
From: | Bert Douglas |
Subject: | [Chicken-users] "make" fails on cygwin |
Date: | Wed, 29 Jan 2003 00:07:10 -0600 |
Hello All,
I am totally new at this, so please forgive any
dumb questions. I did scan all the messages for the last six months
on the list.
I am trying to build using a recent (1 month old)
cygwin setup on winXP. It appears to go well for some time. Then
this message appears.
runtime.lo(.text+0x2d1):runtime.c: undefined reference to
`_C_toplevel'
Complete session copied below.
Thanks in advance for any suggestions.
Bert Douglas
address@hidden
~/chicken-0.1082
$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets ${MAKE}... yes checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking for gcc... gcc checking for C compiler default output... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... 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 a BSD-compatible install... /usr/bin/install -c checking for ld used by GCC... /usr/i686-pc-cygwin/bin/ld.exe checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependant libraries... file_magic file format pei*-i38 6(.*architecture: i386)? checking command to parse /usr/bin/nm -B output... ok checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... no checking for stdint.h... no checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -DDLL_EXPORT checking if gcc PIC flag -DDLL_EXPORT works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared lib raries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... Win32 ld.exe checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes creating libtool checking GCC version... checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for unistd.h... (cached) yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking sysexits.h usability... yes checking sysexits.h presence... yes checking for sysexits.h... yes checking for dlfcn.h... (cached) yes checking dl.h usability... no checking dl.h presence... no checking for dl.h... no checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working alloca.h... yes checking for alloca... yes checking return type of signal handlers... void checking for strtod... yes checking for strtol... yes checking for strtoul... yes checking for gcvt... yes checking for regcomp... yes checking for dlopen in -ldl... no checking for shl_load in -ldld... no checking for modf in -lm... yes checking stack growth direction... Your C stack grows downward. checking "for better CFLAGS"... -O3 -fomit-frame-pointer -DHAVE_ALLOCA_H -fstric t-aliasing checking supplied nursery size... default nursery size will be determined by ben chmark (use NURSERY=nnnn on the make command line to set the default nursery size by ha nd) configure: creating ./config.status config.status: creating chicken.spec config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands address@hidden
~/chicken-0.1082
$ make make all-am make[1]: Entering directory `/home/bertd/chicken-0.1082' /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DC_STACK_GRO WS_DOWNWARD=1 -DC_INSTALL_LIB_HOME='"/usr/local/lib/chicken"' -DC_USE_C_DEFAULTS -O3 -fomit-frame-pointer -DHAVE_ALLOCA_H -fstrict-aliasing -c -o runtime.lo `test -f 'runtime.c' || echo './'`runtime.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I. -DC_STACK_GROWS_DOWNWARD=1 -DC_INSTALL_LIB_HOME= \"/usr/local/lib/chicken\" -DC_USE_C_DEFAULTS -O3 -fomit-frame-pointer -DHAVE_AL LOCA_H -fstrict-aliasing -c runtime.c -DDLL_EXPORT -DPIC -o .libs/runtime.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -DC_STACK_GROWS_DOWNWARD=1 -DC_INSTALL_LIB_HOME= \"/usr/local/lib/chicken\" -DC_USE_C_DEFAULTS -O3 -fomit-frame-pointer -DHAVE_AL LOCA_H -fstrict-aliasing -c runtime.c -o runtime.o >/dev/null 2>&1 mv -f .libs/runtime.lo runtime.lo /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DC_STACK_GRO WS_DOWNWARD=1 -DC_INSTALL_LIB_HOME='"/usr/local/lib/chicken"' -DC_USE_C_DEFAULTS -O3 -fomit-frame-pointer -DHAVE_ALLOCA_H -fstrict-aliasing -c -o library.lo `test -f 'library.c' || echo './'`library.c rm -f .libs/library.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -DC_STACK_GROWS_DOWNWARD=1 -DC_INSTALL_LIB_HOME= \"/usr/local/lib/chicken\" -DC_USE_C_DEFAULTS -O3 -fomit-frame-pointer -DHAVE_AL LOCA_H -fstrict-aliasing -c library.c -DDLL_EXPORT -DPIC -o .libs/library.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -DC_STACK_GROWS_DOWNWARD=1 -DC_INSTALL_LIB_HOME= \"/usr/local/lib/chicken\" -DC_USE_C_DEFAULTS -O3 -fomit-frame-pointer -DHAVE_AL LOCA_H -fstrict-aliasing -c library.c -o library.o >/dev/null 2>&1 mv -f .libs/library.lo library.lo /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DC_STACK_GRO WS_DOWNWARD=1 -DC_INSTALL_LIB_HOME='"/usr/local/lib/chicken"' -DC_USE_C_DEFAULTS -O3 -fomit-frame-pointer -DHAVE_ALLOCA_H -fstrict-aliasing -c -o eval.lo `t est -f 'eval.c' || echo './'`eval.c rm -f .libs/eval.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -DC_STACK_GROWS_DOWNWARD=1 -DC_INSTALL_LIB_HOME= \"/usr/local/lib/chicken\" -DC_USE_C_DEFAULTS -O3 -fomit-frame-pointer -DHAVE_AL LOCA_H -fstrict-aliasing -c eval.c -DDLL_EXPORT -DPIC -o .libs/eval.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -DC_STACK_GROWS_DOWNWARD=1 -DC_INSTALL_LIB_HOME= \"/usr/local/lib/chicken\" -DC_USE_C_DEFAULTS -O3 -fomit-frame-pointer -DHAVE_AL LOCA_H -fstrict-aliasing -c eval.c -o eval.o >/dev/null 2>&1 mv -f .libs/eval.lo eval.lo /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DC_STACK_GRO WS_DOWNWARD=1 -DC_INSTALL_LIB_HOME='"/usr/local/lib/chicken"' -DC_USE_C_DEFAULTS -O3 -fomit-frame-pointer -DHAVE_ALLOCA_H -fstrict-aliasing -c -o syntax-cas e.lo `test -f 'syntax-case.c' || echo './'`syntax-case.c rm -f .libs/syntax-case.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -DC_STACK_GROWS_DOWNWARD=1 -DC_INSTALL_LIB_HOME= \"/usr/local/lib/chicken\" -DC_USE_C_DEFAULTS -O3 -fomit-frame-pointer -DHAVE_AL LOCA_H -fstrict-aliasing -c syntax-case.c -DDLL_EXPORT -DPIC -o .libs/syntax-ca se.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -DC_STACK_GROWS_DOWNWARD=1 -DC_INSTALL_LIB_HOME= \"/usr/local/lib/chicken\" -DC_USE_C_DEFAULTS -O3 -fomit-frame-pointer -DHAVE_AL LOCA_H -fstrict-aliasing -c syntax-case.c -o syntax-case.o >/dev/null 2>&1 mv -f .libs/syntax-case.lo syntax-case.lo /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DC_STACK_GRO WS_DOWNWARD=1 -DC_INSTALL_LIB_HOME='"/usr/local/lib/chicken"' -DC_USE_C_DEFAULTS -O3 -fomit-frame-pointer -DHAVE_ALLOCA_H -fstrict-aliasing -c -o modules.lo `test -f 'modules.c' || echo './'`modules.c rm -f .libs/modules.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -DC_STACK_GROWS_DOWNWARD=1 -DC_INSTALL_LIB_HOME= \"/usr/local/lib/chicken\" -DC_USE_C_DEFAULTS -O3 -fomit-frame-pointer -DHAVE_AL LOCA_H -fstrict-aliasing -c modules.c -DDLL_EXPORT -DPIC -o .libs/modules.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -DC_STACK_GROWS_DOWNWARD=1 -DC_INSTALL_LIB_HOME= \"/usr/local/lib/chicken\" -DC_USE_C_DEFAULTS -O3 -fomit-frame-pointer -DHAVE_AL LOCA_H -fstrict-aliasing -c modules.c -o modules.o >/dev/null 2>&1 mv -f .libs/modules.lo modules.lo /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DC_STACK_GRO WS_DOWNWARD=1 -DC_INSTALL_LIB_HOME='"/usr/local/lib/chicken"' -DC_USE_C_DEFAULTS -O3 -fomit-frame-pointer -DHAVE_ALLOCA_H -fstrict-aliasing -c -o profiler.l o `test -f 'profiler.c' || echo './'`profiler.c rm -f .libs/profiler.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -DC_STACK_GROWS_DOWNWARD=1 -DC_INSTALL_LIB_HOME= \"/usr/local/lib/chicken\" -DC_USE_C_DEFAULTS -O3 -fomit-frame-pointer -DHAVE_AL LOCA_H -fstrict-aliasing -c profiler.c -DDLL_EXPORT -DPIC -o .libs/profiler.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -DC_STACK_GROWS_DOWNWARD=1 -DC_INSTALL_LIB_HOME= \"/usr/local/lib/chicken\" -DC_USE_C_DEFAULTS -O3 -fomit-frame-pointer -DHAVE_AL LOCA_H -fstrict-aliasing -c profiler.c -o profiler.o >/dev/null 2>&1 mv -f .libs/profiler.lo profiler.lo /bin/bash ./libtool --mode=link gcc -O3 -fomit-frame-pointer -DHAVE_ALLOCA_H -f strict-aliasing -o libchicken.la -rpath /usr/local/lib -version-info=0:0:0 -n o-undefined runtime.lo library.lo eval.lo syntax-case.lo modules.lo profiler.lo -lm rm -fr .libs/libchicken.la .libs/libchicken.* .libs/libchicken.* generating symbol list for `libchicken.la' dlltool --export-all --exclude-symbols address@hidden,address@hidden,_cygwin_ address@hidden,address@hidden,address@hidden --output-def .libs/ cygchicken-0.dll-def runtime.lo library.lo eval.lo syntax-case.lo modules.lo pr ofiler.lo sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < .libs/cygchicken-0.d ll-def > .libs/libchicken.exp if test "x`head -1 .libs/libchicken.exp`" = xEXPORTS; then cp .libs/libchicken.e xp .libs/cygchicken-0.dll-def; else echo EXPORTS > .libs/cygchicken-0.dll-def; _ lt_hint=1; cat .libs/libchicken.exp | while read symbol; do set dummy $symbol; c ase $# in 2) echo " $2 @ $_lt_hint ; " >> .libs/cygchicken-0.dll-def;; *) echo " $2 @ $_lt_hint $3 ; " >> .libs/cygchicken-0.dll-def;; esac; _lt_hint=`expr 1 + $_lt_hint`; done; fi gcc -Wl,--base-file,.libs/cygchicken-0.dll-base -Wl,-e,address@hidden -o .libs/cygchicken-0.dll runtime.lo library.lo eval.lo syntax-case.lo modules.lo profiler.lo runtime.lo(.text+0x2d1):runtime.c: undefined reference to `_C_toplevel' collect2: ld returned 1 exit status make[1]: *** [libchicken.la] Error 1 make[1]: Leaving directory `/home/bertd/chicken-0.1082' make: *** [all] Error 2 address@hidden
~/chicken-0.1082
$ |
[Prev in Thread] | Current Thread | [Next in Thread] |