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

Re: Compiling a kernel

> cd /usr/src/linux
> make menuconfig (again, whatever you prefer)
> make-kpkg kernel-image
> cd ..
> dpkg -i kernel-image-x.x.x_sparc.deb

I installed egcs-sparc64, now I am get this error after
make-kpkg kernel-image
make[2]: Entering directory `/usr/src/kernel-source-2.4.9/arch/sparc64/kernel'
sparc64-linux-gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.9/include -Wall -
Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-
aliasing -fno-common -m64 -pipe -mno-fpu -mcpu=ultrasparc -mcmodel=medlow -
ffixed-g4 -fcall-used-g5 -fcall-used-g7 -Wno-sign-compare -Wa,--undeclared-
regs    -DEXPORT_SYMTAB -c sparc64_ksyms.c
sparc64_ksyms.c:166: `atomic_dec_and_lock' undeclared here (not in a function)
sparc64_ksyms.c:166: initializer element for 
`__ksymtab_atomic_dec_and_lock.value' is not constant
make[2]: *** [sparc64_ksyms.o] Error 1
make[2]: Leaving directory `/usr/src/kernel-source-2.4.9/arch/sparc64/kernel'
make[1]: *** [_dir_arch/sparc64/kernel] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.9'
make: *** [stamp-build] Error 2
I have installed kernel-source-2.4.9, the ext3-patch and the headers.
But I have no /usr/src/linux directory.

Can someone enlighten me?

Hakan Kuecuekyilmaz, presently intern at 
Tecnomatix Technologies Germany | Tel: +49 711 1389- 257
Mittlerer Pfad 9                | <hakan@lisas.de>
70 499 Stuttgart                | <hkuecuekyilmaz@tecnomatix.de>

This mail sent through IMP: webmail.fht-esslingen.de

Reply to: