lkml.org 
[lkml]   [1997]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectSome modutils-970118 problems
Date
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.




\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.026 / U:0.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site