C compiler cannot execute executables

James Takac p3nndrag0n at gmail.com
Tue Aug 28 04:04:41 UTC 2007


On Tuesday 28 August 2007 13:23:55 hong zhang wrote:
> I post config.log.
>
> ## ------------ ##
> ## Core tests.  ##
> ## ------------ ##
>
> configure:1066: PATH=".;."; conftest.sh
> ./configure: 1073: conftest.sh: not found
> configure:1069: $? = 127
> configure:1118: checking build system type
> configure:1136: result: i686-pc-linux-gnulibc1
> configure:1143: checking host system type
> configure:1157: result: i686-pc-linux-gnulibc1
> configure:1165: checking target system type
> configure:1179: result: i686-pc-linux-gnulibc1
> configure:1210: result: Configuring for linux-gnulibc1
> configure:1285: checking for gcc
> configure:1300: found /usr/bin/gcc
> configure:1308: result: gcc
> configure:1536: checking for C compiler version
> configure:1539: gcc --version </dev/null >&5
> gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
> Copyright (C) 2006 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:1542: $? = 0
> configure:1544: gcc -v </dev/null >&5
> Using built-in specs.
> Target: i486-linux-gnu
> Configured with: ../src/configure -v
> --enable-languages=c,c++,fortran,objc,obj-c++,treelang
> --prefix=/usr --enable-shared --with-system-zlib
> --libexecdir=/usr/lib --without-included-gettext
> --enable-threads=posix --enable-nls
> --program-suffix=-4.1 --enable-__cxa_atexit
> --enable-clocale=gnu --enable-libstdcxx-debug
> --enable-mpfr --enable-checking=release i486-linux-gnu
> Thread model: posix
> gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
> configure:1547: $? = 0
> configure:1549: gcc -V </dev/null >&5
> gcc: '-V' option must have argument
> configure:1552: $? = 1
> configure:1572: checking for C compiler default output
> configure:1575: gcc    conftest.c  >&5
> /usr/bin/ld: crt1.o: No such file: No such file or
> directory
> collect2: ld returned 1 exit status
> configure:1578: $? = 1
> configure: failed program was:
> #line 1556 "configure"
> #include "confdefs.h"
>
> int
> main ()
> {
>
>   ;
>   return 0;
> }
> configure:1601: error: C compiler cannot create
> executables
>
> ## ----------------- ##
> ## Cache variables.  ##
> ## ----------------- ##
>
> ac_cv_build='i686-pc-linux-gnulibc1'
> ac_cv_build_alias='i686-pc-linux-gnulibc1'
> 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_host='i686-pc-linux-gnulibc1'
> ac_cv_host_alias='i686-pc-linux-gnulibc1'
> ac_cv_prog_ac_ct_CC='gcc'
> ac_cv_target='i686-pc-linux-gnulibc1'
> ac_cv_target_alias='i686-pc-linux-gnulibc1'
> cf_cv_system_name='linux-gnulibc1'
>
> ## ------------ ##
> ## confdefs.h.  ##
> ## ------------ ##
>
> #define SYSTEM_NAME "linux-gnulibc1"
>
>
> configure: exit 77
>
> --- James Takac <p3nndrag0n at gmail.com> wrote:
> > On Tuesday 28 August 2007 07:22:06 Bruce Ferrell
> >
> > wrote:
> > > hong zhang wrote:
> > > > List,
> > > >
> > > > I just install Ubuntu 7.04 laptop and download
> >
> > lynx. I
> >
> > > > try to run configure. Returns,
> > > >
> > > > ............
> > > > checking for C compiler default
> >
> > output....configure
> >
> > > > error: C compiler cannot execute executables.
> > > >
> > > > I tried several other packages and got same
> >
> > error. But
> >
> > > > no such error in fedora 5.
> > > >
> > > > Do I miss something?
> > > >
> > > > ----henry
>
> _________________________________________________________________________
>
> > > >___________ Need a vacation? Get great deals
> > > > to amazing places on Yahoo! Travel.
> > > > http://travel.yahoo.com/
> > >
> > >  look in config.log
> > >
> > > look for the line where gcc is failing.  be sure
> >
> > you have gcc installed
> >
> > Hi Guys
> >
> > He'll likely find that a needed library isn't yet
> > installed. The log should
> > point to the culprit which can then be installed
> > from the repos.
> >
> > James
> >
> > PS
> > if you can't spot it, maybe cut and paste the
> > section of the log where the
> > failure occurs. One of us will likely see the
> > culprit
> >
> >
> > --
> > ubuntu-users mailing list
> > ubuntu-users at lists.ubuntu.com
> > Modify settings or unsubscribe at:
>
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
>
>
>
> ___________________________________________________________________________
>_________ Pinpoint customers who are looking for what you sell.
> http://searchmarketing.yahoo.com/

Or even libstdc++2.10-glibc2.2




More information about the ubuntu-users mailing list