C compiler cannot create

Old forum that is now archived. Please use one of the other forums.
fredo35

C compiler cannot create

Postby fredo35 » 19 Apr 2005 15:52

Hi,

I would like to install vlc on Linux from the source code.
But I have this error : "checking for C compiler default output file name... configure: error: C compiler cannot create executables"
I tested if my compiler was broken with a sipme file *.c and it works correctly.
I work on Mandrake 10.1
How to fix this problem ?
Thanks for your answers


Here is my config.log :
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by vlc configure 0.8.1, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ./configure --host=i586-mingw32msvc --build=i386-linux --disable-sdl --disable-gtk --enable-nls --enable--ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac --with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora --with-wx-config-path=/usr/win32/bin --with-freetype-config-path=/usr/win32/bin --with-fribidi-config-path=/usr/win32/bin --enable-livedotcom --with-livedotcom-tree=/usr/win32/live.com --enable-caca --with-caca-config-path=/usr/win32/bin --with-xml2-config-path=/usr/win32/bin --with-dvdnav-config-path=/usr/win32/bin --disable-cddax --disable-vcdx --enable-goom --enable-toolame --enable-dvdread --enable-debug

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

hostname = localhost
uname -m = i686
uname -r = 2.6.8.1-10mdk
uname -s = Linux
uname -v = #1 Wed Sep 8 17:00:52 CEST 2004

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

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

PATH: /usr/local/mingw/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin/
PATH: /usr/games
PATH: /home/tiveo/bin


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

configure:1525: checking build system type
configure:1543: result: i386-pc-linux-gnu
configure:1551: checking host system type
configure:1565: result: i586-pc-mingw32msvc
configure:1573: checking target system type
configure:1587: result: i586-pc-mingw32msvc
configure:1616: checking for a BSD-compatible install
configure:1671: result: /usr/bin/install -c
configure:1682: checking whether build environment is sane
configure:1725: result: yes
configure:1750: WARNING: `missing' script is too old or missing
configure:1758: checking for gawk
configure:1774: found /usr/bin/gawk
configure:1784: result: gawk
configure:1794: checking whether make sets $(MAKE)
configure:1814: result: yes
configure:1874: checking for i586-mingw32msvc-strip
configure:1903: result: no
configure:1912: checking for strip
configure:1928: found /usr/bin/strip
configure:1939: result: strip
configure:1982: checking for i586-mingw32msvc-gcc
configure:2008: result: i586-mingw32msvc-gcc
configure:2290: checking for C compiler version
configure:2293: i586-mingw32msvc-gcc --version </dev/null >&5
./configure: line 1: i586-mingw32msvc-gcc: command not found
configure:2296: $? = 127
configure:2298: i586-mingw32msvc-gcc -v </dev/null >&5
./configure: line 1: i586-mingw32msvc-gcc: command not found
configure:2301: $? = 127
configure:2303: i586-mingw32msvc-gcc -V </dev/null >&5
./configure: line 1: i586-mingw32msvc-gcc: command not found
configure:2306: $? = 127
configure:2329: checking for C compiler default output file name
configure:2332: i586-mingw32msvc-gcc -I/usr/win32/include -L/usr/win32/lib conftest.c >&5
./configure: line 1: i586-mingw32msvc-gcc: command not found
configure:2335: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "vlc"
| #define PACKAGE_TARNAME "vlc"
| #define PACKAGE_VERSION "0.8.1"
| #define PACKAGE_STRING "vlc 0.8.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "vlc"
| #define VERSION "0.8.1"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2374: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i386-pc-linux-gnu
ac_cv_build_alias=i386-linux
ac_cv_env_CC_set=set
ac_cv_env_CC_value=i586-mingw32msvc-gcc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=-I/usr/win32/include
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=i586-ming32wmsvc-g++
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-L/usr/win32/lib
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i386-linux
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i586-mingw32msvc
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i586-pc-mingw32msvc
ac_cv_host_alias=i586-mingw32msvc
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=i586-mingw32msvc-gcc
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_make_make_set=yes
ac_cv_target=i586-pc-mingw32msvc
ac_cv_target_alias=i586-mingw32msvc

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='aclocal-1.6'
ALIASES=''
ALLOCA=''
ALL_LINGUAS=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='tar'
AR=''
ARCH=''
ARTS_CONFIG=''
ASM=''
AUTOCONF='autoconf'
AUTOHEADER='autoheader'
AUTOMAKE='automake-1.6'
AWK='gawk'
BUILD_DIRENT_FALSE=''
BUILD_DIRENT_TRUE=''
BUILD_GETOPT_FALSE=''
BUILD_GETOPT_TRUE=''
BUILD_INCLUDED_LIBINTL=''
BUILD_INTL_FALSE=''
BUILD_INTL_TRUE=''
BUILD_MOZILLA_FALSE=''
BUILD_MOZILLA_TRUE=''
CACA_CONFIG=''
CATOBJEXT=''
CC='i586-mingw32msvc-gcc'
CCDEPMODE=''
CFLAGS=''
CORBA_CFLAGS=''
CORBA_LIBS=''
CPP=''
CPPFLAGS='-I/usr/win32/include'
CXX='i586-ming32wmsvc-g++'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH=''
DATADIRNAME=''
DATA_PATH=''
DEFS=''
DEPDIR=''
DVDNAV_CONFIG=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_CORBA_FALSE=''
ENABLE_CORBA_TRUE=''
ESD_CONFIG=''
EXEEXT=''
FFMPEG_CONFIG=''
FREETYPE_CONFIG=''
FRIBIDI_CONFIG=''
GENCAT=''
GLIBC21=''
GMSGFMT=''
GTK2_CFLAGS=''
GTK2_LIBS=''
HAL_CFLAGS=''
HAL_LIBS=''
HAVE_BEOS_FALSE=''
HAVE_BEOS_TRUE=''
HAVE_BUILTINS_FALSE=''
HAVE_BUILTINS_TRUE=''
HAVE_DARWIN_FALSE=''
HAVE_DARWIN_TRUE=''
HAVE_PLUGINS_FALSE=''
HAVE_PLUGINS_TRUE=''
HAVE_WIN32_FALSE=''
HAVE_WIN32_TRUE=''
INCLUDES=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTOBJEXT=''
INTLBISON=''
INTLLIBS=''
INTLOBJS=''
INTL_LIBTOOL_SUFFIX_PREFIX=''
LD=''
LDFLAGS='-L/usr/win32/lib'
LIBCDDB_CFLAGS=''
LIBCDDB_LIBS=''
LIBCDIO_CFLAGS=''
LIBCDIO_LIBS=''
LIBEXT=''
LIBGNUTLS_CONFIG=''
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBS=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAKEINFO='makeinfo'
MKINSTALLDIRS=''
MOC=''
MOZILLA_CONFIG=''
MSGFMT=''
MSGMERGE=''
OBJC=''
OBJCDEPMODE=''
OBJCFLAGS=''
OBJEXT=''
PACKAGE='vlc'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='vlc'
PACKAGE_STRING='vlc 0.8.1'
PACKAGE_TARNAME='vlc'
PACKAGE_VERSION='0.8.1'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PLUGIN_PATH=''
POSUB=''
RANLIB=''
SDL11_CONFIG=''
SDL12_CONFIG=''
SDL_CONFIG=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
SVG_CFLAGS=''
SVG_LIBS=''
SYS=''
UNTRUE_FALSE=''
UNTRUE_TRUE=''
USE_INCLUDED_LIBINTL=''
USE_NLS=''
VERSION='0.8.1'
VLC_CONFIG=''
WINDRES=''
WX_CONFIG=''
XGETTEXT=''
XML2_CONFIG=''
XPIDL=''
XPIDL_INCL=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_CYGPATH=''
ac_ct_LD=''
ac_ct_RANLIB=''
ac_ct_STRIP='strip'
ac_ct_WINDRES=''
am__include=''
am__quote=''
bindir='${exec_prefix}/bin'
build='i386-pc-linux-gnu'
build_alias='i386-linux'
build_cpu='i386'
build_os='linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i586-pc-mingw32msvc'
host_alias='i586-mingw32msvc'
host_cpu='i586'
host_os='mingw32msvc'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/tiveo/videolan compilé/vlc-0.8.1/autotools/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i586-pc-mingw32msvc'
target_alias=''
target_cpu='i586'
target_os='mingw32msvc'
target_vendor='pc'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "vlc"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "vlc"
#define PACKAGE_STRING "vlc 0.8.1"
#define PACKAGE_TARNAME "vlc"
#define PACKAGE_VERSION "0.8.1"
#define VERSION "0.8.1"

configure: exit 77

Sigmund
Big Cone-huna
Big Cone-huna
Posts: 893
Joined: 26 Nov 2003 09:38

Postby Sigmund » 19 Apr 2005 19:24

looks like you are trying to cross-compile, but not passing the right options to configure. look in INSTALL.win32 for examples on how to cross-compile for windows


Return to “VideoLAN”

Who is online

Users browsing this forum: No registered users and 2 guests