[Nix-dev] C compiler cannot create executables
Eelco Visser
visser at cs.uu.nl
Fri Jan 7 22:38:57 CET 2005
Hi,
> could the reply address be set to nix-dev@?
> I don't know who manages this list...
Eelco D. does. I've asked that before ...
So here is the config.log again.
> > > > checking for C compiler default output file name... configure: error: C compiler cannot create executables
> > > > See `config.log' for more details.
> > > >
> > > > Any ideas what might cause this?
> > >
> > > I've seen this before...
> > >
> > > It could be because it cannot find the right headerfiles. config.log should
> > > give you some hints on what exactly goes wrong...
> > >
> > > Could you copy and paste some of that?
> >
> > I've attached all of it.
>
> [cut]
>
> > configure:2377: $? = 1
> > configure:2379: gcc -V </dev/null >&5
> > gcc: couldn't run `/nix/store/1cd733e8f3924b46c2808140528777dc-gcc-3.4.3/bin/i686-pc-linux-gnu-gcc--B/nix/store/e69531bd1d912403794a8bd2ee62ebac-gcc-3.4.3/bin': No such file or directory
>
> This seems to be the culprit.
Apparently, but what does it mean? It seems that there is a space
missing before the --B, but I have no idea where this is triggered.
-- Eelco
------------------------------------------------------------------------
Eelco Visser Institute of Information and Computing Sciences
mail:visser at cs.uu.nl Universiteit Utrecht
or:visser at acm.org P.O. Box 80089, 3508 TB Utrecht, The Netherlands
http://www.cs.uu.nl/~visser/ Phone: +31-30-253 4592 Fax: +31-30-251 3791
------------------------------------------------------------------------
-------------- next part --------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by strategoxt configure 0.13, which was
generated by GNU Autoconf 2.58. Invocation command line was
$ ./configure --prefix=/usr/local/pkg/strategoxt/2005-01-07-17-28 --with-sdf=/home/visser/.nix-profile --with-aterm=/home/visser/.nix-profile
## --------- ##
## Platform. ##
## --------- ##
hostname = linux
uname -m = i686
uname -r = 2.6.5-7.111.19-default
uname -s = Linux
uname -v = #1 Fri Dec 10 15:10:58 UTC 2004
/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: /nix/bin
PATH: /usr/local/build/bibtex/bin
PATH: /home/visser/.scripts
PATH: /usr/local/pkg/strategoxt/current/bin
PATH: /usr/local/pkg/strategoxt/current/libexec
PATH: /usr/local/pkg/strategoxt/current/libexec/strc
PATH: /usr/local/pkg/stratego-shell/current/bin
PATH: /home/visser/.nix-profile/bin
PATH: /nix/bin
PATH: /usr/local/build/strategoxt/bin
PATH: /home/visser/.nix-profile/bin
PATH: /nix/bin
PATH: /nix/bin
PATH: /usr/local/build/bibtex/bin
PATH: /home/visser/.scripts
PATH: /usr/local/pkg/strategoxt/current/bin
PATH: /usr/local/pkg/strategoxt/current/libexec
PATH: /usr/local/pkg/strategoxt/current/libexec/strc
PATH: /usr/local/pkg/stratego-shell/current/bin
PATH: /home/visser/.nix-profile/bin
PATH: /nix/bin
PATH: /usr/local/build/strategoxt/bin
PATH: /home/visser/.nix-profile/bin
PATH: /nix/bin
PATH: /nix/bin
PATH: /usr/local/build/bibtex/bin
PATH: /home/visser/.scripts
PATH: /usr/local/pkg/strategoxt/current/bin
PATH: /usr/local/pkg/strategoxt/current/libexec
PATH: /usr/local/pkg/strategoxt/current/libexec/strc
PATH: /usr/local/pkg/stratego-shell/current/bin
PATH: /home/visser/.nix-profile/bin
PATH: /nix/bin
PATH: /usr/local/build/strategoxt/bin
PATH: /home/visser/.nix-profile/bin
PATH: /nix/bin
PATH: /nix/bin
PATH: /usr/local/build/bibtex/bin
PATH: /home/visser/.scripts
PATH: /usr/local/pkg/strategoxt/current/bin
PATH: /usr/local/pkg/strategoxt/current/libexec
PATH: /usr/local/pkg/strategoxt/current/libexec/strc
PATH: /usr/local/pkg/stratego-shell/current/bin
PATH: /home/visser/.nix-profile/bin
PATH: /nix/bin
PATH: /usr/local/build/strategoxt/bin
PATH: /home/visser/.nix-profile/bin
PATH: /nix/bin
PATH: /home/visser/bin
PATH: /home/visser/bin/i686
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /bin
PATH: /usr/games
PATH: /opt/gnome/bin
PATH: /opt/kde3/bin
PATH: /usr/lib/java/jre/bin
PATH: /home/visser/bin/sh
PATH: /usr/local/pkg/tiger/current/bin
PATH: /usr/local/pkg/dryad/current/bin
PATH: /usr/local/pkg/dryad/current/libexec
PATH: /usr/local/pkg/java-front/current/bin
PATH: /usr/local/pkg/java-front/current/libexec
PATH: /usr/local/pkg/java-borg/current/bin
PATH: /usr/local/pkg/java-borg/current/libexec
PATH: /usr/local/pkg/graphviz/current/bin
PATH: /home/visser/bin/sh
PATH: /usr/local/pkg/tiger/current/bin
PATH: /usr/local/pkg/dryad/current/bin
PATH: /usr/local/pkg/dryad/current/libexec
PATH: /usr/local/pkg/java-front/current/bin
PATH: /usr/local/pkg/java-front/current/libexec
PATH: /usr/local/pkg/java-borg/current/bin
PATH: /usr/local/pkg/java-borg/current/libexec
PATH: /usr/local/pkg/graphviz/current/bin
PATH: /home/visser/bin/sh
PATH: /usr/local/pkg/tiger/current/bin
PATH: /usr/local/pkg/dryad/current/bin
PATH: /usr/local/pkg/dryad/current/libexec
PATH: /usr/local/pkg/java-front/current/bin
PATH: /usr/local/pkg/java-front/current/libexec
PATH: /usr/local/pkg/java-borg/current/bin
PATH: /usr/local/pkg/java-borg/current/libexec
PATH: /usr/local/pkg/graphviz/current/bin
PATH: /home/visser/bin
PATH: /home/visser/bin/sh
PATH: /usr/local/pkg/tiger/current/bin
PATH: /usr/local/pkg/dryad/current/bin
PATH: /usr/local/pkg/dryad/current/libexec
PATH: /usr/local/pkg/java-front/current/bin
PATH: /usr/local/pkg/java-front/current/libexec
PATH: /usr/local/pkg/java-borg/current/bin
PATH: /usr/local/pkg/java-borg/current/libexec
PATH: /usr/local/pkg/graphviz/current/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1561: checking for a BSD-compatible install
configure:1616: result: /usr/bin/install -c
configure:1627: checking whether build environment is sane
configure:1670: result: yes
configure:1703: checking for gawk
configure:1719: found /usr/bin/gawk
configure:1729: result: gawk
configure:1739: checking whether make sets $(MAKE)
configure:1759: result: yes
configure:1929: checking for the SVN revision of the source tree
configure:1935: result: 8525
configure:2096: checking for gcc
configure:2112: found /home/visser/.nix-profile/bin/gcc
configure:2122: result: gcc
configure:2366: checking for C compiler version
configure:2369: gcc --version </dev/null >&5
gcc (GCC) 3.4.3
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:2372: $? = 0
configure:2374: gcc -v </dev/null >&5
Reading specs from /nix/store/1cd733e8f3924b46c2808140528777dc-gcc-3.4.3/lib/gcc/i686-pc-linux-gnu/3.4.3/specs
Configured with: ../gcc-3.4.3/configure --prefix=/nix/store/1cd733e8f3924b46c2808140528777dc-gcc-3.4.3 --enable-languages=c,c++
Thread model: posix
gcc version 3.4.3
/nix/store/1cd733e8f3924b46c2808140528777dc-gcc-3.4.3/libexec/gcc/i686-pc-linux-gnu/3.4.3/collect2 --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 /nix/store/a8a9d585d1ad4b1bc911be7743b3b996-glibc-2.3.3/lib/crt1.o /nix/store/a8a9d585d1ad4b1bc911be7743b3b996-glibc-2.3.3/lib/crti.o /nix/store/1cd733e8f3924b46c2808140528777dc-gcc-3.4.3/lib/gcc/i686-pc-linux-gnu/3.4.3/crtbegin.o -L/home/visser/.nix-profile/include -L/home/visser/.nix-profile/include -L/home/visser/.nix-profile/lib/ -L/usr/lib -L/lib -L/nix/store/e69531bd1d912403794a8bd2ee62ebac-gcc-3.4.3/bin -L/nix/store/a8a9d585d1ad4b1bc911be7743b3b996-glibc-2.3.3/lib -L/nix/store/e69531bd1d912403794a8bd2ee62ebac-gcc-3.4.3/bin -L/nix/store/a8a9d585d1ad4b1bc911be7743b3b996-glibc-2.3.3/lib -L/nix/store/1cd733e8f3924b46c2808140528777dc-gcc-3.4.3/lib/gcc/i686-pc-linux-gnu/3.4.3 -L/nix/store/1cd733e8f3924b46c2808140528777dc-gcc-3.4.3/lib/gcc/i686-pc-linux-gnu/3.4.3/../../.. -L/nix/store/a8a9d585d1ad4b1bc911be7743b3b996-glibc-2.3.3/lib -dynamic-linker /nix/store/a8a9d585d1ad4b1bc911be7743b3b996-glibc-2.3.3/lib/ld-linux.so.2 -L/nix/store/d9fb4991d26edaccf9d63d178dd5bf3a-gcc-3.4.3/lib -L/home/visser/.nix-profile/lib/ -L/usr/lib -L/lib -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /nix/store/1cd733e8f3924b46c2808140528777dc-gcc-3.4.3/lib/gcc/i686-pc-linux-gnu/3.4.3/crtend.o /nix/store/a8a9d585d1ad4b1bc911be7743b3b996-glibc-2.3.3/lib/crtn.o
/nix/store/a8a9d585d1ad4b1bc911be7743b3b996-glibc-2.3.3/lib/crt1.o(.text+0x18): In function `_start':
: undefined reference to `main'
/lib/libc.so.6: undefined reference to `_rtld_global_ro at GLIBC_PRIVATE'
collect2: ld returned 1 exit status
configure:2377: $? = 1
configure:2379: gcc -V </dev/null >&5
gcc: couldn't run `/nix/store/1cd733e8f3924b46c2808140528777dc-gcc-3.4.3/bin/i686-pc-linux-gnu-gcc--B/nix/store/e69531bd1d912403794a8bd2ee62ebac-gcc-3.4.3/bin': No such file or directory
configure:2382: $? = 1
configure:2405: checking for C compiler default output file name
configure:2408: gcc conftest.c >&5
/lib/libc.so.6: undefined reference to `_rtld_global_ro at GLIBC_PRIVATE'
collect2: ld returned 1 exit status
configure:2411: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "strategoxt"
| #define PACKAGE_TARNAME "strategoxt"
| #define PACKAGE_VERSION "0.13"
| #define PACKAGE_STRING "strategoxt 0.13"
| #define PACKAGE_BUGREPORT "stratego-bugs at cs.uu.nl"
| #define PACKAGE "strategoxt"
| #define VERSION "0.13"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2450: 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_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_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/visser/wip/config-install-scripts/StrategoXT/config/missing --run aclocal-1.7'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/visser/wip/config-install-scripts/StrategoXT/config/missing --run tar'
AR=''
ASF_LIBRARY='/home/visser/.nix-profile'
ATERM='/home/visser/.nix-profile'
AUTOCONF='${SHELL} /home/visser/wip/config-install-scripts/StrategoXT/config/missing --run autoconf'
AUTOHEADER='${SHELL} /home/visser/wip/config-install-scripts/StrategoXT/config/missing --run autoheader'
AUTOMAKE='${SHELL} /home/visser/wip/config-install-scripts/StrategoXT/config/missing --run automake-1.7'
AWK='gawk'
BUILD_SRTS_DEST=''
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CORE_ENABLED=''
CPP=''
CPPFLAGS=''
CURL='/usr'
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DIST_PKGS=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTALL_XTC=''
INSTALL_XTC_DEST=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/visser/wip/config-install-scripts/StrategoXT/config/missing --run makeinfo'
OBJEXT=''
PACKAGE='strategoxt'
PACKAGE_BUGREPORT='stratego-bugs at cs.uu.nl'
PACKAGE_NAME='strategoxt'
PACKAGE_STRING='strategoxt 0.13'
PACKAGE_TARNAME='strategoxt'
PACKAGE_VERSION='0.13pre8525'
PATH_SEPARATOR=':'
PGEN='/home/visser/.nix-profile'
PKGS=''
PT_SUPPORT='/home/visser/.nix-profile'
RANLIB=''
REPOSITORY='${prefix}/share/strategoxt/XTC'
SDF='/home/visser/.nix-profile'
SET_MAKE=''
SGLR='/home/visser/.nix-profile'
SHELL='/bin/sh'
STRATEGOXT='/usr/local/pkg/strategoxt/2005-01-07-17-28'
STRC_CORE_PREFIX=''
STRIP=''
SVN_REVISION='8525'
VERSION='0.13pre8525'
XTC2_ENABLED=''
XTC3_ENABLED=''
XTC_DIR=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${prefix}/share'
exec_prefix='NONE'
getopt=''
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/visser/wip/config-install-scripts/StrategoXT/config/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/usr/local/pkg/strategoxt/2005-01-07-17-28'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE "strategoxt"
#define PACKAGE_BUGREPORT "stratego-bugs at cs.uu.nl"
#define PACKAGE_NAME "strategoxt"
#define PACKAGE_STRING "strategoxt 0.13"
#define PACKAGE_TARNAME "strategoxt"
#define PACKAGE_VERSION "0.13"
#define VERSION "0.13"
configure: exit 77
More information about the nix-dev
mailing list