Compiling on Windows

Help
2009-06-15
2013-06-13
  • Babak Sayyid Hosseini

    Dear BuGLe developers and users,

    compiling BuGLe on windows (equiped with MinGW + Cygwin) fails despite following
    steps 1-8 of chapter 2.4 (Compiling on Windows) of [1].

    Configure output:

    checking for a BSD-compatible install... /cygdrive/c/Programme/cygwin/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /cygdrive/c/Programme/cygwin/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    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 for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking for ranlib... ranlib
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /cygdrive/c/Programme/cygwin/bin/grep
    checking for egrep... /cygdrive/c/Programme/cygwin/bin/grep -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 minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking whether it is safe to define __EXTENSIONS__... yes
    checking build system type... i686-pc-cygwin
    checking host system type... i686-pc-cygwin
    checking for gcc option to accept ISO C99... -std=gnu99
    checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
    checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
    checking how to run the C preprocessor... gcc -E
    checking for flex... no
    checking for lex... no
    checking for bison... no
    checking for byacc... no
    checking whether ln -s works... yes
    checking for a BSD-compatible install... /cygdrive/c/Programme/cygwin/bin/install -c
    checking whether make sets $(MAKE)... (cached) yes
    checking host system type... (cached) i686-pc-cygwin
    checking for lt_dlinit in -lltdl... no
    checking for a sed that does not truncate output... /cygdrive/c/Programme/cygwin/bin/sed
    checking for ld used by gcc -std=gnu99... c:/Programme/MinGW/mingw32/bin/ld.exe
    checking if the linker (c:/Programme/MinGW/mingw32/bin/ld.exe) is GNU ld... yes
    checking for c:/Programme/MinGW/mingw32/bin/ld.exe option to reload object files... -r
    checking for BSD-compatible nm... /cygdrive/c/Programme/MinGW/bin/nm -B
    checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
    checking for dlltool... dlltool
    checking for as... as
    checking for objdump... objdump
    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 /cygdrive/c/Programme/MinGW/bin/nm -B output from gcc -std=gnu99 object... ok
    checking for objdir... .libs
    checking for ar... ar
    checking for ranlib... (cached) ranlib
    checking for strip... strip
    checking for correct ltmain.sh version... yes
    checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
    checking for gcc -std=gnu99 option to produce PIC... -DDLL_EXPORT
    checking if gcc -std=gnu99 PIC flag -DDLL_EXPORT works... yes
    checking if gcc -std=gnu99 static flag -static works... yes
    checking if gcc -std=gnu99 supports -c -o file.o... yes
    checking whether the gcc -std=gnu99 linker (c:/Programme/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 whether a program can dlopen itself... no
    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++... c:/Programme/MinGW/mingw32/bin/ld.exe
    checking if the linker (c:/Programme/MinGW/mingw32/bin/ld.exe) is GNU ld... yes
    checking whether the g++ linker (c:/Programme/MinGW/mingw32/bin/ld.exe) supports shared libraries... yes
    checking for g++ option to produce PIC... -DDLL_EXPORT
    checking if g++ PIC flag -DDLL_EXPORT works... yes
    checking if g++ static flag -static works... yes
    checking if g++ supports -c -o file.o... yes
    checking whether the g++ linker (c:/Programme/MinGW/mingw32/bin/ld.exe) supports shared libraries... yes
    checking dynamic linker characteristics... Win32 ld.exe
    (cached) (cached) 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... -DDLL_EXPORT
    checking if g77 PIC flag -DDLL_EXPORT works... yes
    checking if g77 static flag -static works... yes
    checking if g77 supports -c -o file.o... yes
    checking whether the g77 linker (c:/Programme/MinGW/mingw32/bin/ld.exe) supports shared libraries... yes
    checking dynamic linker characteristics... Win32 ld.exe
    (cached) (cached) checking how to hardcode library paths into programs... immediate
    checking for perl... perl
    checking for X... libraries /usr/lib, headers /usr/include
    checking whether -R must be followed by a space... neither works
    checking for dnet_ntoa in -ldnet... no
    checking for dnet_ntoa in -ldnet_stub... no
    checking for gethostbyname... no
    checking for gethostbyname in -lnsl... no
    checking for gethostbyname in -lbsd... no
    checking for connect... no
    checking for connect in -lsocket... no
    checking for remove... yes
    checking for shmat... no
    checking for shmat in -lipc... no
    checking for IceConnectionNumber in -lICE... no
    checking for pkg-config... /cygdrive/c/Programme/MinGW/bin/pkg-config
    checking for GTK+ - version >= 2.4.0... no
    *** Could not run GTK+ test program, checking why...
    *** The test program failed to compile or link. See the file config.log for the
    *** exact error that occured. This usually means GTK+ is incorrectly installed.
    checking for pkg-config... (cached) /cygdrive/c/Programme/MinGW/bin/pkg-config
    checking for GtkGLExt - version >= 1.0.0... no
    *** Could not run GtkGLExt test program, checking why...
    *** The test program failed to compile or link. See the file config.log for the
    *** exact error that occured. This usually means GtkGLExt is incorrectly installed.
    checking for initscr in -lncurses... no
    checking for readline in -lreadline... no
    checking for add_history in -lhistory... no
    checking pkg-config is at least version 0.9.0... yes
    checking for avcodec... no
    no
    checking for swscale... no
    checking for glewInit in -lGLEW... no
    checking for glewInit in -lGLEW32... yes
    checking for working alloca.h... no
    checking for alloca... yes
    checking whether the preprocessor supports include_next... yes
    checking float.h usability... yes
    checking float.h presence... yes
    checking for float.h... yes
    checking for stdint.h... (cached) yes
    checking wchar.h usability... yes
    checking wchar.h presence... yes
    checking for wchar.h... yes
    checking for inttypes.h... (cached) yes
    checking math.h usability... yes
    checking math.h presence... yes
    checking for math.h... yes
    checking stdio.h usability... yes
    checking stdio.h presence... yes
    checking for stdio.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking whether getdelim is declared... no
    checking whether getline is declared... no
    checking for inline... inline
    checking for long long int... yes
    checking for unsigned long long int... yes
    checking whether stdint.h conforms to C99... yes
    checking for inttypes.h... (cached) yes
    checking whether the inttypes.h PRIxNN macros are broken... no
    checking whether imaxabs is declared... yes
    checking whether imaxdiv is declared... yes
    checking whether strtoimax is declared... yes
    checking whether strtoumax is declared... yes
    checking for ld used by GCC... c:/Programme/MinGW/mingw32/bin/ld.exe
    checking if the linker (c:/Programme/MinGW/mingw32/bin/ld.exe) is GNU ld... yes
    checking for shared library run path origin... done
    checking whether imported symbols can be declared weak... no
    checking pthread.h usability... no
    checking pthread.h presence... no
    checking for pthread.h... no
    checking for multithread API to use... none
    checking whether malloc, realloc, calloc are POSIX compliant... no
    checking for ssize_t... yes
    checking for stdbool.h that conforms to C99... yes
    checking for _Bool... yes
    checking for C/C++ restrict keyword... __restrict
    checking whether strndup is declared... no
    checking whether strnlen is declared... no
    checking for EOVERFLOW... E2BIG
    checking for vasnprintf... no
    checking for wchar_t... yes
    checking for wint_t... yes
    checking for size_t... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for intmax_t... yes
    checking whether vsnprintf is declared... yes
    checking whether printf supports size specifiers as in C99... no
    checking whether printf supports 'long double' arguments... no
    checking whether printf supports infinite 'double' arguments... no
    checking whether printf supports the 'a' and 'A' directives... no
    checking whether printf supports the 'F' directive... no
    checking whether printf supports the 'n' directive... yes
    checking whether printf supports POSIX/XSI format strings with positions... no
    checking whether printf supports the grouping flag... no
    checking whether printf supports the zero flag correctly... no
    checking whether frexpl() can be used without linking with libm... yes
    checking whether frexpl works... no
    checking for getdelim... no
    checking for flockfile... no
    checking for funlockfile... no
    checking for getline... no
    checking for getdelim... (cached) no
    checking for flockfile... (cached) no
    checking for funlockfile... (cached) no
    checking whether the compiler generally respects inline... yes
    checking whether inttypes.h conforms to C99... yes
    checking whether isnan(double) can be used without linking with libm... yes
    checking whether isnan(float) can be used without linking with libm... yes
    checking whether isnan(float) works... yes
    checking whether isnan(long double) can be used without linking with libm... yes
    checking whether isnanl works... no
    checking where to find the exponent in a 'long double'... word 2 bit 0
    checking for stdlib.h... (cached) yes
    checking for GNU libc compatible malloc... yes
    checking whether frexp can be used without linking with libm... yes
    checking whether frexp works... no
    checking whether ldexp can be used without linking with libm... yes
    checking whether frexpl can be used without linking with libm... (cached) yes
    checking whether frexpl works... (cached) no
    checking whether ldexpl can be used without linking with libm... yes
    checking whether ldexpl works... yes
    checking whether ldexpl is declared... yes
    checking for stdlib.h... (cached) yes
    checking for GNU libc compatible realloc... yes
    checking for signbit macro... yes
    checking for stdint.h... (cached) yes
    checking for SIZE_MAX... yes
    checking for ssize_t... (cached) yes
    checking for va_copy... yes
    checking whether stdint.h conforms to C99... (cached) yes
    checking for working strndup... no
    checking for working strnlen... no
    checking for ptrdiff_t... yes
    checking for snprintf... yes
    checking for wcslen... yes
    checking whether _snprintf is declared... yes
    checking for vasprintf... no
    checking for vsnprintf... yes
    checking for vsnprintf... (cached) yes
    checking whether snprintf truncates the result as in C99... no
    checking whether snprintf returns a byte count as in C99... no
    checking whether snprintf fully supports the 'n' directive... no
    checking whether vsnprintf respects a zero size as in C99... yes
    checking for nl_langinfo... no
    checking for ptrdiff_t... (cached) yes
    checking for snprintf... (cached) yes
    checking for wcslen... (cached) yes
    checking whether _snprintf is declared... (cached) yes
    checking whether <wchar.h> is standalone... yes
    checking for stdint.h... (cached) yes
    checking for ANSI C header files... (cached) yes
    checking for dirent.h that defines DIR... yes
    checking for library containing opendir... none required
    checking for stdbool.h that conforms to C99... (cached) yes
    checking for _Bool... (cached) yes
    checking for sys/types.h... (cached) yes
    checking for stdlib.h... (cached) yes
    checking stddef.h usability... yes
    checking stddef.h presence... yes
    checking for stddef.h... yes
    checking NVPerfSDK.h usability... no
    checking NVPerfSDK.h presence... no
    checking for NVPerfSDK.h... no
    checking for dlfcn.h... (cached) no
    checking sys/select.h usability... no
    checking sys/select.h presence... no
    checking for sys/select.h... no
    checking readline/readline.h usability... no
    checking readline/readline.h presence... no
    checking for readline/readline.h... no
    checking readline/history.h usability... no
    checking readline/history.h presence... no
    checking for readline/history.h... no
    checking libavcodec/avcodec.h usability... no
    checking libavcodec/avcodec.h presence... no
    checking for libavcodec/avcodec.h... no
    checking libavformat/avformat.h usability... no
    checking libavformat/avformat.h presence... no
    checking for libavformat/avformat.h... no
    checking libswscale/swscale.h usability... no
    checking libswscale/swscale.h presence... no
    checking for libswscale/swscale.h... no
    checking for ptrdiff_t... (cached) yes
    checking for long long... (cached) yes
    checking for size_t... (cached) yes
    checking for long double with more range or precision than double... yes
    checking for pthread.h... (cached) no
    checking whether pthread_t exists and is integral... no
    checking for working volatile... yes
    checking for inline... (cached) inline
    checking whether char is unsigned... no
    checking for GCC alias and visibility attributes... no
    checking for GCC format attribute... yes
    checking for GCC constructor attribute... yes
    checking for weak symbol pragma... no
    checking for strrchr... yes
    checking for vsnprintf... (cached) yes
    checking for cosf... yes
    checking for sinf... yes
    checking for finite... yes
    checking for isfinite... no
    checking for nan... yes
    checking for isnan... yes
    checking for siglongjmp... no
    checking for rl_completion_matches... no
    checking whether -R must be followed by a space... neither works
    checking for dnet_ntoa in -ldnet... (cached) no
    checking for dnet_ntoa in -ldnet_stub... (cached) no
    checking for gethostbyname... (cached) no
    checking for gethostbyname in -lnsl... (cached) no
    checking for gethostbyname in -lbsd... (cached) no
    checking for connect... (cached) no
    checking for connect in -lsocket... (cached) no
    checking for remove... (cached) yes
    checking for shmat... (cached) no
    checking for shmat in -lipc... (cached) no
    checking for IceConnectionNumber in -lICE... (cached) no
    checking for xsltproc... /cygdrive/c/Programme/cygwin/bin/xsltproc
    checking for xmllint... /cygdrive/c/Programme/cygwin/bin/xmllint
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating lib/Makefile
    config.status: creating bugle.pc
    config.status: creating include/bugle/porting.h
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing depfiles commands
    === configuring in libltdl (/cygdrive/d/bugle-0.0.20090411/libltdl)
    configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local'  '--enable-ltdl-install' --cache-file=/dev/null --srcdir=.
    checking for a BSD-compatible install... /cygdrive/c/Programme/cygwin/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /cygdrive/c/Programme/cygwin/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    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 for style of include used by make... GNU
    checking dependency style of gcc... none
    checking for an ANSI C-conforming const... yes
    checking for inline... inline
    checking build system type... i686-pc-cygwin
    checking host system type... i686-pc-cygwin
    checking for a sed that does not truncate output... /cygdrive/c/Programme/cygwin/bin/sed
    checking for grep that handles long lines and -e... /cygdrive/c/Programme/cygwin/bin/grep
    checking for egrep... /cygdrive/c/Programme/cygwin/bin/grep -E
    checking for ld used by gcc... c:/Programme/MinGW/mingw32/bin/ld.exe
    checking if the linker (c:/Programme/MinGW/mingw32/bin/ld.exe) is GNU ld... yes
    checking for c:/Programme/MinGW/mingw32/bin/ld.exe option to reload object files... -r
    checking for BSD-compatible nm... /cygdrive/c/Programme/MinGW/bin/nm -B
    checking whether ln -s works... yes
    checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
    checking for dlltool... dlltool
    checking for as... as
    checking for objdump... objdump
    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++... none
    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 /cygdrive/c/Programme/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... -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 whether the gcc linker (c:/Programme/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++... c:/Programme/MinGW/mingw32/bin/ld.exe
    checking if the linker (c:/Programme/MinGW/mingw32/bin/ld.exe) is GNU ld... yes
    checking whether the g++ linker (c:/Programme/MinGW/mingw32/bin/ld.exe) supports shared libraries... yes
    checking for g++ option to produce PIC... -DDLL_EXPORT
    checking if g++ PIC flag -DDLL_EXPORT works... yes
    checking if g++ static flag -static works... yes
    checking if g++ supports -c -o file.o... yes
    checking whether the g++ linker (c:/Programme/MinGW/mingw32/bin/ld.exe) supports shared libraries... yes
    checking dynamic linker characteristics... Win32 ld.exe
    (cached) (cached) 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... -DDLL_EXPORT
    checking if g77 PIC flag -DDLL_EXPORT works... yes
    checking if g77 static flag -static works... yes
    checking if g77 supports -c -o file.o... yes
    checking whether the g77 linker (c:/Programme/MinGW/mingw32/bin/ld.exe) supports shared libraries... yes
    checking dynamic linker characteristics... Win32 ld.exe
    (cached) (cached) checking how to hardcode library paths into programs... immediate
    checking for dirent.h that defines DIR... yes
    checking for library containing opendir... none required
    checking which extension is used for loadable modules... .dll
    checking which variable specifies run-time library path... PATH
    checking for the default library search path... /lib /usr/lib
    checking for objdir... .libs
    checking whether libtool supports -dlopen/-dlpreopen... yes
    checking for shl_load... no
    checking for shl_load in -ldld... no
    checking for dlopen in -ldl... no
    checking for dlopen in -lsvld... no
    checking for dld_link in -ldld... no
    checking for _dyld_func_lookup... no
    checking for _ prefix in compiled symbols... yes
    checking whether deplibs are loaded by dlopen... unknown
    checking argz.h usability... no
    checking argz.h presence... no
    checking for argz.h... no
    checking for error_t... no
    checking for argz_append... no
    checking for argz_create_sep... no
    checking for argz_insert... no
    checking for argz_next... no
    checking for argz_stringify... no
    checking assert.h usability... yes
    checking assert.h presence... yes
    checking for assert.h... yes
    checking ctype.h usability... yes
    checking ctype.h presence... yes
    checking for ctype.h... yes
    checking errno.h usability... yes
    checking errno.h presence... yes
    checking for errno.h... yes
    checking malloc.h usability... yes
    checking malloc.h presence... yes
    checking for malloc.h... yes
    checking for memory.h... (cached) yes
    checking for stdlib.h... (cached) yes
    checking stdio.h usability... yes
    checking stdio.h presence... yes
    checking for stdio.h... yes
    checking for unistd.h... (cached) yes
    checking dl.h usability... no
    checking dl.h presence... no
    checking for dl.h... no
    checking sys/dl.h usability... no
    checking sys/dl.h presence... no
    checking for sys/dl.h... no
    checking dld.h usability... no
    checking dld.h presence... no
    checking for dld.h... no
    checking mach-o/dyld.h usability... no
    checking mach-o/dyld.h presence... no
    checking for mach-o/dyld.h... no
    checking for string.h... (cached) yes
    checking for strchr... yes
    checking for strrchr... yes
    checking for memcpy... yes
    checking for memmove... yes
    checking for strcmp... yes
    checking for closedir... yes
    checking for opendir... yes
    checking for readdir... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing depfiles commands
    === configuring in budgie (/cygdrive/d/bugle-0.0.20090411/budgie)
    configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local'  '--enable-ltdl-install' --cache-file=/dev/null --srcdir=.
    checking for a BSD-compatible install... /cygdrive/c/Programme/cygwin/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /cygdrive/c/Programme/cygwin/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for g++... g++
    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 g++ accepts -g... yes
    checking for style of include used by make... GNU
    checking dependency style of g++... gcc3
    checking for gcc... gcc
    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 flex... no
    checking for lex... no
    checking for bison... no
    checking for byacc... no
    checking for library containing regexec... -lregex
    checking how to run the C++ preprocessor... g++ -E
    checking for grep that handles long lines and -e... /cygdrive/c/Programme/cygwin/bin/grep
    checking for egrep... /cygdrive/c/Programme/cygwin/bin/grep -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 regex.h usability... yes
    checking regex.h presence... yes
    checking for regex.h... yes
    checking for size_t... yes
    checking for inline... inline
    checking for regcomp... no
    checking for strrchr... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: executing depfiles commands

    Configuration:
            API combination: gl-wgl
            libavcodec: no
            readline: no
            GUI: no
            event interception: yes

    Make Output:

    make[2]: Leaving directory `/cygdrive/d/bugle-0.0.20090411/libltdl'
    make[2]: Entering directory `/cygdrive/d/bugle-0.0.20090411'
    depbase=`echo src/gl/gltypes.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\         /bin/sh ./libtool --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -I
    ./lib -Ilib -I./include -Iinclude -I./libltdl -DLIBDIR=\&quot;/usr/local/lib\&quot; -DPKGLIBDIR=\&quot;/u
    sr/local/lib/bugle\&quot; -I/usr/include -I/usr/include   -g -O2 -MT src/gl/gltypes.lo -MD -MP
    -MF $depbase.Tpo -c -o src/gl/gltypes.lo src/gl/gltypes.c &&\         mv -f $depbase.Tpo $depbase.Plo
    gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./lib -Ilib -I./include -Iinclude -I./libltdl -DLIBD
    IR=\&quot;/usr/local/lib\&quot; -DPKGLIBDIR=\&quot;/usr/local/lib/bugle\&quot; -I/usr/include -I/usr/include -
    g -O2 -MT src/gl/gltypes.lo -MD -MP -MF src/gl/.deps/gltypes.Tpo -c src/gl/gltypes.c  -DDL
    L_EXPORT -DPIC -o src/gl/.libs/gltypes.o
    gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./lib -Ilib -I./include -Iinclude -I./libltdl -DLIBD
    gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./lib -Ilib -I./include -Iinclude -I./libltdl -DLIBD
    IR=\&quot;/usr/local/lib\&quot; -DPKGLIBDIR=\&quot;/usr/local/lib/bugle\&quot; -I/usr/include -I/usr/include -
    g -O2 -MT src/gl/gltypes.lo -MD -MP -MF src/gl/.deps/gltypes.Tpo -c src/gl/gltypes.c -o sr
    c/gl/gltypes.o >/dev/null 2>&1
    depbase=`echo src/apireflect.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\     /bin/sh ./libtool --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -I./li
    b -Ilib -I./include -Iinclude -I./libltdl -DLIBDIR=\&quot;/usr/local/lib\&quot; -DPKGLIBDIR=\&quot;/usr/l
    ocal/lib/bugle\&quot; -I/usr/include -I/usr/include   -g -O2 -MT src/apireflect.lo -MD -MP -MF
    $depbase.Tpo -c -o src/apireflect.lo src/apireflect.c &&\     mv -f $depbase.Tpo $depbase.Plo
    gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./lib -Ilib -I./include -Iinclude -I./libltdl -DLIBD
    IR=\&quot;/usr/local/lib\&quot; -DPKGLIBDIR=\&quot;/usr/local/lib/bugle\&quot; -I/usr/include -I/usr/include -
    g -O2 -MT src/apireflect.lo -MD -MP -MF src/.deps/apireflect.Tpo -c src/apireflect.c  -DDL
    L_EXPORT -DPIC -o src/.libs/apireflect.o
    gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./lib -Ilib -I./include -Iinclude -I./libltdl -DLIBD
    IR=\&quot;/usr/local/lib\&quot; -DPKGLIBDIR=\&quot;/usr/local/lib/bugle\&quot; -I/usr/include -I/usr/include -
    g -O2 -MT src/apireflect.lo -MD -MP -MF src/.deps/apireflect.Tpo -c src/apireflect.c -o sr
    c/apireflect.o >/dev/null 2>&1
    depbase=`echo src/glwin/glwintypes.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\     /bin/sh ./libtool --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -I./li
    b -Ilib -I./include -Iinclude -I./libltdl -DLIBDIR=\&quot;/usr/local/lib\&quot; -DPKGLIBDIR=\&quot;/usr/l
    ocal/lib/bugle\&quot; -I/usr/include -I/usr/include   -g -O2 -MT src/glwin/glwintypes.lo -MD -M
    P -MF $depbase.Tpo -c -o src/glwin/glwintypes.lo src/glwin/glwintypes.c &&\     mv -f $depbase.Tpo $depbase.Plo
    gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./lib -Ilib -I./include -Iinclude -I./libltdl -DLIBD
    IR=\&quot;/usr/local/lib\&quot; -DPKGLIBDIR=\&quot;/usr/local/lib/bugle\&quot; -I/usr/include -I/usr/include -
    g -O2 -MT src/glwin/glwintypes.lo -MD -MP -MF src/glwin/.deps/glwintypes.Tpo -c src/glwin/
    glwintypes.c  -DDLL_EXPORT -DPIC -o src/glwin/.libs/glwintypes.o
    gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./lib -Ilib -I./include -Iinclude -I./libltdl -DLIBD
    IR=\&quot;/usr/local/lib\&quot; -DPKGLIBDIR=\&quot;/usr/local/lib/bugle\&quot; -I/usr/include -I/usr/include -
    g -O2 -MT src/glwin/glwintypes.lo -MD -MP -MF src/glwin/.deps/glwintypes.Tpo -c src/glwin/
    glwintypes.c -o src/glwin/glwintypes.o >/dev/null 2>&1
    depbase=`echo common/misc.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\     /bin/sh ./libtool --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -I./li
    b -Ilib -I./include -Iinclude -I./libltdl -DLIBDIR=\&quot;/usr/local/lib\&quot; -DPKGLIBDIR=\&quot;/usr/l
    ocal/lib/bugle\&quot; -I/usr/include -I/usr/include   -g -O2 -MT common/misc.lo -MD -MP -MF $de
    pbase.Tpo -c -o common/misc.lo common/misc.c &&\     mv -f $depbase.Tpo $depbase.Plo
    gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./lib -Ilib -I./include -Iinclude -I./libltdl -DLIBD
    IR=\&quot;/usr/local/lib\&quot; -DPKGLIBDIR=\&quot;/usr/local/lib/bugle\&quot; -I/usr/include -I/usr/include -
    g -O2 -MT common/misc.lo -MD -MP -MF common/.deps/misc.Tpo -c common/misc.c  -DDLL_EXPORT
    -DPIC -o common/.libs/misc.o
    gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./lib -Ilib -I./include -Iinclude -I./libltdl -DLIBD
    IR=\&quot;/usr/local/lib\&quot; -DPKGLIBDIR=\&quot;/usr/local/lib/bugle\&quot; -I/usr/include -I/usr/include -
    g -O2 -MT common/misc.lo -MD -MP -MF common/.deps/misc.Tpo -c common/misc.c -o common/misc
    .o >/dev/null 2>&1
    depbase=`echo common/protocol.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\     /bin/sh ./libtool --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -I./li
    b -Ilib -I./include -Iinclude -I./libltdl -DLIBDIR=\&quot;/usr/local/lib\&quot; -DPKGLIBDIR=\&quot;/usr/l
    ocal/lib/bugle\&quot; -I/usr/include -I/usr/include   -g -O2 -MT common/protocol.lo -MD -MP -MF
    $depbase.Tpo -c -o common/protocol.lo common/protocol.c &&\     mv -f $depbase.Tpo $depbase.Plo
    gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./lib -Ilib -I./include -Iinclude -I./libltdl -DLIBD
    IR=\&quot;/usr/local/lib\&quot; -DPKGLIBDIR=\&quot;/usr/local/lib/bugle\&quot; -I/usr/include -I/usr/include -
    g -O2 -MT common/protocol.lo -MD -MP -MF common/.deps/protocol.Tpo -c common/protocol.c  -
    DDLL_EXPORT -DPIC -o common/.libs/protocol.o
    make[2]: Leaving directory `/cygdrive/d/bugle-0.0.20090411'
    make[1]: Leaving directory `/cygdrive/d/bugle-0.0.20090411'

    Creating library file: .libs/libltdl.dll.a
    common/protocol.c: In function `gldb_protocol_reader_has_data':
    common/protocol.c:176: error: `fd_set' undeclared (first use in this function)
    common/protocol.c:176: error: (Each undeclared identifier is reported only once
    common/protocol.c:176: error: for each function it appears in.)
    common/protocol.c:176: error: syntax error before "read_fds"
    common/protocol.c:177: error: storage size of 'timeout' isn't known
    common/protocol.c:179: warning: implicit declaration of function `FD_ZERO'
    common/protocol.c:179: error: `read_fds' undeclared (first use in this function)
    common/protocol.c:180: warning: implicit declaration of function `FD_SET'
    common/protocol.c:183: warning: implicit declaration of function `select'
    common/protocol.c:184: warning: implicit declaration of function `FD_ISSET'
    make[2]: *** [common/protocol.lo] Fehler 1
    make[1]: *** [all-recursive] Fehler 1
    make: *** [all] Fehler 2

    Any hints are welcome.

    Babak Sayyid Hosseini

    [1] http://www.opengl.org/sdk/tools/BuGLe/documentation/install.php#install-configure

     
    • Bruce Merry

      Bruce Merry - 2009-06-15

      Hi

      It looks like the configuration process is getting confused by having a mix of mingw and cygwin (compiling with cygwin isn't supported yet - the instruction to add Cygwin to the end of the PATH is just because some tools are a pain to install in msys).

      It looks like you're building inside a cygwin shell. Have you tried building inside a mingw shell instead? You'll probably need to wipe out the build directory, otherwise you might have stale configuration files.

      Bruce

       
    • Nobody/Anonymous

      I'm also having problems compiling on Windows, though different from Babak's.

      I followed the same instructions he did, and ran into two problems. The first was a problem in gengl.perl, which I got around by changing line 639.

      The next problem I'm unsure how to fix (only pasting the tail end):

      Creating library file: src/.libs/libbugleutils.dll.a
      rm -fr src/.libs/libbugleutils.lax
      mkdir src/.libs/libbugleutils.lax
      rm -fr src/.libs/libbugleutils.lax/libgnu.a
      mkdir src/.libs/libbugleutils.lax/libgnu.a
      (cd src/.libs/libbugleutils.lax/libgnu.a && ar x /c/bugle/bugle-0.0.20090411/lib/.libs/libgnu.a)
      libtool: link: ERROR: object name conflicts: src/.libs/libbugleutils.lax/libgnu.a//c/bugle/bugle-0.0.20090411/lib/.libs/libgnu.a
      make[2]: *** [src/libbugleutils.la] Error 1
      make[2]: Leaving directory `/c/bugle/bugle-0.0.20090411'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/c/bugle/bugle-0.0.20090411'
      make: *** [all] Error 2

      I can provide more information as necessary.

      Thanks,
      -Kyle

       
      • Nobody/Anonymous

        > libtool: link: ERROR: object name conflicts: src/.libs/libbugleutils.lax/libgnu.a//c/bugle/bugle-0.0.20090411/lib/.libs/libgnu.a

        Unfortunately I have no idea what would cause that - sorry. The only thing i can think of is that possibly you're using libtool 2, whereas I only really test bugle with libtool 1.

        I am in the process of rewriting the bugle build system using scons, which should make this kind of thing go away, but it's still a work in progress.

         

Log in to post a comment.