[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Configuring and compiling kernel fails on ultra 1




Hello list,

something on my newly installed Ultra1 is going very wrong. I am running 
sarge on kernel 2.4.18 and want to upgrade to kernel 2.2.20, but when I 
run 'make menuconfig' I get the below output. It stops at this 
'.....done.' and nothing more. when I do a 'strace' it also stops there 
and no further info.
So I did 'make xconfig' and got another error. Also pasted below. Well, 
then I did 'make config' and that at least worked. But then after 
configuring I run 'make dep' and it stops with an error, which looks like 
a bug to me, but as sarge is pretty "stable", I cannot really believe it.

Now the error messages, in chronological order, I hope someone knows what 
is going on:


---------------------------
make menuconfig
---------------------------

shadow:/usr/src/kernel-source-2.4.22# make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-sparc64 asm)
make -C scripts/lxdialog all
make[1]: Entering directory 
`/usr/src/kernel-source-2.4.22/scripts/lxdialog'
make[1]: Leaving directory 
`/usr/src/kernel-source-2.4.22/scripts/lxdialog'
/bin/sh scripts/Menuconfig arch/sparc64/config.in
Using defaults found in .config
Preparing scripts: functions, 
parsing........................................................done.
make: *** [menuconfig] Error 1

(note: the last line appears after I hit CTRL-C)


---------------------------
make xconfig
---------------------------

shadow:/usr/src/kernel-source-2.4.22# make xconfig
rm -f include/asm
( cd include ; ln -sf asm-sparc64 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/kernel-source-2.4.22/scripts'
cat header.tk >> ./kconfig.tk
./tkparse < ../arch/sparc64/config.in >> kconfig.tk
/bin/sh: line 1: ./tkparse: cannot execute binary file
make[1]: *** [kconfig.tk] Error 126
make[1]: Leaving directory `/usr/src/kernel-source-2.4.22/scripts'
make: *** [xconfig] Error 2
shadow:/usr/src/kernel-source-2.4.22#


--------------------------------
make dep
--------------------------------

shadow:/usr/src/kernel-source-2.4.22# make dep       
make -C arch/sparc64/kernel check_asm
make[1]: Entering directory 
`/usr/src/kernel-source-2.4.22/arch/sparc64/kernel'
gcc -E -D__KERNEL__ -I/usr/src/kernel-source-2.4.22/include -P tmp.c -o 
tmp.i
/bin/sh ./check_asm.sh -data task tmp.i check_asm_data.c
/bin/sh ./check_asm.sh -data mm tmp.i check_asm_data.c
/bin/sh ./check_asm.sh -data thread tmp.i check_asm_data.c
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.22/include -m64 
-mcmodel=medlow -ffixed-g4 -S -o check_asm_data.s check_asm_data.c
/bin/sh ./check_asm.sh -ints check_asm_data.s check_asm.c
/bin/sh ./check_asm.sh -printf task tmp.i check_asm.c
/bin/sh ./check_asm.sh -printf mm tmp.i check_asm.c
/bin/sh ./check_asm.sh -printf thread tmp.i check_asm.c
gcc -o check_asm check_asm.c
check_asm.c:312: error: field name not in record or union initializer
check_asm.c:312: error: (near initialization for `check_asm_data')
check_asm.c:313: warning: initialization makes integer from pointer 
without a cast
check_asm.c:313: error: initializer element is not computable at load time
check_asm.c:313: error: (near initialization for `check_asm_data[307]')
make[1]: *** [check_asm] Error 1
make[1]: Leaving directory 
`/usr/src/kernel-source-2.4.22/arch/sparc64/kernel'
make: *** [check_asm] Error 2
shadow:/usr/src/kernel-source-2.4.22#



Reply to: