* Couldn't find sparc64-linux-gcc
@ 2000-09-26 6:59 YAMAMOTO Taku
2000-09-26 7:18 ` Joshua Uziel
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: YAMAMOTO Taku @ 2000-09-26 6:59 UTC (permalink / raw)
To: ultralinux
Hello,
I'm experiencing difficulties that can't compile
using kernel-source-2.2.16-3.sparc.rpm on RH6.2sparc.
I have done following procedure.
# rpm -ivh kernel-headers-2.2.16-3.sparc.rpm
# rpm -ivh kernel-source-2.2.16-3.sparc.rpm
# cd /usr/src/linux
# ln -s /usr/src/linux/include/asm-sparc64 /usr/include/asm/asm-sparc64
# make mrproper
# make menuconfig
# make vmlinux
sparc64-linux-gcc -D__KERNEL__ -I/usr/src/linux-2.2.16/include -Wall -Wstrict-prototypes -O2 -fomit-frame-point
er -D__SMP__ -pipe -mno-fpu -mtune=ultrasparc -mmedlow -ffixed-g4 -fcall-used-g5 -fcall-used-g7 -Wno-sign-comp
are -c -o init/main.o init/main.c
/bin/bash: sparc64-linux-gcc: command not found
make: *** [init/main.o] Error 127
According to mailinglist,sparc64-linux-gcc exist in /usr/local/bin, but
not found.
Does anyone know complete way to compile linux-kernel with
kernel-sources rpm ?
___________________________________________________________________
Taku Yamamoto
MailTo: yamamoto@layer-seven.com
-
To unsubscribe from this list: send the line "unsubscribe ultralinux" in
the body of a message to majordomo@vger.kernel.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Couldn't find sparc64-linux-gcc
2000-09-26 6:59 Couldn't find sparc64-linux-gcc YAMAMOTO Taku
@ 2000-09-26 7:18 ` Joshua Uziel
2000-09-26 9:59 ` YAMAMOTO Taku
2000-09-27 1:15 ` Joshua Uziel
2 siblings, 0 replies; 4+ messages in thread
From: Joshua Uziel @ 2000-09-26 7:18 UTC (permalink / raw)
To: ultralinux
* YAMAMOTO Taku <yamataku@layer-seven.com> [000925 23:59]:
> I'm experiencing difficulties that can't compile
> using kernel-source-2.2.16-3.sparc.rpm on RH6.2sparc.
>
> /bin/bash: sparc64-linux-gcc: command not found
Very simple ... install the "egcs64" package, which is
egcs64-19980921-4.sparc.rpm for RH 6.2 ... this contains the 64-bit
compiler necesary for compiling the sparc64 kernel.
-
To unsubscribe from this list: send the line "unsubscribe ultralinux" in
the body of a message to majordomo@vger.kernel.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Couldn't find sparc64-linux-gcc
2000-09-26 6:59 Couldn't find sparc64-linux-gcc YAMAMOTO Taku
2000-09-26 7:18 ` Joshua Uziel
@ 2000-09-26 9:59 ` YAMAMOTO Taku
2000-09-27 1:15 ` Joshua Uziel
2 siblings, 0 replies; 4+ messages in thread
From: YAMAMOTO Taku @ 2000-09-26 9:59 UTC (permalink / raw)
To: ultralinux
Hello Joshua-san,
> Very simple ... install the "egcs64" package, which is
> egcs64-19980921-4.sparc.rpm for RH 6.2 ... this contains the 64-bit
> compiler necesary for compiling the sparc64 kernel.
Thank you,this info is very useful for me.
But I have another question.I don't know how to do against following error
msg.
-----
[root@xxx linux-2.2.16rh]# rpm -ivh
/home/yamamoto/archives/kernel/kernel-headers-2.2.16-3.sparc.rpm
kernel-headers ##################################################
You must create /usr/include/asm/asm-sparc* symlinks first.
-----
Because I couldn't compile apache source after install new compiled
kernel.Apache's error msg is follows,
-----
/usr/include/bits/ioctl-types.h:25: asm/ioctls.h: No such file or
directory
In file included from /usr/include/signal.h:300,
from ../include/ap_config.h:1108,
from ../include/httpd.h:71,
from ap_snprintf.c:61:
/usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or directory
In file included from /usr/include/bits/errno.h:25,
from /usr/include/errno.h:36,
from ../include/ap_config.h:1131,
from ../include/httpd.h:71,
from ap_snprintf.c:61:
/usr/include/linux/errno.h:4: asm/errno.h: No such file or directory
make[3]: *** [ap_snprintf.o] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/local/src/apache_1.3.12/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/src/apache_1.3.12'
make: *** [build] Error 2
-----
Thanks in advance.
___________________________________________________________________
Taku Yamamoto
MailTo: yamamoto@layer-seven.com
-
To unsubscribe from this list: send the line "unsubscribe ultralinux" in
the body of a message to majordomo@vger.kernel.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Couldn't find sparc64-linux-gcc
2000-09-26 6:59 Couldn't find sparc64-linux-gcc YAMAMOTO Taku
2000-09-26 7:18 ` Joshua Uziel
2000-09-26 9:59 ` YAMAMOTO Taku
@ 2000-09-27 1:15 ` Joshua Uziel
2 siblings, 0 replies; 4+ messages in thread
From: Joshua Uziel @ 2000-09-27 1:15 UTC (permalink / raw)
To: ultralinux
* YAMAMOTO Taku <yamataku@layer-seven.com> [000926 03:00]:
> [root@xxx linux-2.2.16rh]# rpm -ivh
> /home/yamamoto/archives/kernel/kernel-headers-2.2.16-3.sparc.rpm
>
> kernel-headers ##################################################
> You must create /usr/include/asm/asm-sparc* symlinks first.
Hmm... look at the kernel source rpm's specfile to see why it
would give this error.
> /usr/include/bits/ioctl-types.h:25: asm/ioctls.h: No such file or
> directory
Look in /usr/include/asm and see if it's contents are fishy. It
sounds like you may need to do something like go into /usr/include
and run:
ln -s /usr/src/linux/include/asm-sparc asm
... or something like that.
> /usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or directory
Same problem again...
> /usr/include/linux/errno.h:4: asm/errno.h: No such file or directory
... and again ...
See if the problem is obvious and fixable... if you continue to have
problems with this, drop me and email and we'll go from there I guess...
-
To unsubscribe from this list: send the line "unsubscribe ultralinux" in
the body of a message to majordomo@vger.kernel.org
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-09-27 1:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-26 6:59 Couldn't find sparc64-linux-gcc YAMAMOTO Taku
2000-09-26 7:18 ` Joshua Uziel
2000-09-26 9:59 ` YAMAMOTO Taku
2000-09-27 1:15 ` Joshua Uziel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox