Hello,

  I'm trying to recompile the 2.4.8-5mdk kernel on an updated MandrakeFreq
#3 box, however I keep getting strange errors. I'm trying to compile in
ACPI for some tests on my laptop. Whenever I type 'make modules' it breaks
spectacularly with errors such as:

gcc -D__KERNEL__ -I/usr/src/linux-2.4.8/include  -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=i686 -fno-merge-constants 
-DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.8/include/linux/modversions.h -g  -c -o eni.o eni.c
In file included from /usr/src/linux-2.4.8/include/asm/processor.h:13,
                 from /usr/src/linux-2.4.8/include/linux/prefetch.h:13,
                 from /usr/src/linux-2.4.8/include/linux/list.h:6,
                 from /usr/src/linux-2.4.8/include/linux/module.h:12,
                 from eni.c:6:
/usr/src/linux-2.4.8/include/asm/page.h:91: nondigits in number and not
hexadecimal
/usr/src/linux-2.4.8/include/asm/page.h:91: nondigits in number and not
hexadecimal
/usr/src/linux-2.4.8/include/asm/page.h:91: nondigits in number and not
hexadecimal
/usr/src/linux-2.4.8/include/asm/page.h:91: nondigits in number and not
hexadecimal
/usr/src/linux-2.4.8/include/asm/page.h:91: parse error before `577f4bff'
<snipped, carries on a good long while>

The strange thing is that the basic kernel compiled ok.

Vers:[root@pere-mobile linux]# rpm -q kernel kernel-headers kernel-source
gcc binutils      

kernel-2.4.6-5mdk
kernel-2.4.8-4mdk
kernel-2.4.8-5mdk
kernel-headers-2.4.8-5mdk
kernel-source-2.4.8-5mdk
gcc-2.96-0.61mdk
binutils-2.11.90.0.8-4mdk

Any help would be appreciated.

Regards,
  David

Reply via email to