#45 km do not compile

open
nobody
None
5
2004-05-19
2004-05-19
chrys M.
No

Using Linux kernel 2.4.26
and CVS of km date 19 may 2004 (same problem with the
0.5 release files) :

$ make -f Makefile-2.4

gcc -march=i586 -O2 -Wall -Wstrict-prototypes -pipe
-fno-strict-aliasing -fno-common -DMODULE -D__KERNEL__
-DLINUX -I/usr/src/linux/include -c km.c
In file included from /usr/include/asm/smp.h:18,
from /usr/include/linux/smp.h:17,
from /usr/include/linux/sched.h:23,
from /usr/include/linux/module.h:10,
from km.c:24:
/usr/include/asm/mpspec.h:6:25: mach_mpspec.h: No such
file or directory
In file included from /usr/include/asm/smp.h:18,
from /usr/include/linux/smp.h:17,
from /usr/include/linux/sched.h:23,
from /usr/include/linux/module.h:10,
from km.c:24:
/usr/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES'
undeclared here (not in a function)
[... ]

Maybe I missed something ?

Discussion