Hi folks. I'm having a problem compiling Linux 2.4.8 and .9 on my Ultra1 running sid. I've tried the debianized kernel-source packages, as well as the source from kernel.org, with the same results. The compiler error, which occurs pretty late in the build process, is this: 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.csparc64_ksyms.c:166: `atomic_dec_and_lock' undeclared here (not in a function) sparc64_ksyms.c:166: initializer element is not constant sparc64_ksyms.c:166: (near initialization for `__ksymtab_atomic_dec_and_lock.value') 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 sparc64-linux-gcc --version gives: 3.0.2. Am I using the wrong compiler? This doesn't seem like a compiler incompatibility, but maybe... Thanks in advance. noah -- _______________________________________________________ | Web: http://web.morgul.net/~frodo/ | PGP Public Key: http://web.morgul.net/~frodo/mail.html
Attachment:
pgpjRRaTmupQV.pgp
Description: PGP signature