MoL on 2.6.6-rc1 does not compile

eric.bachard@b.org mol-general@lists.maconlinux.org
Thu, 22 Apr 2004 00:29:24 +0200


Hi,

Volker Birk a écrit :
> Hello,
> 
> trying to compile MoL on 2.6.6-rc1 because of
> http://www.idefense.com/application/poi/display?id=101&type=vulnerabilities
> 
> ----------------------------------- snip ------------------------------
> In file included from /usr/src/mol-rsync/obj-ppc/build/src/kmod/tmp-offsets.c:16:
> /usr/src/mol-rsync/obj-ppc/build/src/kmod/mol_config.h:51:20: config.h: No such file or directory
> /usr/src/mol-rsync/obj-ppc/build/src/kmod/mol_config.h:52:22: autoconf.h: No such file or directory
> /usr/src/mol-rsync/obj-ppc/build/src/kmod/mol_config.h:68:22: platform.h: No such file or directory
> /usr/src/mol-rsync/obj-ppc/build/src/kmod/mol_config.h:75:49: debugger.h: No such file or directory
> /usr/src/mol-rsync/obj-ppc/build/src/kmod/mol_config.h:76:22: extralib.h: No such file or directory
> /usr/src/mol-rsync/obj-ppc/build/src/kmod/tmp-offsets.c: In function `extra':
> /usr/src/mol-rsync/obj-ppc/build/src/kmod/tmp-offsets.c:181: error: `kernel_vars_t' undeclared (first use in this function)
> /usr/src/mol-rsync/obj-ppc/build/src/kmod/tmp-offsets.c:181: error: (Each undeclared identifier is reported only once
> /usr/src/mol-rsync/obj-ppc/build/src/kmod/tmp-offsets.c:181: error: for each function it appears in.)
> /usr/src/mol-rsync/obj-ppc/build/src/kmod/tmp-offsets.c:183: error: `session_table_t' undeclared (first use in this function)
> /usr/src/mol-rsync/obj-ppc/build/src/kmod/tmp-offsets.c:183: error: parse error before ')' token
> ...
> ----------------------------------- snip ------------------------------

Same problem for me with 2.6.6rc2 too.

Not sure, but something seems to be broken for compiling external 
modules with kernel sources for now....

I've found one or two typos in /usr/include/linux/*.h (in fact in 
/usr/src/linux/include/linux/*.h for me)

You probably will find more informations with the link above :

http://www.uwsg.indiana.edu/hypermail/linux/kernel/0404.2/0778.html


But I can be wrong...


-- 

eric bachard