[Wine] Noob trying to ./configure Wine source, config.log error

gnivler wineforum-user at winehq.org
Sat May 10 20:09:16 CDT 2008

I've been searching here and at the ubuntu forums and can't seem to find a solution, I think it's pretty simple though.  I've checked for libc6 and libc6-dev and they both appear to be installed, IIRC they fixed a previous ./configure issue I had with some other source.

mason at mason-desktop:~/Desktop/wine-1.0-rc1$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc -m32
checking for C compiler default output file name... 
configure: error: C compiler cannot create executables
See `config.log' for more details.

All I'm really trying to do it compile the dinput_test file from dlls/dinput/test and I am not very experienced at compiling, likely missed something basic.  What I concluded is that I need to configure from the root of the source before I'll be able to compile the dinput_test, which may be a bad conclusion :)

This is the top of the config.log:

Thanks in advance for any info, sorry if I left something important out.

## --------- ##
## Platform. ##
## --------- ##

hostname = mason-desktop
uname -m = x86_64
uname -r = 2.6.24-16-generic
uname -s = Linux
uname -v = #1 SMP Thu Apr 10 12:47:45 UTC 2008

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games

## ----------- ##
## Core tests. ##
## ----------- ##

configure:2121: checking build system type
configure:2139: result: x86_64-unknown-linux-gnu
configure:2161: checking host system type
configure:2176: result: x86_64-unknown-linux-gnu
configure:2242: checking whether make sets $(MAKE)
configure:2263: result: yes
configure:2320: checking for gcc
configure:2347: result: gcc -m32
configure:2585: checking for C compiler version
configure:2592: gcc -m32 --version >&5
gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO

configure:2595: $? = 0
configure:2602: gcc -m32 -v >&5
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-z
lib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --pr
ogram-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-checking=release --build=x86_64-l
inux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
configure:2605: $? = 0
configure:2612: gcc -m32 -V >&5
gcc: '-V' must come at the start of the command line
configure:2615: $? = 1
configure:2638: checking for C compiler default output file name
configure:2665: gcc -m32    conftest.c  >&5
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.3/libgcc.a when searching for -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.2.3/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
collect2: ld returned 1 exit status
configure:2668: $? = 1
configure:2706: result: 
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "Wine"
| #define PACKAGE_TARNAME "wine"
| #define PACKAGE_VERSION "1.0-rc1"
| #define PACKAGE_STRING "Wine 1.0-rc1"
| #define PACKAGE_BUGREPORT "wine-devel at winehq.org"
| /* end confdefs.h.  */
| int
| main ()
| {
|   ;
|   return 0;
| }
configure:2713: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##
.... (cut)

More information about the wine-users mailing list