[Gllug] compiling 2.5 kernels

Stephen Harker steve at pauken.co.uk
Thu Apr 18 11:16:00 UTC 2002


On Wed, 2002-04-17 at 18:57, Dave Jones wrote:
> On Wed, Apr 17, 2002 at 06:31:40PM +0100, Stephen Harker wrote:
>  > cat header.tk >> ./kconfig.tk
>  > ./tkparse < ../arch/i386/config.in >> kconfig.tk
>  > -: 420: Too many variables defined.
>  > make[1]: *** [kconfig.tk] Error 1
>  > make[1]: Leaving directory `/usr/src/linux-2.5.8/scripts'
>  > make: *** [xconfig] Error 2
>  > [root at abe linux]#
> 
> Ugh, a new one. I'll poke at it after lunch and see what I can figure
> out whats going on.
> 
>  > So I guess it's not my day.
> 
> In the meantime, make menuconfig may work..

OK so make menuconfig works.
To make things a bit quicker, I loaded the config file for my current
2.4.18-mdk Mandrake kernel from /boot/config and poked around in that
and tweaked a few options. It now is in make bzImage and ...
Bollocks! It now gave me an...

gcc -D__KERNEL__ -I/usr/src/linux-2.5.8/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon   
-nostdinc -I /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.0.4/include
-DKBUILD_BASENAME=hpt34x  -c -o hpt34x.o hpt34x.c
hpt34x.c: In function `hpt34x_dmaproc':
hpt34x.c:328: incompatible type for argument 2 of `ide_build_dmatable'
hpt34x.c:328: too few arguments to function `ide_build_dmatable'
hpt34x.c:330: structure has no member named `dmatable_dma'
make[3]: *** [hpt34x.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.5.8/drivers/ide'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.5.8/drivers/ide'
make[1]: *** [_subdir_ide] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.8/drivers'
make: *** [_dir_drivers] Error 2
[root at abe linux]#

So maybe I shouldn't use a config file from 2.4.18! It's possible that
Mandrake has extra patches and associated config options that aren't in
the 2.5.8 source. I'll try again with a start-from-scratch config file.
Back to grindstone
Steve



-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list