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]

confdefs.h failure during configure


Hello,

I have recently installed CygWin to evaluate BCU SDK package. There are
some additional packages that I need to install beside SDK. 

All packages are .tar.gz packages that I have unpacked using tar and
now need to configure the install files. I am getting the same response
every time when it gets to the attempt to test compile using gcc.
Invoking gcc from the bash command prompt seems to work but the
compiling doesn't work due to rights issue I think.

Can someone please help me to get this working? (I'm a novice Linux
person)

Below is the content of config.log file for one of the packages (argp).

Much appreciated
Colin

---FROM 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 argp configure standalone-1.3, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ../configure 

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

hostname = chaos
uname -m = i686
uname -r = 1.5.24(0.156/4/2)
uname -s = CYGWIN_NT-5.1
uname -v = 2007-01-31 10:57

/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: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /cygdrive/c/WINDOWS/system32
PATH: /cygdrive/c/WINDOWS
PATH: /cygdrive/c/WINDOWS/System32/Wbem
PATH: /cygdrive/c/Program Files/QuickTime/QTSystem/
PATH: /cygdrive/c/Program Files/smartmontools/bin


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

configure:1353: checking for a BSD-compatible install
configure:1408: result: /usr/bin/install -c
configure:1419: checking whether build environment is sane
configure:1462: result: yes
configure:1527: checking for gawk
configure:1543: found /usr/bin/gawk
configure:1553: result: gawk
configure:1563: checking whether make sets $(MAKE)
configure:1583: result: yes
configure:1812: checking for gcc
configure:1828: found /usr/bin/gcc
configure:1838: result: gcc
configure:2082: checking for C compiler version
configure:2085: gcc --version </dev/null >&5
gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
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:2088: $? = 0
configure:2090: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with:
/usr/build/package/orig/test.respin/gcc-3.4.4-3/configure --verbose
--prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib
--libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info
--enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls
--without-included-gettext --enable-version-specific-runtime-libs
--without-x --enable-libgcj --disable-java-awt --with-system-zlib
--enable-interpreter --disable-libgcj-debug --enable-threads=posix
--enable-java-gc=boehm --disable-win32-registry
--enable-sjlj-exceptions --enable-hash-synchronization
--enable-libstdcxx-debug
Thread model: posix
gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
configure:2093: $? = 0
configure:2095: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2098: $? = 1
configure:2121: checking for C compiler default output file name
configure:2124: gcc    conftest.c  >&5
      4 [main] ? 3824 init_cheap: Couldn't reserve 3600336 bytes of
space for cygwin's heap, Win32 error 487
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1.exe (3824): ***
AllocationBase 0x0, BaseAddress 0x61820000, RegionSize 0x360000, State
0x10000

      3 [main] ? 3880 init_cheap: Couldn't reserve 3600336 bytes of
space for cygwin's heap, Win32 error 487
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1.exe (3880): ***
AllocationBase 0x0, BaseAddress 0x61820000, RegionSize 0x360000, State
0x10000

      4 [main] ? 3872 init_cheap: Couldn't reserve 3600336 bytes of
space for cygwin's heap, Win32 error 487
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1.exe (3872): ***
AllocationBase 0x0, BaseAddress 0x61820000, RegionSize 0x360000, State
0x10000

      3 [main] ? 3836 init_cheap: Couldn't reserve 3600336 bytes of
space for cygwin's heap, Win32 error 487
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1.exe (3836): ***
AllocationBase 0x0, BaseAddress 0x61820000, RegionSize 0x360000, State
0x10000

      4 [main] ? 3864 init_cheap: Couldn't reserve 3600336 bytes of
space for cygwin's heap, Win32 error 487
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1.exe (3864): ***
AllocationBase 0x0, BaseAddress 0x61820000, RegionSize 0x360000, State
0x10000

      3 [main] ? 3896 init_cheap: Couldn't reserve 3600336 bytes of
space for cygwin's heap, Win32 error 487
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\cc1.exe (3896): ***
AllocationBase 0x0, BaseAddress 0x61820000, RegionSize 0x360000, State
0x10000

configure:2127: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "argp"
| #define PACKAGE_TARNAME "argp"
| #define PACKAGE_VERSION "standalone-1.3"
| #define PACKAGE_STRING "argp standalone-1.3"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "argp"
| #define VERSION "standalone-1.3"
| #define _GNU_SOURCE 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2166: 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} /home/User/argp-standalone-1.3/missing --run
aclocal-1.9'
ALLOCA=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/User/argp-standalone-1.3/missing --run tar'
AUTOCONF='${SHELL} /home/User/argp-standalone-1.3/missing --run
autoconf'
AUTOHEADER='${SHELL} /home/User/argp-standalone-1.3/missing --run
autoheader'
AUTOMAKE='${SHELL} /home/User/argp-standalone-1.3/missing --run
automake-1.9'
AWK='gawk'
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='cygpath -w'
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/User/argp-standalone-1.3/missing --run
makeinfo'
OBJEXT=''
PACKAGE='argp'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='argp'
PACKAGE_STRING='argp standalone-1.3'
PACKAGE_TARNAME='argp'
PACKAGE_VERSION='standalone-1.3'
PATH_SEPARATOR=':'
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='standalone-1.3'
ac_ct_CC='gcc'
ac_ct_RANLIB=''
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 -'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/User/argp-standalone-1.3/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 "argp"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "argp"
#define PACKAGE_STRING "argp standalone-1.3"
#define PACKAGE_TARNAME "argp"
#define PACKAGE_VERSION "standalone-1.3"
#define VERSION "standalone-1.3"
#define _GNU_SOURCE 1

configure: exit 77
-- 
View this message in context: http://www.nabble.com/confdefs.h-failure-during-configure-tf4067588.html#a11558242
Sent from the Cygwin Users mailing list archive at Nabble.com.


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


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