Messages in this thread |  | | From | tenthumbs@cybernex ... | Subject | Some modutils-970118 problems | Date | Sun, 19 Jan 1997 21:14:03 GMT |
| |
1) Got some new compiler warnings when building 2.1.21 a.out and java fs support as modules with 970118:
binfmt_aout.c:40: warning: initialization from incompatible pointer type binfmt_java.c:147: warning: initialization from incompatible pointer type binfmt_java.c:164: warning: initialization from incompatible pointer type
In binfmt_aout.c the code is:
static struct linux_binfmt aout_format = { #ifndef MODULE NULL, NULL, load_aout_binary, load_aout_library, aout_core_dump #else NULL, &__this_module.usecount, load_aout_binary, load_aout_library, aout_core_dump #endif };
where "&__this_module.usecount" is the offending element. Linux_binfmt defines this as being of type "struct module *" but it is actually of type "long *". Precisely the same thing for binfmt_java.c.
2) Also tried 970118 with 2.0.28 kernels and modules built with modutils-2.1.13. A set built with CONFIG_MODVERSIONS seems to work just fine, but "depmod -a" give unresolved symbol errors on all modules built without CONFIG_MODVERSIONS.
|  |