Can't compile kmods

softwatch mol-general@lists.maconlinux.org
Mon, 22 Sep 2003 16:02:58 +0200


Try to link (ln -s) scsi, linux asm from /usr/include to
/usr/src/linux/include.

(http://www.kernel.org/pub/linux/kernel/README)

Greg
----- Original Message -----
From: "Robert Persson" <ireneandrobert@telus.net>
To: <mol-general@lists.maconlinux.org>
Sent: Monday, September 22, 2003 7:52 AM
Subject: Can't compile kmods


> 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/
> _______________________________________________
> mol-general mailing list
> mol-general@lists.maconlinux.org
> http://lists.maconlinux.org/mailman/listinfo/mol-general
>