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

10 messages Options
Embed this post
Permalink
Steven **-3

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

Reply Threaded More More options
Print post
Permalink
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
[hidden email]
https://lists.openmoko.org/mailman/listinfo/devel
Steven **-3

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

Reply Threaded More More options
Print post
Permalink
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
<[hidden email]> 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 ** <[hidden email]> 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
>> [hidden email]
>> https://lists.openmoko.org/mailman/listinfo/devel
>
>
>
> --
> Thanks & kind regards,
> Mahendra P.
> Mob: +44 78260 46167

_______________________________________________
devel mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/devel
Steven **-3

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

Reply Threaded More More options
Print post
Permalink
I'm compiling ON my FreeRunner.

I'm attempting to compile openmoko-alarm-clock from
http://projects.openmoko.org/projects/ringer/
However, I just checked and I get the same error when trying to build
my sudoku app (which is a much simpler app).

-Steven

On Sat, Jul 19, 2008 at 11:45 AM, mahendra panpalia
<[hidden email]> 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 ** <[hidden email]> 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
>> <[hidden email]> 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 ** <[hidden email]> 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
>> >> [hidden email]
>> >> 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

_______________________________________________
devel mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/devel
Steven **-3

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

Reply Threaded More More options
Print post
Permalink
In reply to this post by Steven **-3
~# 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
<[hidden email]> 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 <[hidden email]>
> 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 ** <[hidden email]> 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
>>> <[hidden email]> 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 ** <[hidden email]> 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
>>> >> [hidden email]
>>> >> 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

_______________________________________________
devel mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/devel
Dennis.Yxun

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

Reply Threaded More More options
Print post
Permalink
In reply to this post by Steven **-3
hi, i've tried some too,
install gcc on neo, and try to compile an excutable app
and, same error
i was just curious to do it...

it should be better to use cross-compile scheme
say, build the app on your host machine

just too crazy to build on neo

On Sun, Jul 20, 2008 at 12:40 AM, Steven ** <[hidden email]> wrote:


_______________________________________________
devel mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/devel
Dennis.Yxun

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

Reply Threaded More More options
Print post
Permalink
In reply to this post by Steven **-3
i think u have wrong direction
not try to find "build-essential" ipk for neo.

using Mokomakefile to build package
bitbake is tool u need.

On Sun, Jul 20, 2008 at 12:54 AM, Steven ** <[hidden email]> wrote:


_______________________________________________
devel mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/devel
Steven **-3

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

Reply Threaded More More options
Print post
Permalink
In reply to this post by Steven **-3
I don't have slocate installed and opkg can't find it either.

I figured maybe the equivalent was this:
cd /
ls -R | grep ccl

It doesn't find anything. However, ls -R | grep cc1 does:
libgcc1.control
libgcc1.list
libgcc1.postinst
libgcc1.control
libgcc1.list
libgcc1.postinst
cc1plus


-Steven

On Sat, Jul 19, 2008 at 12:00 PM, mahendra panpalia
<[hidden email]> wrote:

> Are you able to Check the output of , please see in what all directories ccl
> is appearing?
>
> slocate -r /ccl$
> ....
>
>
> On Sat, Jul 19, 2008 at 5:50 PM, Steven ** <[hidden email]> wrote:
>>
>> I'm compiling ON my FreeRunner.
>>
>> I'm attempting to compile openmoko-alarm-clock from
>> http://projects.openmoko.org/projects/ringer/
>> However, I just checked and I get the same error when trying to build
>> my sudoku app (which is a much simpler app).
>>
>> -Steven
>>
>> On Sat, Jul 19, 2008 at 11:45 AM, mahendra panpalia
>> <[hidden email]> 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 ** <[hidden email]> 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
>> >> <[hidden email]> 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 ** <[hidden email]>
>> >> > 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
>> >> >> [hidden email]
>> >> >> 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

_______________________________________________
devel mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/devel
Steven **-3

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

Reply Threaded More More options
Print post
Permalink
I thought I had g++ installed.  But I went ahead and installed cpp.
That seems to have fixed it (at least that error).

Thanks!

-Steven

On Sat, Jul 19, 2008 at 12:07 PM, mahendra panpalia
<[hidden email]> wrote:

> do you have cpp package installed and which one?
>
> On Sat, Jul 19, 2008 at 6:05 PM, Steven ** <[hidden email]> wrote:
>>
>> I don't have slocate installed and opkg can't find it either.
>>
>> I figured maybe the equivalent was this:
>> cd /
>> ls -R | grep ccl
>>
>> It doesn't find anything. However, ls -R | grep cc1 does:
>> libgcc1.control
>> libgcc1.list
>> libgcc1.postinst
>> libgcc1.control
>> libgcc1.list
>> libgcc1.postinst
>> cc1plus
>>
>>
>> -Steven
>>
>> On Sat, Jul 19, 2008 at 12:00 PM, mahendra panpalia
>> <[hidden email]> wrote:
>> > Are you able to Check the output of , please see in what all directories
>> > ccl
>> > is appearing?
>> >
>> > slocate -r /ccl$
>> > ....
>> >
>> >
>> > On Sat, Jul 19, 2008 at 5:50 PM, Steven ** <[hidden email]> wrote:
>> >>
>> >> I'm compiling ON my FreeRunner.
>> >>
>> >> I'm attempting to compile openmoko-alarm-clock from
>> >> http://projects.openmoko.org/projects/ringer/
>> >> However, I just checked and I get the same error when trying to build
>> >> my sudoku app (which is a much simpler app).
>> >>
>> >> -Steven
>> >>
>> >> On Sat, Jul 19, 2008 at 11:45 AM, mahendra panpalia
>> >> <[hidden email]> 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 ** <[hidden email]>
>> >> > 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
>> >> >> <[hidden email]> 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 ** <[hidden email]>
>> >> >> > 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
>> >> >> >> [hidden email]
>> >> >> >> 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
>
>
>
> --
> Thanks & kind regards,
> Mahendra P.
> Mob: +44 78260 46167

_______________________________________________
devel mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/devel
Steven **-3

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

Reply Threaded More More options
Print post
Permalink
In reply to this post by Dennis.Yxun
I tried.  I have OM2007.2 building with the MokoMakefile.  But I still
couldn't build my app.  I guess I don't know how to merge a new app
into the MokoMakefile.  And then, how do I get it back out into an
ipkg?  Or would I have to make a new image that had that one extra
program and re-flash my device every time I need to test a new build
of that app?

-Steven

On Sat, Jul 19, 2008 at 12:04 PM, Dennis. Yxun <[hidden email]> wrote:

> i think u have wrong direction
> not try to find "build-essential" ipk for neo.
>
> using Mokomakefile to build package
> bitbake is tool u need.
>
> On Sun, Jul 20, 2008 at 12:54 AM, Steven ** <[hidden email]> wrote:
>
>
> _______________________________________________
> devel mailing list
> [hidden email]
> https://lists.openmoko.org/mailman/listinfo/devel
>
>

_______________________________________________
devel mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/devel
conanvn1811

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

Reply Threaded More More options
Print post
Permalink
Hi,
I'm a newbie and I have problem with NeoFreerunner when i try to compile software.
The problem is my NeoFreerunner doesn't have gcc inside it. And I wonder what is the package used to install gcc for my NeoFreerunner???

Please tell me what I should install
Thanks all


Steven **-3 wrote:
I tried.  I have OM2007.2 building with the MokoMakefile.  But I still
couldn't build my app.  I guess I don't know how to merge a new app
into the MokoMakefile.  And then, how do I get it back out into an
ipkg?  Or would I have to make a new image that had that one extra
program and re-flash my device every time I need to test a new build
of that app?

-Steven

On Sat, Jul 19, 2008 at 12:04 PM, Dennis. Yxun <dennis.yxun@gmail.com> wrote:
> i think u have wrong direction
> not try to find "build-essential" ipk for neo.
>
> using Mokomakefile to build package
> bitbake is tool u need.
>
> On Sun, Jul 20, 2008 at 12:54 AM, Steven ** <montgoss@gmail.com> wrote:
>
>
> _______________________________________________
> devel mailing list
> devel@lists.openmoko.org
> https://lists.openmoko.org/mailman/listinfo/devel
>
>

_______________________________________________
devel mailing list
devel@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/devel