Here's other information about my platform: cygwin under Windows XP SP3 Compiler: gcc.exe (GCC) 3.4.5 (mingw-vista special r3) Problem statement: 1. Build via a plain "make" fails after configure completes. 2. Running make again shows a different failure. You can contact me at: Don Peterson address@hidden --------------------------------------------------------------------------- Script started on Mon Oct 3 19:43:26 2011 MinGW 3.4.2 compiler set up /home/don --> cd /d/bin/plotutils-2.6 /d/bin/plotutils-2.6 --> date Mon 03 Oct 2011 07:43:45 PM /d/bin/plotutils-2.6 --> # Goal is to make plotlib library. Other utilities nice, but not mandatory . /d/bin/plotutils-2.6 --> # I'll first run configure, then make. Make fails, and I'll run it again. /d/bin/plotutils-2.6 --> /d/bin/plotutils-2.6 --> /d/bin/plotutils-2.6 --> configure checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether /bin/make sets $(MAKE)... yes checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking for style of include used by /bin/make... GNU checking for gcc... gcc checking for C compiler default output file name... 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 gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ld used by gcc... D:/bin/mingw/mingw32/bin/ld.exe checking if the linker (D:/bin/mingw/mingw32/bin/ld.exe) is GNU ld... yes checking for D:/bin/mingw/mingw32/bin/ld.exe option to reload object files... -r checking for BSD-compatible nm... /d/bin/mingw/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... file_magic ^x86 archive import|^x86 DLL 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... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... no checking dlfcn.h presence... no checking for dlfcn.h... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether g77 accepts -g... yes checking the maximum length of command line arguments... 8192 checking command to parse /d/bin/mingw/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (D:/bin/mingw/mingw32/bin/ld.exe) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... D:/bin/mingw/mingw32/bin/ld.exe checking if the linker (D:/bin/mingw/mingw32/bin/ld.exe) is GNU ld... yes checking whether the g++ linker (D:/bin/mingw/mingw32/bin/ld.exe) supports shared libraries... yes checking for g++ option to produce PIC... checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (D:/bin/mingw/mingw32/bin/ld.exe) supports shared libraries... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for g77 option to produce PIC... checking if g77 static flag -static works... yes checking if g77 supports -c -o file.o... yes checking whether the g77 linker (D:/bin/mingw/mingw32/bin/ld.exe) supports shared libraries... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate checking for an ANSI C-conforming const... yes checking for size_t... yes checking for pid_t... yes checking return type of signal handlers... void checking whether flushing a null FILE pointer works... yes checking for ANSI C header files... (cached) yes checking for string.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking pthread.h usability... no checking pthread.h presence... no checking for pthread.h... no checking for strings.h... (cached) yes checking for unistd.h... (cached) yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking sys/select.h usability... no checking sys/select.h presence... no checking for sys/select.h... no checking sys/stdtypes.h usability... no checking sys/stdtypes.h presence... no checking for sys/stdtypes.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking sys/wait.h usability... no checking sys/wait.h presence... no checking for sys/wait.h... no checking whether time.h and sys/time.h may both be included... yes checking for working alloca.h... no checking for alloca... yes checking for bison... no checking for byacc... no checking for flex... no checking for lex... no checking for pthread_mutex_init in -lc... no checking for ctime_r... no checking for localtime_r... no checking for waitpid... no checking for matherr in -lmx... no checking for memcpy... yes checking for memmove... yes checking for strchr... yes checking for strcasecmp... yes checking for strerror... yes checking for matherr... no checking for j0... yes checking for erf... yes checking for lgamma... yes checking for gamma... no checking for X... no checking for XtToolkitThreadInitialize in -lXt... no checking for XdbeQueryExtension in -lXext... no checking for XmbufQueryExtension in -lXext... no checking X11/Xlib.h usability... no checking X11/Xlib.h presence... no checking for X11/Xlib.h... no checking for X11/extensions/Xdbe.h... no checking for X11/extensions/multibuf.h... no checking png.h usability... no checking png.h presence... no checking for png.h... no checking for png_set_tRNS in -lpng... no checking for gcc strength-reduce bug... no configure: creating ./config.status config.status: creating Makefile config.status: creating double/Makefile config.status: creating graph/Makefile config.status: creating hersheydemo/Makefile config.status: creating pic2plot/Makefile config.status: creating pic2plot/doc/Makefile config.status: creating pic2plot/libgroff/Makefile config.status: creating pic2plot/include/Makefile config.status: creating info/Makefile config.status: creating lib/Makefile config.status: creating libplot/Makefile config.status: creating libplotter/Makefile config.status: creating libxmi/Makefile config.status: creating libxmi/info/Makefile config.status: creating plot/Makefile config.status: creating tek2plot/Makefile config.status: creating tek2plot/teksamples/Makefile config.status: creating plotfont/Makefile config.status: creating spline/Makefile config.status: creating ode/Makefile config.status: creating ode-examples/Makefile config.status: creating include/Makefile config.status: creating doc/Makefile config.status: creating fonts/Makefile config.status: creating fonts/bdf/Makefile config.status: creating fonts/pcf/Makefile config.status: creating fonts/pfb/Makefile config.status: creating test/Makefile config.status: creating config.h config.status: executing depfiles commands /d/bin/plotutils-2.6 --> /d/bin/plotutils-2.6 --> /d/bin/plotutils-2.6 --> # Here's the make /d/bin/plotutils-2.6 --> make /bin/make all-recursive make[1]: Entering directory `/cygdrive/d/bin/plotutils-2.6' Making all in lib make[2]: Entering directory `/cygdrive/d/bin/plotutils-2.6/lib' gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -O2 -MT compat.o -MD -MP -MF .deps/compat.Tpo -c -o compat.o compat.c mv -f .deps/compat.Tpo .deps/compat.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -O2 -MT display.o -MD -MP -MF .deps/display.Tpo -c -o display.o display.c mv -f .deps/display.Tpo .deps/display.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -O2 -MT getopt.o -MD -MP -MF .deps/getopt.Tpo -c -o getopt.o getopt.c mv -f .deps/getopt.Tpo .deps/getopt.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -O2 -MT getopt1.o -MD -MP -MF .deps/getopt1.Tpo -c -o getopt1.o getopt1.c mv -f .deps/getopt1.Tpo .deps/getopt1.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -O2 -MT xmalloc.o -MD -MP -MF .deps/xmalloc.Tpo -c -o xmalloc.o xmalloc.c mv -f .deps/xmalloc.Tpo .deps/xmalloc.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -O2 -MT xstrdup.o -MD -MP -MF .deps/xstrdup.Tpo -c -o xstrdup.o xstrdup.c mv -f .deps/xstrdup.Tpo .deps/xstrdup.Po rm -f libcommon.a ar cru libcommon.a compat.o display.o getopt.o getopt1.o xmalloc.o xstrdup.o ranlib libcommon.a make[2]: Leaving directory `/cygdrive/d/bin/plotutils-2.6/lib' Making all in spline make[2]: Entering directory `/cygdrive/d/bin/plotutils-2.6/spline' gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -O2 -MT spline.o -MD -MP -MF .deps/spline.Tpo -c -o spline.o spline.c mv -f .deps/spline.Tpo .deps/spline.Po /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -o spline.exe spline.o ../lib/libcommon.a -lm mkdir .libs gcc -O2 -o spline.exe spline.o ../lib/libcommon.a make[2]: Leaving directory `/cygdrive/d/bin/plotutils-2.6/spline' Making all in double make[2]: Entering directory `/cygdrive/d/bin/plotutils-2.6/double' gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -O2 -MT double.o -MD -MP -MF .deps/double.Tpo -c -o double.o double.c mv -f .deps/double.Tpo .deps/double.Po /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -o double.exe double.o ../lib/libcommon.a -lm mkdir .libs gcc -O2 -o double.exe double.o ../lib/libcommon.a make[2]: Leaving directory `/cygdrive/d/bin/plotutils-2.6/double' Making all in ode make[2]: Entering directory `/cygdrive/d/bin/plotutils-2.6/ode' gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -O2 -MT am.o -MD -MP -MF .deps/am.Tpo -c -o am.o am.c mv -f .deps/am.Tpo .deps/am.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -O2 -MT ama.o -MD -MP -MF .deps/ama.Tpo -c -o ama.o ama.c mv -f .deps/ama.Tpo .deps/ama.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -O2 -MT bessel.o -MD -MP -MF .deps/bessel.Tpo -c -o bessel.o bessel.c mv -f .deps/bessel.Tpo .deps/bessel.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -O2 -MT eu.o -MD -MP -MF .deps/eu.Tpo -c -o eu.o eu.c mv -f .deps/eu.Tpo .deps/eu.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -O2 -MT expr.o -MD -MP -MF .deps/expr.Tpo -c -o expr.o expr.c mv -f .deps/expr.Tpo .deps/expr.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -O2 -MT float.o -MD -MP -MF .deps/float.Tpo -c -o float.o float.c mv -f .deps/float.Tpo .deps/float.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -O2 -MT global.o -MD -MP -MF .deps/global.Tpo -c -o global.o global.c mv -f .deps/global.Tpo .deps/global.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c mv -f .deps/main.Tpo .deps/main.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -O2 -MT misc.o -MD -MP -MF .deps/misc.Tpo -c -o misc.o misc.c mv -f .deps/misc.Tpo .deps/misc.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -O2 -MT prt.o -MD -MP -MF .deps/prt.Tpo -c -o prt.o prt.c mv -f .deps/prt.Tpo .deps/prt.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -O2 -MT rk.o -MD -MP -MF .deps/rk.Tpo -c -o rk.o rk.c mv -f .deps/rk.Tpo .deps/rk.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -O2 -MT rka.o -MD -MP -MF .deps/rka.Tpo -c -o rka.o rka.c mv -f .deps/rka.Tpo .deps/rka.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -O2 -MT specfun.o -MD -MP -MF .deps/specfun.Tpo -c -o specfun.o specfun.c mv -f .deps/specfun.Tpo .deps/specfun.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -O2 -MT stperr.o -MD -MP -MF .deps/stperr.Tpo -c -o stperr.o stperr.c mv -f .deps/stperr.Tpo .deps/stperr.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -O2 -MT sym.o -MD -MP -MF .deps/sym.Tpo -c -o sym.o sym.c mv -f .deps/sym.Tpo .deps/sym.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -O2 -MT yywrap.o -MD -MP -MF .deps/yywrap.Tpo -c -o yywrap.o yywrap.c mv -f .deps/yywrap.Tpo .deps/yywrap.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -O2 -MT gram.o -MD -MP -MF .deps/gram.Tpo -c -o gram.o gram.c mv -f .deps/gram.Tpo .deps/gram.Po gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -O2 -MT lex.o -MD -MP -MF .deps/lex.Tpo -c -o lex.o lex.c mv -f .deps/lex.Tpo .deps/lex.Po /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -o ode.exe am.o ama.o bessel.o eu.o expr.o float.o global.o main.o misc.o prt.o rk.o rka.o specfun.o stperr.o sym.o yywrap.o gram.o lex.o ../lib/libcommon.a -lm mkdir .libs gcc -O2 -o ode.exe am.o ama.o bessel.o eu.o expr.o float.o global.o main.o misc.o prt.o rk.o rka.o specfun.o stperr.o sym.o yywrap.o gram.o lex.o ../lib/libcommon.a specfun.o:specfun.c:(.text+0x24): undefined reference to `signgam' collect2: ld returned 1 exit status make[2]: *** [ode.exe] Error 1 make[2]: Leaving directory `/cygdrive/d/bin/plotutils-2.6/ode' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/cygdrive/d/bin/plotutils-2.6' make: *** [all] Error 2 /d/bin/plotutils-2.6 --> /d/bin/plotutils-2.6 --> /d/bin/plotutils-2.6 --> # Try make a second time -- different error /d/bin/plotutils-2.6 --> make /bin/make all-recursive make[1]: Entering directory `/cygdrive/d/bin/plotutils-2.6' Making all in lib make[2]: Entering directory `/cygdrive/d/bin/plotutils-2.6/lib' .deps/compat.Po:1: *** multiple target patterns. Stop. make[2]: Leaving directory `/cygdrive/d/bin/plotutils-2.6/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/cygdrive/d/bin/plotutils-2.6' make: *** [all] Error 2 /d/bin/plotutils-2.6 --> exit logout Script done on Mon Oct 3 20:07:17 2011