First post, by Flint Eastwood
- Rank
- Newbie
I was able to compile SDL_net with an older MinGW-Msys environment nearly one year ago.
Now I decided to install the latest MinGW-Msys environment and run directly into a problem with SDL_net:
$ ./configure
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler
cannot create executables
See `config.log' for more details.
I'm a beginner in building Dosbox, I don't know what to do now. Can somebody help me?
SDL library 1.2.14 compiled without problems.
This is the 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 configure, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = Stefan-PC
uname -m = i686
uname -r = 1.0.17(0.48/3/2)
uname -s = MINGW32_NT-6.1
uname -v = 2011-04-24 23:39
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: .
PATH: /usr/local/bin
PATH: /mingw/bin
PATH: /bin
PATH: /c/Program Files (x86)/NVIDIA Corporation/PhysX/Common
PATH: /c/Program Files/Common Files/Microsoft Shared/Windows Live
PATH: /c/Windows/system32
PATH: /c/Windows
PATH: /c/Windows/System32/Wbem
PATH: /c/Windows/System32/WindowsPowerShell/v1.0/
PATH: /c/Program Files (x86)/Autodesk/Backburner/
PATH: /c/Program Files/Common Files/Autodesk Shared/
PATH: /c/Program Files (x86)/Common Files/Acronis/SnapAPI/
PATH: /c/Program Files/XviD MPEG-4 Video Codec 1.2.2 64-BIT
PATH: /c/Program Files (x86)/NVIDIA Corporation/DDS Utilities
PATH: /c/Program Files/Common Files/Microsoft Shared/Windows Live
PATH: /c/Program Files (x86)/FraunhoferIIS/MP3SurroundEncoder
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1567: checking build system type
configure:1585: result: i686-pc-mingw32
configure:1593: checking host system type
configure:1607: result: i686-pc-mingw32
configure:1630: checking for a BSD-compatible install
configure:1685: result: /bin/install -c
configure:1696: checking whether build environment is sane
configure:1739: result: yes
configure:1804: checking for gawk
configure:1820: found /bin/gawk
configure:1830: result: gawk
configure:1840: checking whether make sets $(MAKE)
configure:1860: result: yes
configure:2116: checking for style of include used by make
configure:2144: result: GNU
configure:2215: checking for gcc
configure:2231: found /mingw/bin/gcc
configure:2241: result: gcc
configure:2485: checking for C compiler version
configure:2488: gcc --version </dev/null >&5
gcc.exe (GCC) 4.6.2
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2491: $? = 0
configure:2493: gcc -v </dev/null >&5
Using built-in specs.
COLLECT_GCC=C:\MinGWenv\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingwenv/bin/../libexec/gcc/mingw32/4.6.2/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.6.2/configure --enable-languages=c,c++,ada,fortran,objc,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgomp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.6.2 (GCC)
configure:2496: $? = 0
configure:2498: gcc -V </dev/null >&5
gcc.exe: error: unrecognized option '-V'
gcc.exe: fatal error: no input files
compilation terminated.
configure:2501: $? = 1
configure:2524: checking for C compiler default output file name
configure:2527: gcc -pipe -02 -mms-bitfields -march=i686 conftest.c >&5
gcc.exe: error: unrecognized option '-02'
configure:2530: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "SDL_net"
| #define VERSION "1.2.7"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2569: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-mingw32
ac_cv_build_alias=i686-pc-mingw32
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-pipe -02 -mms-bitfields -march=i686'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
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=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-mingw32
ac_cv_host_alias=i686-pc-mingw32
ac_cv_path_install='/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/Stefan/s_sdlnet127/missing --run aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/Stefan/s_sdlnet127/missing --run tar'
AR=''
AS=''
AUTOCONF='${SHELL} /home/Stefan/s_sdlnet127/missing --run autoconf'
AUTOHEADER='${SHELL} /home/Stefan/s_sdlnet127/missing --run autoheader'
AUTOMAKE='${SHELL} /home/Stefan/s_sdlnet127/missing --run automake-1.9'
AWK='gawk'
BINARY_AGE='7'
CC='gcc'
CCDEPMODE=''
CFLAGS='-pipe -02 -mms-bitfields -march=i686'
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
HAVE_GUI_LIB_FALSE=''
HAVE_GUI_LIB_TRUE=''
INETLIB=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INTERFACE_AGE='7'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
LT_AGE='0'
LT_CURRENT='0'
LT_RELEASE='1.2'
LT_REVISION='7'
MAJOR_VERSION='1'
MAKEINFO='${SHELL} /home/Stefan/s_sdlnet127/missing --run makeinfo'
MICRO_VERSION='7'
MINOR_VERSION='2'
OBJDUMP=''
OBJEXT=''
PACKAGE='SDL_net'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
SDL_CFLAGS=''
SDL_CONFIG=''
SDL_LIBS=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
USE_VERSION_RC_FALSE=''
USE_VERSION_RC_TRUE=''
VERSION='1.2.7'
WINDRES=''
ac_ct_AR=''
ac_ct_AS=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_DLLTOOL=''
ac_ct_F77=''
ac_ct_OBJDUMP=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-mingw32'
build_alias=''
build_cpu='i686'
build_os='mingw32'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-pc-mingw32'
host_alias=''
host_cpu='i686'
host_os='mingw32'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/Stefan/s_sdlnet127/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE "SDL_net"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "1.2.7"
configure: exit 77
i7 870 + Zotac 470GTX AMP! + 12GB RAM + Win7 64Bit