MinGW problem - unable to compile - config.log

EleGoS elegos at fastwebnet.it
Mon Nov 27 14:18:59 CET 2006


Hi there!

I've downloaded the MinGW shell, installed it as descripted in 
intall.txt, and also the gcc-core-3.4.2-20040916-1 and installed it.

Then I've tried running ./configure, but this is what the process returns:

Giacomo a NOME-0C20A03AFA /C/tinc-1.0.5
$ ./configure
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 whether to enable maintainer-specific portions of Makefiles... no
checking whether NLS is requested... yes
checking for msgfmt... /mingw/bin/msgfmt
checking for gmsgfmt... /mingw/bin/msgfmt
checking for xgettext... /mingw/bin/xgettext
checking for msgmerge... /mingw/bin/msgmerge
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.




And this is the 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.60a.  Invocation command line was

  $ ./configure

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

hostname = nome-0c20a03afa
uname -m = i686
uname -r = 1.0.11(0.46/3/2)
uname -s = MINGW32_NT-5.1
uname -v = 2004-04-30 18:55

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

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

PATH: .
PATH: /usr/local/bin
PATH: /mingw/bin
PATH: /bin
PATH: /c/WINDOWS/system32
PATH: /c/WINDOWS
PATH: /c/WINDOWS/System32/Wbem
PATH: /c/Programmi/Diskeeper Corporation/Diskeeper/
PATH: /c/Programmi/File comuni/Adobe/AGL
PATH: /c/Programmi/MySQL/MySQL Server 4.1/bin
PATH:  C
PATH: /PHP
PATH: /c/Programmi/QuickTime/QTSystem/
PATH: /c/Programmi/Microsoft SQL Server/90/Tools/binn/


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

configure:1804: checking for a BSD-compatible install
configure:1860: result: /bin/install -c
configure:1871: checking whether build environment is sane
configure:1914: result: yes
configure:1979: checking for gawk
configure:1995: found /bin/gawk
configure:2006: result: gawk
configure:2017: checking whether make sets $(MAKE)
configure:2038: result: yes
configure:2224: checking whether to enable maintainer-specific portions 
of Makefiles
configure:2233: result: no
configure:2269: checking whether NLS is requested
configure:2278: result: yes
configure:2316: checking for msgfmt
configure:2347: result: /mingw/bin/msgfmt
configure:2356: checking for gmsgfmt
configure:2387: result: /mingw/bin/msgfmt
configure:2427: checking for xgettext
configure:2458: result: /mingw/bin/xgettext
configure:2498: checking for msgmerge
configure:2528: result: /mingw/bin/msgmerge
configure:2591: checking for style of include used by make
configure:2619: result: GNU
configure:2692: checking for gcc
configure:2708: found /mingw/bin/gcc
configure:2719: result: gcc
configure:2957: checking for C compiler version
configure:2964: gcc --version >&5
gcc.exe (GCC) 3.4.2 (mingw-special)
Copyright (C) 2004 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:2967: $? = 0
configure:2974: gcc -v >&5
Reading specs from C:/msys/mingw/bin/../lib/gcc/mingw32/3.4.2/specs
Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as 
--host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads 
--disable-nls --enable-languages=c,c++,f77,ada,objc,java 
--disable-win32-registry --disable-shared --enable-sjlj-exceptions 
--enable-libgcj --disable-java-awt --without-x --enable-java-gc=boehm 
--disable-libgcj-debug --enable-interpreter 
--enable-hash-synchronization --enable-libstdcxx-debug
Thread model: win32
gcc version 3.4.2 (mingw-special)
configure:2977: $? = 0
configure:2984: gcc -V >&5
gcc.exe: `-V' option must have argument
configure:2987: $? = 1
configure:3010: checking for C compiler default output file name
configure:3037: gcc    conftest.c  >&5
gcc.exe: installation problem, cannot exec `as': No such file or directory
configure:3040: $? = 1
configure:3078: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "tinc"
| #define VERSION "1.0.5"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3085: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_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_path_GMSGFMT=/mingw/bin/msgfmt
ac_cv_path_MSGFMT=/mingw/bin/msgfmt
ac_cv_path_MSGMERGE=/mingw/bin/msgmerge
ac_cv_path_XGETTEXT=/mingw/bin/xgettext
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} /C/tinc-1.0.5/missing --run aclocal-1.9 -I m4'
ALLOCA=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /C/tinc-1.0.5/missing --run tar'
AUTOCONF='${SHELL} /C/tinc-1.0.5/missing --run autoconf'
AUTOHEADER='${SHELL} /C/tinc-1.0.5/missing --run autoheader'
AUTOMAKE='${SHELL} /C/tinc-1.0.5/missing --run automake-1.9'
AWK='gawk'
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GMSGFMT='/mingw/bin/msgfmt'
GREP=''
HAVE_TUNTAP=''
INCLUDES=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INTLLIBS=''
LDFLAGS=''
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBS=''
LINUX_IF_TUN_H=''
LN_S=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /C/tinc-1.0.5/missing --run makeinfo'
MKINSTALLDIRS='$(top_builddir)/./mkinstalldirs'
MSGFMT='/mingw/bin/msgfmt'
MSGMERGE='/mingw/bin/msgmerge'
OBJEXT=''
PACKAGE='tinc'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
POSUB=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
USE_NLS='yes'
VERSION='1.0.5'
XGETTEXT='/mingw/bin/xgettext'
ac_ct_CC='gcc'
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='/C/tinc-1.0.5/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE "tinc"
#define VERSION "1.0.5"

configure: exit 77



What's the problem?

Thanks ^^


More information about the tinc mailing list