On Tue, 8 Mar 2005, Mike Liford wrote:

> Installing LFS-5.1.1 on Ultra-5 Sun workstation. In Chapter 8, I am
> trying to compile Linux-2.4.26. I'm using GCC-3.3.3 to generate 64-bit
> code instead of GCC-2.95.3.
>

 With 32-bit userspace, I guess.  Did you build 64-bit versions of
binutils and gcc ? (for the kernel, you are cross-compiling).

> After doing make menuconfig to configure the kernel, issuing make dep
> results in:
>
> root:~/linux-2.4.26# make dep
> /bin/bash: line 1: sparc64-linux-gcc: command not found

 either the 64-bit gcc doesn't exist, or it is misnamed, or not on your
PATH.

> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep
> scripts/mkdep.c
> make -C arch/sparc64/kernel check_asm
> make[1]: Entering directory `/root/linux-2.4.26/arch/sparc64/kernel'
> touch: cannot touch `/root/linux-2.4.26/include/asm/asm_offsets.h': No
> such file or directory
> make[1]: *** [check_asm] Error 1

 Does the include/asm symlink exist ?  I guess it should point to
asm-sparc.  If it does exist, maybe your disk is full ?

Ken
-- 
 das eine Mal als Trag�die, das andere Mal als Farce

--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to