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:
$ ./configurechecking build system type... i686-pc-mingw32checking host system type... i686-pc-mingw32checking for a BSD-compatible install... /bin/install -cchecking whether build environment is sane... yeschecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking for style of include used by make... GNUchecking for gcc... gccchecking for C compiler default output file name... configure: error: C compilercannot create executablesSee `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 whilerunning configure, to aid debugging if configure makes a mistake.It was created by configure, which wasgenerated by GNU Autoconf 2.59. Invocation command line was$ ./configure## --------- #### Platform. #### --------- ##hostname = Stefan-PCuname -m = i686uname -r = 1.0.17(0.48/3/2)uname -s = MINGW32_NT-6.1uname -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 = unknownhostinfo = unknown/bin/machine = unknown/usr/bin/oslevel = unknown/bin/universe = unknownPATH: .PATH: /usr/local/binPATH: /mingw/binPATH: /binPATH: /c/Program Files (x86)/NVIDIA Corporation/PhysX/CommonPATH: /c/Program Files/Common Files/Microsoft Shared/Windows LivePATH: /c/Windows/system32PATH: /c/WindowsPATH: /c/Windows/System32/WbemPATH: /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-BITPATH: /c/Program Files (x86)/NVIDIA Corporation/DDS UtilitiesPATH: /c/Program Files/Common Files/Microsoft Shared/Windows LivePATH: /c/Program Files (x86)/FraunhoferIIS/MP3SurroundEncoder## ----------- #### Core tests. #### ----------- ##configure:1567: checking build system typeconfigure:1585: result: i686-pc-mingw32configure:1593: checking host system typeconfigure:1607: result: i686-pc-mingw32configure:1630: checking for a BSD-compatible installconfigure:1685: result: /bin/install -cconfigure:1696: checking whether build environment is saneconfigure:1739: result: yes
configure:1804: checking for gawkconfigure:1820: found /bin/gawkconfigure:1830: result: gawkconfigure:1840: checking whether make sets $(MAKE)configure:1860: result: yesconfigure:2116: checking for style of include used by makeconfigure:2144: result: GNUconfigure:2215: checking for gccconfigure:2231: found /mingw/bin/gccconfigure:2241: result: gccconfigure:2485: checking for C compiler versionconfigure:2488: gcc --version </dev/null >&5gcc.exe (GCC) 4.6.2Copyright (C) 2011 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.configure:2491: $? = 0configure:2493: gcc -v </dev/null >&5Using built-in specs.COLLECT_GCC=C:\MinGWenv\bin\gcc.exeCOLLECT_LTO_WRAPPER=c:/mingwenv/bin/../libexec/gcc/mingw32/4.6.2/lto-wrapper.exeTarget: mingw32Configured 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=/mingwThread model: win32gcc version 4.6.2 (GCC)configure:2496: $? = 0configure:2498: gcc -V </dev/null >&5gcc.exe: error: unrecognized option '-V'gcc.exe: fatal error: no input filescompilation terminated.configure:2501: $? = 1configure:2524: checking for C compiler default output file nameconfigure:2527: gcc -pipe -02 -mms-bitfields -march=i686 conftest.c >&5gcc.exe: error: unrecognized option '-02'configure:2530: $? = 1configure: 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 executablesSee `config.log' for more details.## ---------------- #### Cache variables. #### ---------------- ##ac_cv_build=i686-pc-mingw32ac_cv_build_alias=i686-pc-mingw32ac_cv_env_CC_set=ac_cv_env_CC_value=ac_cv_env_CFLAGS_set=setac_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-mingw32ac_cv_host_alias=i686-pc-mingw32ac_cv_path_install='/bin/install -c'ac_cv_prog_AWK=gawkac_cv_prog_ac_ct_CC=gccac_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