Error compiling on FreeRunner - gcc: error trying to exec 'cc1': execvp: No such file or directory

Steven ** montgoss at gmail.com
Sat Jul 19 18:05:01 CEST 2008


I get the following error when I do a ./configure:
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.


What I believe is the relevant portion of the config.log:
configure:2613: checking for gcc
configure:2629: found /usr/bin/gcc
configure:2640: result: gcc
configure:2878: checking for C compiler version
configure:2885: gcc --version >&5
gcc (GCC) 4.1.2
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:2888: $? = 0
configure:2895: gcc -v >&5
Using built-in specs.
Target: arm-angstrom-linux-gnueabi
Configured with:
/space/fic/openmoko-daily/openmoko/work/armv4t-angstrom-linux-gnueabi/gcc-4.1.2-r13/gcc-4.1.2/configure
--build=i686-linux --host=arm-angstrom-linux-gnueabi
--target=arm-angstrom-linux-gnueabi --prefix=/usr --exec_prefix=/usr
--bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec
--datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/usr/com
--localstatedir=/var --libdir=/usr/lib --includedir=/usr/include
--oldincludedir=/usr/include --infodir=/usr/share/info
--mandir=/usr/share/man --with-gnu-ld --enable-shared
--enable-target-optspace --enable-languages=c,c++
--enable-threads=posix --enable-multilib --enable-c99
--enable-long-long --enable-symvers=gnu --enable-libstdcxx-pch
--program-prefix=arm-angstrom-linux-gnueabi- --disable-libssp
--disable-libmudflap --with-float=soft --with-local-prefix=/usr/local
--with-gxx-include-dir=/usr/include/c++/4.1.2 --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.2
configure:2898: $? = 0
configure:2905: gcc -V >&5
gcc: '-V' option must have argument
configure:2908: $? = 1
configure:2931: checking for C compiler default output file name
configure:2958: gcc    conftest.c  >&5
gcc: error trying to exec 'cc1': execvp: No such file or directory
configure:2961: $? = 1
configure:2999: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "openmoko-panel-alarm"
| #define PACKAGE_TARNAME "openmoko-panel-alarm"
| #define PACKAGE_VERSION "0.1"
| #define PACKAGE_STRING "openmoko-panel-alarm 0.1"
| #define PACKAGE_BUGREPORT "http://www.openmoko.org"
| #define PACKAGE "openmoko-panel-alarm"
| #define VERSION "0.1"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3005: error: C compiler cannot create executables



Any ideas?  Using opkg, I've installed gcc, gcc-symlinks, and
bin-utils.  I thought maybe I needed build-essential, but opkg can't
find that.

Thanks,
Steven




More information about the devel mailing list