Can't compile kmods
Robert Persson
mol-general@lists.maconlinux.org
Sun, 21 Sep 2003 22:52:53 -0700
Hi.
I recently recompiled my kernel and mol stopped working (even though I
didn't change version because I used the sources that came with my distro).
I have tried recompiling the mol kernel modules and the following happens:
[root@localhost mol-kmods-0.9.68]# make modules
Making all in Linux
In file included from ../../../scripts/buildtools/kuname.c:17:
/usr/include/stdio.h:302: invalid suffix on integer constant
/usr/include/stdio.h:302: parse error before numeric constant
/usr/include/stdio.h:303: `sprintf_R_ver_str' declared as function
returning a function
/usr/include/stdio.h:312: invalid suffix on integer constant
/usr/include/stdio.h:312: parse error before numeric constant
/usr/include/stdio.h:313: `vsprintf_R_ver_str' declared as function
returning a function
/usr/include/stdio.h:319: invalid suffix on integer constant
/usr/include/stdio.h:319: parse error before numeric constant
/usr/include/stdio.h:321: `snprintf_R_ver_str' declared as function
returning a function
/usr/include/stdio.h:323: invalid suffix on integer constant
/usr/include/stdio.h:323: parse error before numeric constant
/usr/include/stdio.h:325: `vsnprintf_R_ver_str' declared as function
returning a function
/usr/include/stdio.h:358: invalid suffix on integer constant
/usr/include/stdio.h:358: parse error before numeric constant
/usr/include/stdio.h:359: `sscanf_R_ver_str' declared as function
returning a function
make[3]: *** [kuname] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [modules_] Error 2
make: *** [modules] Error 2
I am using Yellow Dog 3.0 on a PM8600. I should also point out that I
couldn't compile other modules properly when I was compiling the kernel.
It aborted while trying to build firewire support (but I didn't bother to
do anything about it then because I don't have a firewire card yet).
Any ideas what's wrong?
Many thanks
Robert Persson
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/