[Wine] configure: error: C compiler cannot create executables

vlotho wineforum-user at winehq.org
Wed May 20 08:56:12 CDT 2009


hi,

je me présente ou plutot ma distrib ^^ :
I introduce myself or rather my distribution


> # These settings were set by the catalyst build script that automatically
> # built this stage.
> # Please consult /etc/make.conf.example for a more detailed example.
> CFLAGS="-march=athlon64 -mtune=athlon64 -Wno-error -O2 -pipe"
> CXXFLAGS="${CFLAGS}"
> # WARNING: Changing your CHOST is not something that should be done lightly.
> # Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
> CHOST="x86_64-pc-linux-gnu"
> # These are the USE flags that were used in addition to what is provided by the
> # profile used for building.
> USE="aac alsa css dvd dvdr encode esd ffmpeg flac gnome gstreamer jpeg ladcca ladspa lame
>  mp3 mpeg mplayer raw shorten svg v4l2 wavpack win32codecs x264 xine xvid mmx sse sse2 X gtk cairo"
> MAKEOPTS="-j2"
> PORTDIR_OVERLAY=/usr/local/portage
> 
> GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/
>  ftp://gentoo.imj.fr/pub/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ "
> 
> SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"

uname -a 
Linux encodage 2.6.28-gentoo-r5 #1 SMP Wed May 6 13:53:57 CEST 2009 x86_64 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux

gcc-config -l
 [1] x86_64-pc-linux-gnu-4.4.0 *


and my problem :


> x86_64-pc-linux-gnu-gcc: '-V' must come at the start of the command line
> configure:2756: $? = 1
> configure:2779: checking for C compiler default output file name
> configure:2801: x86_64-pc-linux-gnu-gcc -m32 -march=athlon64 -mtune=athlon64 -Wno-error -O2 -pipe  -Wl,-O1 conftest.c  >&5
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gn$
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gn$
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc
> collect2: ld returned 1 exit status
> configure:2805: $? = 1
> configure:2843: result:
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME "Wine"
> | #define PACKAGE_TARNAME "wine"
> | #define PACKAGE_VERSION "1.1.21"
> | #define PACKAGE_STRING "Wine 1.1.21"
> | #define PACKAGE_BUGREPORT "wine-devel at winehq.org"
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:2849: error: in `/var/tmp/portage/app-emulation/wine-1.1.21/work/wine-1.1.21':
> configure:2852: error: C compiler cannot create executables


can u help me ?







More information about the wine-users mailing list