I am having problems compiling the mandrake 8.2 kernel on a mandrake 8.2
system I just installed.
I am testing out some mods to the kernel. I haven't modified the
2.4.18-mdk6 sources yet.. as a first step I am just trying to compile the
mandrake kernel sources as a test, using the gcc 2.96.76 compiler that comes
with mandrake 8.2
Using the default config that the installer installed in my /boot directory,
i did make oldconfig, then make dep. make bzImage works fine, but as soon
as i do make modules, I get the following errors:
gcc -D__KERNEL__ -I/usr/src/linux-2.4.18-6mdk-rtl/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-common -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS
-include /usr/src/linux-2.4.18-6mdk-rtl/include/linux/modversions.h
-DKBUILD_BASENAME=loop -DEXPORT_SYMTAB -c loop.c
In file included from
/usr/src/linux-2.4.18-6mdk-rtl/include/linux/prefetch.h:13,
from /usr/src/linux-2.4.18-6mdk-rtl/include/linux/list.h:6,
from
/usr/src/linux-2.4.18-6mdk-rtl/include/linux/module.h:12,
from loop.c:64:
/usr/src/linux-2.4.18-6mdk-rtl/include/asm/processor.h:51: warning:
parameter names (without types) in function declaration
/usr/src/linux-2.4.18-6mdk-rtl/include/asm/processor.h:51: field
`loops_per_jiffy_R_ver_str' declared as a function
In file included from loop.c:64:
/usr/src/linux-2.4.18-6mdk-rtl/include/linux/module.h:183: nondigits in
number and not hexadecimal
/usr/src/linux-2.4.18-6mdk-rtl/include/linux/module.h:183: nondigits in
number and not hexadecimal
/usr/src/linux-2.4.18-6mdk-rtl/include/linux/module.h:183: nondigits in
number and not hexadecimal
/usr/src/linux-2.4.18-6mdk-rtl/include/linux/module.h:183
I looked at the cpp output of the above and the first thing it dies on is
the following:
# 33 "/usr/src/linux-2.4.18-6mdk-rtl/include/asm/processor.h"
struct cpuinfo_x86 {
__u8 x86;
__u8 x86_vendor;
__u8 x86_model;
__u8 x86_mask;
char wp_works_ok;
char hlt_works_ok;
char hard_math;
char rfu;
int cpuid_level;
__u32 x86_capability[4];
char x86_vendor_id[16];
char x86_model_id[64];
int x86_cache_size;
int fdiv_bug;
int f00f_bug;
int coma_bug;
unsigned long loops_per_jiffy_R_ver_str(ba497f13);
unsigned long *pgd_quick;
unsigned long *pmd_quick;
unsigned long *pte_quick;
unsigned long pgtable_cache_sz;
} __attribute__((__aligned__((1 << ((5))))));
The above loops_per_jiffy struct member looks funky.
Anyone else manage to successfully compile this mandrake kernel? Anyone
else have this problem?
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com