View previous topic :: View next topic |
Author |
Message |
dj604 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Mar 2004 Posts: 26 Location: milwaukee
|
Posted: Tue Mar 29, 2005 12:57 pm Post subject: missing cc1 on sgi octane? |
|
|
Ok - when I do a make oldconfig to get ready to start building the kernel (I also get the same error with make menuconfig), i get the following:
cat: /dev/null: No such file or directory
cat: /dev/null: No such file or directory
HOSTCC scripts/basic/fixdep
gcc: installation problem, cannot exec `cc1': No such file or directory
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
cc1 is nowhere to be found. I downloaded some older stages as well, none of which had cc1.
Am I supposed to have it? Can I build it manually?
Here's my make.conf- is something missing here, or supposed to be here: (note- i've changed a few things around in an attempt to get this working)
CFLAGS="-O2 -march=mips4 -mabi=32"
CHOST="mips-unknown-linux-gnu"
MAKEOPTS="-j2"
USE="ip30"
ACCEPT_KEYWORDS="~mips"
CXXFLAGS="${CFLAGS}"
i'd appreciate any help, as I've been banging my head against this for a few days..
thanks! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Kumba Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/1715031645405a804711567.gif)
Joined: 16 Jul 2002 Posts: 393 Location: Sigma 957
|
Posted: Tue Mar 29, 2005 2:44 pm Post subject: |
|
|
Try:
If you see something similar to this:
Code: | -rwxr-xr-x 1 root root 4K Mar 23 03:40 /dev/null |
Then it's possible you hit our rather annoying gcc bug whereby a ./configure check of
gcc conftest.c > /dev/null winds up converting /dev/null to a normal file on mips and hppa archs only.
If it's a file, do this:
Code: | # rm -f /dev/null
# mknod /dev/null c 1 3
# ls -l /dev/null
crw-rw-rw- 1 root root 1, 3 Mar 23 03:41 /dev/null |
If cc1 is still "missing", then:
Code: | # gcc-config -l
[1] mips-unknown-linux-gnu-3.3.3
[2] mips-unknown-linux-gnu-3.4.3-20050110 *
[3] mips-unknown-linux-gnu-3.4.3-20050110-hardened
[4] mips-unknown-linux-gnu-3.4.3-20050110-hardenednopie
[5] mips-unknown-linux-gnu-3.4.3-20050110-hardenednossp
# gcc-config 2
* Switching to mips-unknown-linux-gnu-3.4.3-20050110 compiler ... [ ok ]
# source /etc/profile |
See if the above works, might help things. Remeber, the gcc versions displayed above are relative. Your listed versions may vary. And please, stay off the hardened* toolchains unless you want to help test those. They aren't as thoroughly tested as our primary toolchains, and may introduce odd bugs.
--Kumba _________________ "The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between."
--Emperor Turhan, Centauri Republic |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|