This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

configure error installing atemu: C compiler cannot create executables


i'm trying to install atemu on cygwin using the command

 ./configure

however i get the following error

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
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.

the config log is displayed below


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by atemu configure 0.4-mf4, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure

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

hostname = Rimsha-PC
uname -m = i686
uname -r = 1.7.17(0.262/5/3)
uname -s = CYGWIN_NT-6.2
uname -v = 2012-10-19 14:39

/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/bin
PATH: /usr/bin
PATH: /cygdrive/d/Windows/system32
PATH: /cygdrive/d/Windows
PATH: /cygdrive/d/Windows/System32/Wbem
PATH: /cygdrive/d/Windows/System32/WindowsPowerShell/v1.0
PATH: /usr/lib/lapack


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

configure:1370: checking for a BSD-compatible install
configure:1425: result: /usr/bin/install -c
configure:1436: checking whether build environment is sane
configure:1479: result: yes
configure:1544: checking for gawk
configure:1560: found /usr/bin/gawk
configure:1570: result: gawk
configure:1580: checking whether make sets $(MAKE)
configure:1600: result: yes
configure:1837: checking for gcc
configure:1853: found /usr/bin/gcc
configure:1863: result: gcc
configure:2107: checking for C compiler version
configure:2110: gcc --version </dev/null >&5
gcc (GCC) 4.5.3
Copyright (C) 2010 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:2113: $? = 0
configure:2115: gcc -v </dev/null >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/4.5.3/lto-wrapper.exe
Target: i686-pc-cygwin
Configured with:
/gnu/gcc/releases/respins/4.5.3-3/gcc4-4.5.3-3/src/gcc-4.5.3/configure
--srcdir=/gnu/gcc/releases/respins/4.5.3-3/gcc4-4.5.3-3/src/gcc-4.5.3
--prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--libexecdir=/usr/lib --datadir=/usr/share --localstatedir=/var
--sysconfdir=/etc --datarootdir=/usr/share
--docdir=/usr/share/doc/gcc4 -C --datadir=/usr/share
--infodir=/usr/share/info --mandir=/usr/share/man -v --with-gmp=/usr
--with-mpfr=/usr --enable-bootstrap
--enable-version-specific-runtime-libs --libexecdir=/usr/lib
--enable-static --enable-shared --enable-shared-libgcc
--disable-__cxa_atexit --with-gnu-ld --with-gnu-as --with-dwarf2
--disable-sjlj-exceptions
--enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++
--enable-graphite --enable-lto --enable-java-awt=gtk --disable-symvers
--enable-libjava --program-suffix=-4 --enable-libgomp --enable-libssp
--enable-libada --enable-threads=posix --with-arch=i686
--with-tune=generic --enable-libgcj-sublibs CC=gcc-4 CXX=g++-4
CC_FOR_TARGET=gcc-4 CXX_FOR_TARGET=g++-4 GNATMAKE_FOR_TARGET=gnatmake
GNATBIND_FOR_TARGET=gnatbind --with-ecj-jar=/usr/share/java/ecj.jar
Thread model: posix
gcc version 4.5.3 (GCC)
configure:2118: $? = 0
configure:2120: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2123: $? = 1
configure:2146: checking for C compiler default output file name
configure:2149: gcc    conftest.c  >&5
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld:
cannot find -luser32
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld:
cannot find -lkernel32
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld:
cannot find -ladvapi32
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld:
cannot find -lshell32
collect2: ld returned 1 exit status
configure:2152: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "atemu"
| #define PACKAGE_TARNAME "atemu"
| #define PACKAGE_VERSION "0.4-mf4"
| #define PACKAGE_STRING "atemu 0.4-mf4"
| #define PACKAGE_BUGREPORT "miguel@cetuc.puc-rio.br"
| #define PACKAGE "atemu"
| #define VERSION "0.4-mf4"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2191: 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_install='/usr/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} /atemu-0.4-mf4/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /atemu-0.4-mf4/missing --run tar'
AUTOCONF='${SHELL} /atemu-0.4-mf4/missing --run autoconf'
AUTOHEADER='${SHELL} /atemu-0.4-mf4/missing --run autoheader'
AUTOMAKE='${SHELL} /atemu-0.4-mf4/missing --run automake-1.9'
AWK='gawk'
CC='gcc'
CCDEPMODE=''
CC_SHAREDFLAG=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='cygpath -w'
DEFS=''
DEPDIR=''
DLLIBS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GLIB_CFLAGS=''
GLIB_GENMARSHAL=''
GLIB_LIBS=''
GLIB_MKENUMS=''
GOBJECT_QUERY=''
GTK_CFLAGS=''
GTK_LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBELF_CFLAGS=''
LIBELF_LIBS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /atemu-0.4-mf4/missing --run makeinfo'
OBJEXT=''
PACKAGE='atemu'
PACKAGE_BUGREPORT='miguel@cetuc.puc-rio.br'
PACKAGE_NAME='atemu'
PACKAGE_STRING='atemu 0.4-mf4'
PACKAGE_TARNAME='atemu'
PACKAGE_VERSION='0.4-mf4'
PATH_SEPARATOR=':'
PKG_CONFIG=''
SET_MAKE=''
SHELL='/bin/sh'
SOCFLAGS=''
SOEXT=''
STRIP=''
VERSION='0.4-mf4'
XML2_CONFIG=''
XML_CPPFLAGS=''
XML_LIBS=''
ac_ct_CC='gcc'
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
appdir='${prefix}/share/atemu/apps'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
confdir='${prefix}/share/atemu/conf'
datadir='${prefix}/share/atemu'
devicedir='${prefix}/share/atemu/devices'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/atemu-0.4-mf4/install-sh'
libdir='${exec_prefix}/lib'
libelf_cflags=''
libelf_library=''
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,'
rundir='${prefix}/share/atemu/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

#define PACKAGE "atemu"
#define PACKAGE_BUGREPORT "miguel@cetuc.puc-rio.br"
#define PACKAGE_NAME "atemu"
#define PACKAGE_STRING "atemu 0.4-mf4"
#define PACKAGE_TARNAME "atemu"
#define PACKAGE_VERSION "0.4-mf4"
#define VERSION "0.4-mf4"

configure: exit 77

please help me fix this problem.
thanks

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]