sysklogd and 2.6 kernel

Richard Pyne rpyne at kinfolk.org
Sun Feb 13 22:51:30 UTC 2005


Has anyone been able to get sysklogd to build in a 2.6 kernel 
environment?

Here is what I get:

In file included from ksym_mod.c:96:
/usr/include/linux/module.h:41: error: field `attr' has 
incomplete type
/usr/include/linux/module.h:48: error: field `kobj' has 
incomplete type
ksym_mod.c:98: warning: `struct kernel_sym' declared inside 
parameter list
ksym_mod.c:98: warning: its scope is only this definition or 
declaration, which is probably not what you want
ksym_mod.c:138: error: field `module' has incomplete type
ksym_mod.c:140: error: field `module_info' has incomplete type
ksym_mod.c: In function `InitMsyms':
ksym_mod.c:209: warning: passing arg 1 of `get_kernel_syms' from 
incompatible pointer type
ksym_mod.c:223: error: invalid application of `sizeof' to an 
incomplete type
ksym_mod.c:231: warning: passing arg 1 of `get_kernel_syms' from 
incompatible pointer type
ksym_mod.c:247: error: dereferencing pointer to incomplete type
ksym_mod.c:247: error: dereferencing pointer to incomplete type
ksym_mod.c:254: error: increment of pointer to unknown structure
ksym_mod.c:254: error: arithmetic on pointer to an incomplete 
type
ksym_mod.c: In function `AddModule':
ksym_mod.c:412: error: invalid application of `sizeof' to an 
incomplete type
make: *** [ksym_mod.o] Error 1


I admit I haven't made an exhaustive search on this one, so I 
will keep looking and report if I find an answer.

Thanks in advance for any insights.

--Richard



More information about the Lunar mailing list