C and C++ compilers not found - Questions

Hi all,

I have installed both GCC and CPP compilers on the
Beagleboard.......But whenever I execute any C file, it gives the
error:

arm-angstrom-linux-gnueabi-gcc: error trying to exec 'cc1': execvp: No
such file or directory

and whenever I try to execure CPP file, it gives the same error saying

arm-angstrom-linux-gnueabi-gcc: error trying to exec 'cc1plus':
execvp: No such file or directory

It says that cc1 and cc1plus are not available........I do not know
how to fix it........Any quick help is appreciated.........

Thanks,
Ramasamy Gopalan.

What are you running on the board (Angstrom, ...)?
How did you install gcc? There's a lot to the compiler beyond just
one binary.

Please keep replies on the mailing list - they way everyone benefits.
Also, top-posting is considered by many (including me) to be evil.

Hi,

I am running Angstrom 2.6.28.......I built this kernel using OE.......

I installed gcc using opkg command on the beagleboard.....i got the gcc binary from the webpage http://www.angstrom-distribution.org/repo/
<http://www.angstrom-distribution.org/repo/?pkgname=alsa-utils-aplay&gt;

Exactly what command did you use to install gcc?
What do you see if you run 'opkg files <pkg>'?

Try installing task-native-sdk.

Philip

I used the commands and the outputs are given below:

root@beagleboard:/# opkg install gcc_4.3.3-r1.1_armv7a.ipk
Multiple packages (gcc and gcc) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (gcc and gcc) providing same name marked HOLD or PREFER. Using latest.
Installing gcc (4.3.3-r1.1) to root…
Configuring gcc
root@beagleboard:/# opkg files gcc_4.3.3-r1.1_armv7a.ipk
Collected errors:

  • Package gcc_4.3.3-r1.1_armv7a.ipk not installed.

But when I see in usr/bin, there is a bin file arm-angstrom-linux-gnueabi-gcc

and in usr/lib and usr/libexec there are folders called gcc…

This is the first time I get the "Collected errors:

  • Package gcc_4.3.3-r1.1_armv7a.ipk not installed." error after running opkg files…When I ran previously, it did not show any errors…It was listing the folders and their paths…

Thanks
Ramasamy Gopalan.