为什么编译 wine老出现这样的错误-C compiler cannot create executables[已解决]
- gyx2545965
- 帖子: 82
- 注册时间: 2007-11-09 15:55
为什么编译 wine老出现这样的错误-C compiler cannot create executables[已解决]
在编译wine的时候老是出现
C compiler cannot create executables
See `config.log' for more details.
那位大虾帮忙看看,是不是缺什么?
谢谢了!
以下是config.log的部分类容!
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-checking=release --build=x86_64-linux-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:2617: $? = 0
configure:2624: gcc -m32 -V >&5
gcc: '-V' must come at the start of the command line
configure:2627: $? = 1
configure:2650: checking for C compiler default output file name
configure:2677: 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:2680: $? = 1
configure:2718: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "Wine"
| #define PACKAGE_TARNAME "wine"
| #define PACKAGE_VERSION "1.1.2"
| #define PACKAGE_STRING "Wine 1.1.2"
| #define PACKAGE_BUGREPORT "wine-devel@winehq.org"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2725: error: C compiler cannot create executables
See `config.log' for more details.
C compiler cannot create executables
See `config.log' for more details.
那位大虾帮忙看看,是不是缺什么?
谢谢了!
以下是config.log的部分类容!
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-checking=release --build=x86_64-linux-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:2617: $? = 0
configure:2624: gcc -m32 -V >&5
gcc: '-V' must come at the start of the command line
configure:2627: $? = 1
configure:2650: checking for C compiler default output file name
configure:2677: 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:2680: $? = 1
configure:2718: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "Wine"
| #define PACKAGE_TARNAME "wine"
| #define PACKAGE_VERSION "1.1.2"
| #define PACKAGE_STRING "Wine 1.1.2"
| #define PACKAGE_BUGREPORT "wine-devel@winehq.org"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2725: error: C compiler cannot create executables
See `config.log' for more details.
上次由 gyx2545965 在 2008-07-30 10:02,总共编辑 3 次。
- gyx2545965
- 帖子: 82
- 注册时间: 2007-11-09 15:55
- gyx2545965
- 帖子: 82
- 注册时间: 2007-11-09 15:55
哎,又遇到新问题了!
我的是64位的,编译的时候又出现这样的错误:
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -D__i386__ -o gettid.o gettid.c
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -D__i386__ -o interlocked.o interlocked.c
{standard input}: Assembler messages:
{standard input}:38: Error: suffix or operands invalid for `push'
{standard input}:39: Error: suffix or operands invalid for `push'
{standard input}:46: Error: suffix or operands invalid for `pop'
{standard input}:47: Error: suffix or operands invalid for `pop'
make[2]: *** [interlocked.o] Error 1
make[2]: Leaving directory `/home/livingwithgod/Desktop/wine-1.1.1/libs/port'
make[1]: *** [port] Error 2
make[1]: Leaving directory `/home/livingwithgod/Desktop/wine-1.1.1/libs'
make: *** [libs] Error 2
我现在是没辙了!谁知道告诉我以下,谢谢!
我的是64位的,编译的时候又出现这样的错误:
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -D__i386__ -o gettid.o gettid.c
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -D__i386__ -o interlocked.o interlocked.c
{standard input}: Assembler messages:
{standard input}:38: Error: suffix or operands invalid for `push'
{standard input}:39: Error: suffix or operands invalid for `push'
{standard input}:46: Error: suffix or operands invalid for `pop'
{standard input}:47: Error: suffix or operands invalid for `pop'
make[2]: *** [interlocked.o] Error 1
make[2]: Leaving directory `/home/livingwithgod/Desktop/wine-1.1.1/libs/port'
make[1]: *** [port] Error 2
make[1]: Leaving directory `/home/livingwithgod/Desktop/wine-1.1.1/libs'
make: *** [libs] Error 2
我现在是没辙了!谁知道告诉我以下,谢谢!
- aric286
- 帖子: 960
- 注册时间: 2007-12-03 9:54
- 联系:
- gyx2545965
- 帖子: 82
- 注册时间: 2007-11-09 15:55
- gyx2545965
- 帖子: 82
- 注册时间: 2007-11-09 15:55
- windowssux
- 帖子: 618
- 注册时间: 2006-08-06 16:58
- 来自: 北海
- gyx2545965
- 帖子: 82
- 注册时间: 2007-11-09 15:55
- gyx2545965
- 帖子: 82
- 注册时间: 2007-11-09 15:55