* 2.4.3-pre2: Can't build md.o as module: unresolved symbol
@ 2001-03-05 11:00 Urs Thuermann
2001-03-05 16:37 ` Mario Mikocevic
0 siblings, 1 reply; 2+ messages in thread
From: Urs Thuermann @ 2001-03-05 11:00 UTC (permalink / raw)
To: linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.4.3-pre2: Can't build md.o as module: unresolved symbol
2001-03-05 11:00 2.4.3-pre2: Can't build md.o as module: unresolved symbol Urs Thuermann
@ 2001-03-05 16:37 ` Mario Mikocevic
0 siblings, 0 replies; 2+ messages in thread
From: Mario Mikocevic @ 2001-03-05 16:37 UTC (permalink / raw)
To: linux-kernel
Hi,
I've got a bit more ->
depmod: *** Unresolved symbols in /lib/modules/2.4.3-pre2/kernel/drivers/i2o/i2o_scsi.o
depmod: i2o_install_handler
depmod: i2o_remove_handler
depmod: i2o_find_controller
depmod: i2o_query_scalar
depmod: i2o_num_controllers
depmod: *** Unresolved symbols in /lib/modules/2.4.3-pre2/kernel/drivers/md/md.o
depmod: md_autodetect_dev
--
Mario Mikočević (Mozgy)
My favourite FUBAR ...
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-03-05 16:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-05 11:00 2.4.3-pre2: Can't build md.o as module: unresolved symbol Urs Thuermann
2001-03-05 16:37 ` Mario Mikocevic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).