When building md.o as module, make modules_install fails, because of
an unresolved symbol:
$ make modules_install
...
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.3-pre2-ut1; fi
depmod: *** Unresolved symbols in /lib/modules/2.4.3-pre2-ut1/kernel/drivers/md/md.o
depmod: md_autodetect_dev
This is because the defintion of md_autodetect_dev() is in
#ifndef MODULE
...
void md_autodetect_dev (kdev_t dev)
{
...
}
...
#endif
while this function is called from export_rdev() which is always
compiled, i.e. also when building as module.
urs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/