Hi I'm trying to compile a recent Mandrake kernel. The system is Mandrake 7.2 .
The computer did not have /boot/kernel.h . I got an error from some include file trying to include it (include/linux/rhconfig.h) . It seems to be vcreated at boot-time by the init scripts, and is used to give the parameters of the current kernel (e.g: is it SMP), because this kernel has passed the "ultimate test" of booting the system. However, my system did not have it. I tried to use an empty file and got some compile errors. Then I decided to copy /boot/kernel.h from another system that has a similar kernel, but more recent init scripts. However, I still get compilation errors that seem related: half-way in the compilation I get: /usr/src/linux-2.4.13/include/asm/pgalloc.h: In function `get_pgd_fast': /usr/src/linux-2.4.13/include/asm/pgalloc.h:74: `boot_cpu_data_R65dda927' undeclared (first use in this function) /usr/src/linux-2.4.13/include/asm/pgalloc.h:74: (Each undeclared identifier is reported only once /usr/src/linux-2.4.13/include/asm/pgalloc.h:74: for each function it appears in.) /usr/src/linux-2.4.13/include/asm/pgalloc.h: In function `free_pgd_fast': /usr/src/linux-2.4.13/include/asm/pgalloc.h:85: `boot_cpu_data_R65dda927' undeclared (first use in this function) /usr/src/linux-2.4.13/include/asm/pgalloc.h: In function `pte_alloc_one_fast': /usr/src/linux-2.4.13/include/asm/pgalloc.h:122: `boot_cpu_data_R65dda927' undeclared (first use in this function) /usr/src/linux-2.4.13/include/asm/pgalloc.h: In function `pte_free_fast': /usr/src/linux-2.4.13/include/asm/pgalloc.h:132: `boot_cpu_data_R65dda927' undeclared (first use in this function) loop.c: In function `lo_send': loop.c:536: warning: suggest parentheses around + or - inside shift loop.c: In function `loop_set_fd': loop.c:950: warning: implicit declaration of function `kernel_thread_R7e9ebb05' make[2]: *** [loop.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.4.13/drivers/block' A web search hasn't produced useful results yet. I tried to see how I can disable this usage of the current configuration, but I can't find a simple way. Anybody here encountered this before? I rather simply disable this copying of options. Any iea how? Thanks -- Tzafrir Cohen mailto:[EMAIL PROTECTED] http://www.technion.ac.il/~tzafrir ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
