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:54:26 CEST 2008


~# opkg install build-essential
An error ocurred, return value: 2.

Which package am I supposed to install?

-Steven

On Sat, Jul 19, 2008 at 11:50 AM, mahendra panpalia
<panpaliamahen at gmail.com> wrote:
> first thing is to make sure that build essential is installed, then it will
> easy to find missing package...
>
> On Sat, Jul 19, 2008 at 5:45 PM, mahendra panpalia <panpaliamahen at gmail.com>
> wrote:
>>
>> pls give me more input, for what application are you doing this and which
>> flair of linux(redhet, ubantu etc) are you using?
>>
>> On Sat, Jul 19, 2008 at 5:40 PM, Steven ** <montgoss at gmail.com> wrote:
>>>
>>> And which package contains ccl?  You realize it's a 1 (one) not an L,
>>> right?
>>>
>>> I did check something else:
>>> ~# opkg install libgcc1
>>> Package libgcc1 (4.1.2-r17) installed in root is up to date.
>>>
>>>
>>> -Steven
>>>
>>> On Sat, Jul 19, 2008 at 11:25 AM, mahendra panpalia
>>> <panpaliamahen at gmail.com> wrote:
>>> > i think you are missing ccl binary....
>>> > so check the package containing ccl binary.
>>> >
>>> >
>>> >
>>> > On Sat, Jul 19, 2008 at 5:05 PM, Steven ** <montgoss at gmail.com> wrote:
>>> >>
>>> >> 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
>>> >>
>>> >> _______________________________________________
>>> >> devel mailing list
>>> >> devel at lists.openmoko.org
>>> >> https://lists.openmoko.org/mailman/listinfo/devel
>>> >
>>> >
>>> >
>>> > --
>>> > Thanks & kind regards,
>>> > Mahendra P.
>>> > Mob: +44 78260 46167
>>
>>
>>
>> --
>> Thanks & kind regards,
>> Mahendra P.
>> Mob: +44 78260 46167
>
>
> --
> Thanks & kind regards,
> Mahendra P.
> Mob: +44 78260 46167




More information about the devel mailing list