sysklogd and 2.6 kernel
Chad R. Kittel
v3rt1g0 at lunar-linux.org
Sun Feb 13 23:15:34 UTC 2005
On Sun, 13 Feb 2005 15:51:30 -0700
Richard Pyne <rpyne at kinfolk.org> wrote:
> 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
Looking back at my compile logs I too received the exact same error when attempting to build sysklogd back on Oct 20th, 2004. (I was on a 2.6.x kernel then too.) I remember not bothing looking into it and instead just installing metalog. If you do find something, yes, please post. Thanx.
- v3rt1g0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lunar-linux.org/pipermail/lunar/attachments/20050213/20a26215/attachment.bin
More information about the Lunar
mailing list