lkml.org 
[lkml]   [2001]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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