I'm having two problems with the latest kernel.  I've never tried compiling 
the kernel from the Mandrake source but I read through the documentation in 
the Mandrake reference manual and there weren't any surprises there.  
However, when I tried to 'make xconfig' I get the following:

rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux-2.4.18-14mdk/scripts'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkparse.o 
tkparse.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkcond.o tkcond.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkgen.o tkgen.c
gcc -o tkparse tkparse.o tkcond.o tkgen.o
cat header.tk >> ./kconfig.tk
./tkparse < ../arch/i386/config.in >> kconfig.tk
3rdparty/lirc/Config.in: 11: can't handle dep_bool/dep_mbool/dep_tristate 
condition
make[1]: *** [kconfig.tk] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.18-14mdk/scripts'
make: *** [xconfig] Error 2

I get past this by using 'make menuconfig' instead.  I change only the 
processor type to Athlon (I wanted to start simple and make sure it works 
with minimal changes).  'make dep' completes successfully.  I then run 'make 
clean bzImage modules'.  It fails with the following:

make[1]: Entering directory `/usr/src/linux-2.4.18-14mdk/kernel'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/usr/src/linux-2.4.18-14mdk/kernel'
make -C  drivers CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.18-14mdk/include 
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon  
-DMODULE -DMODVERSIONS -include 
/usr/src/linux-2.4.18-14mdk/include/linux/modversions.h" MAKING_MODULES=1 
modules
make[1]: Entering directory `/usr/src/linux-2.4.18-14mdk/drivers'
make -C atm modules
make[2]: Entering directory `/usr/src/linux-2.4.18-14mdk/drivers/atm'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.18-14mdk/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon  
-DMODULE -DMODVERSIONS -include 
/usr/src/linux-2.4.18-14mdk/include/linux/modversions.h -g -nostdinc -I 
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/include -DKBUILD_BASENAME=eni  
-c -o eni.o eni.c
In file included from /usr/src/linux-2.4.18-14mdk/include/linux/prefetch.h:13,
                 from /usr/src/linux-2.4.18-14mdk/include/linux/list.h:6,
                 from /usr/src/linux-2.4.18-14mdk/include/linux/module.h:12,
                 from eni.c:6:
/usr/src/linux-2.4.18-14mdk/include/asm/processor.h:51: warning: parameter 
names (without types) in function declaration
/usr/src/linux-2.4.18-14mdk/include/asm/processor.h:51: field 
`loops_per_jiffy_R_ver_str' declared as a function
/usr/src/linux-2.4.18-14mdk/include/asm/processor.h:73: nondigits in number 
and not hexadecimal
/usr/src/linux-2.4.18-14mdk/include/asm/processor.h:73: parse error before 
`0657d037'
/usr/src/linux-2.4.18-14mdk/include/asm/processor.h:73: warning: function 
declaration isn't a prototype
/usr/src/linux-2.4.18-14mdk/include/asm/processor.h:253: nondigits in number 
and not hexadecimal
/usr/src/linux-2.4.18-14mdk/include/asm/processor.h:253: parse error before 
`7413793a'
/usr/src/linux-2.4.18-14mdk/include/asm/processor.h:253: warning: function 
declaration isn't a prototype
/usr/src/linux-2.4.18-14mdk/include/asm/processor.h:257: warning: parameter 
names (without types) in function declaration
/usr/src/linux-2.4.18-14mdk/include/asm/processor.h:473: missing white space 
after number `7e9'
/usr/src/linux-2.4.18-14mdk/include/asm/processor.h:473: parse error before 
`7e9'
/usr/src/linux-2.4.18-14mdk/include/asm/processor.h:473: 
`kernel_thread_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.18-14mdk/include/asm/processor.h:473: warning: function 
declaration isn't a prototype
In file included from eni.c:6:
/usr/src/linux-2.4.18-14mdk/include/linux/module.h:183: nondigits in number 
and not hexadecimal
/usr/src/linux-2.4.18-14mdk/include/linux/module.h:183: nondigits in number 
and not hexadecimal
/usr/src/linux-2.4.18-14mdk/include/linux/module.h:183: nondigits in number 
and not hexadecimal
/usr/src/linux-2.4.18-14mdk/include/linux/module.h:183: nondigits in number 
and not hexadecimal
/usr/src/linux-2.4.18-14mdk/include/linux/module.h:183: parse error before 
`62dada05'
/usr/src/linux-2.4.18-14mdk/include/linux/module.h:183: 
`inter_module_register_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.18-14mdk/include/linux/module.h:183: warning: function 
declaration isn't a prototype
/usr/src/linux-2.4.18-14mdk/include/linux/module.h:184: nondigits in number 
and not hexadecimal
/usr/src/linux-2.4.18-14mdk/include/linux/module.h:184: missing white space 
after number `7a9e845'
/usr/src/linux-2.4.18-14mdk/include/linux/module.h:184: parse error before 
`7a9e845'
/usr/src/linux-2.4.18-14mdk/include/linux/module.h:184: 
`inter_module_unregister_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.18-14mdk/include/linux/module.h:184: warning: function 
declaration isn't a prototype
/usr/src/linux-2.4.18-14mdk/include/linux/module.h:185: 
`inter_module_get_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.18-14mdk/include/linux/module.h:185: warning: parameter 
names (without types) in function declaration
/usr/src/linux-2.4.18-14mdk/include/linux/module.h:186: 
`inter_module_get_request_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.18-14mdk/include/linux/module.h:186: warning: parameter 
names (without types) in function declaration
/usr/src/linux-2.4.18-14mdk/include/linux/module.h:187: nondigits in number 
and not hexadecimal
/usr/src/linux-2.4.18-14mdk/include/linux/module.h:187: nondigits in number 
and not hexadecimal
/usr/src/linux-2.4.18-14mdk/include/linux/module.h:187: nondigits in number 
and not hexadecimal
/usr/src/linux-2.4.18-14mdk/include/linux/module.h:187: parse error before 
`6b99f7d8'
/usr/src/linux-2.4.18-14mdk/include/linux/module.h:187: 
`inter_module_put_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.18-14mdk/include/linux/module.h:187: warning: function 
declaration isn't a prototype
/usr/src/linux-2.4.18-14mdk/include/linux/module.h:196: 
`try_inc_mod_count_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.18-14mdk/include/linux/module.h:196: warning: parameter 
names (without types) in function declaration
In file included from /usr/src/linux-2.4.18-14mdk/include/linux/highmem.h:5,
                 from /usr/src/linux-2.4.18-14mdk/include/linux/skbuff.h:27,
                 from /usr/src/linux-2.4.18-14mdk/include/linux/atmdev.h:212,
                 from eni.c:13:
/usr/src/linux-2.4.18-14mdk/include/asm/pgalloc.h: In function `get_pgd_fast':
/usr/src/linux-2.4.18-14mdk/include/asm/pgalloc.h:78: 
`boot_cpu_data_R0657d037' undeclared (first use in this function)
/usr/src/linux-2.4.18-14mdk/include/asm/pgalloc.h:78: (Each undeclared 
identifier is reported only once
/usr/src/linux-2.4.18-14mdk/include/asm/pgalloc.h:78: for each function it 
appears in.)
/usr/src/linux-2.4.18-14mdk/include/asm/pgalloc.h: In function 
`free_pgd_fast':
/usr/src/linux-2.4.18-14mdk/include/asm/pgalloc.h:89: 
`boot_cpu_data_R0657d037' undeclared (first use in this function)
/usr/src/linux-2.4.18-14mdk/include/asm/pgalloc.h: In function 
`pte_alloc_one_fast':
/usr/src/linux-2.4.18-14mdk/include/asm/pgalloc.h:127: 
`boot_cpu_data_R0657d037' undeclared (first use in this function)
/usr/src/linux-2.4.18-14mdk/include/asm/pgalloc.h: In function 
`pte_free_fast':
/usr/src/linux-2.4.18-14mdk/include/asm/pgalloc.h:137: 
`boot_cpu_data_R0657d037' undeclared (first use in this function)
make[2]: *** [eni.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.18-14mdk/drivers/atm'
make[1]: *** [_modsubdir_atm] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.18-14mdk/drivers'
make: *** [_mod_drivers] Error 2


On Monday 06 May 2002 12:08 pm, you wrote:
> --=-=-=
> Name        : kernel-2.4.18.14mdk          Relocations: (not relocateable)
> Version     : 1                                 Vendor: MandrakeSoft
> Release     : 1mdk                          Build Date: Mon May  6 19:49:57
> 2002 Install date: (not installed)               Build Host:
> bi.mandrakesoft.com Group       : System/Kernel and hardware    Source RPM:
> (none)
> Size        : 35287447                         License: GPL
> Packager    : Juan Quintela <[EMAIL PROTECTED]>
> URL         : http://www.kernel.org/
> Summary     : The Linux kernel (the core of the Linux operating system).
> Description :
> The kernel package contains the Linux kernel (vmlinuz), the core of your
> Mandrake Linux operating system.  The kernel handles the basic functions
> of the operating system:  memory allocation, process allocation, device
> input and output, etc.
>
> --=-=-=
>
> * Wed May 01 2002 Juan Quintela <[EMAIL PROTECTED]> 1-1mdk
>
> - xfs 1.1.
> - kenel compiled by user is called x.y.z.amdkcustom instead of
>   overwritting mdk up kernel.
> - freeswan 1.97.
> - remove old iscsi patch and added iscsi-2.1.1.2.
> - 2.4.18.14mdk.

Reply via email to