Error compiling kernel 2.4.26 + openMosix patches in x86_64
Carlos Bernal <[email protected]>
| Newsgroups | gmane.linux.cluster.openmosix.general |
|---|---|
| Organization | CICA |
| Message-ID | <[email protected]> |
Hi all:
Mi name is Carlos and i am new in this list and openMosix.
I'm currently building an openMosix cluster using 8 machines with dual Intel
Xeon EM86T (x86_64 architecture) dual core.
I installed centos 3.7 x86_64 (kernel 2.4.21) and I downloaded kernel 2.4.26
sources and oM patches for that kernel.
Apply patches (no problem here), do "make menuconfig" and "make dep" and then
compilation fails with this error:
gcc -D__KERNEL__ -I/usr/src/linux-2.4.26/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
-mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -finline-limit=2000
-fno-strength-reduce -Wno-sign-compare -fno-asynchronous-unwind-tables -S -o
offset.tmp offset.c
En el fichero incluído de /usr/src/linux-2.4.26/include/linux/fs.h:12,
de /usr/src/linux-2.4.26/include/linux/capability.h:17,
de /usr/src/linux-2.4.26/include/linux/binfmts.h:5,
de /usr/src/linux-2.4.26/include/linux/sched.h:9,
de offset.c:9:
/usr/src/linux-2.4.26/include/linux/wait.h:197:2: #error please fill in: use a
bit that is always set in kernel addresses.
make[2]: *** [offset.h] Error 1
make[2]: Saliendo directorio `/usr/src/linux-2.4.26/arch/x86_64/tools'
make[1]: *** [_sfdep_arch/x86_64/tools] Error 2
make[1]: Saliendo directorio `/usr/src/linux-2.4.26'
make: *** [dep-files] Error 2
Gcc version is 3.2.3 20030502 (Red Hat Linux 3.2.3-54)
Can someone help me?
Thanks a lot