i am trying to compile a patched 2.4.23-pre9 kernel for my nx9005 laptop.
unfortunately i get this error when doing 'make bzImage':
make CFLAGS="-D__KERNEL__ -I/root/kernels/linux-2.4.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon " -C arch/i386/kernel
make: Entering directory `/root/kernels/linux-2.4.22/arch/i386/kernel'
gcc -D__KERNEL__ -I/root/kernels/linux-2.4.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -nostdinc -iwithprefix include -DKBUILD_BASENAME=setup -DEXPORT_SYMTAB -c setup.c
setup.c: In function `setup_arch':
setup.c:1162: dereferencing pointer to incomplete type
setup.c:1162: `ist_info' has an incomplete type
/root/kernels/linux-2.4.22/include/asm/string.h: At top level:
setup.c:160: storage size of `ist_info' isn't known
make: *** [setup.o] Error 1
make: Leaving directory `/root/kernels/linux-2.4.22/arch/i386/kernel'
make: *** [_dir_arch/i386/kernel] Error 2
it might be necessary for you to know some more details, so here they are:
- gcc --version: gcc 3.2.3
- applied kernel patches (starting from a 'virgin' stable 2.4.22):
- mppe-mppc-patch from http://www.polbox.com/h/hs001/#AEN45
- 2.4.23-pre9 patch from www.kernel.org
- latest cpufreq-patch from http://ftp.linux.org.uk/pub/linux/cpufreq/
(this patch did not apply "cleanly"- he could not apply some humks or so...)
- prism54 (for 2.4.23-pre9 kernels) from www.prism54.org
i guess the compilation error has something to do with the cpufreq-patch that did not
perhaps i downloaded the wrong one!? has anybody any experience in getting cpufreq
support on 2.4.23-pre9 kernels?
i mean would also use 2.4.22-ac (because it has cpufreq support) IF anyone could tell me
where to get the prism54 driver for 2.4.22 kernels!
thanks for you help (already in advance...)