Re: Unresolved Symbols in 2.2.16-pre4

From: Robert L. Harris (Robert.L.Harris@rnd-consulting.com)
Date: Tue May 23 2000 - 11:45:03 EST


Note,
  I modify the Makefile to read 2.2.15 so that my OSS drivers will
load, but this is a 2.2.16-pre4 kernel.

I just re-modularized it, did the mrproper per below. When I go
to install the module, here's what I get:

{1}:bob:/root>insmod ide-cd
Using /lib/modules/2.2.15/block/ide-cd.o
/lib/modules/2.2.15/block/ide-cd.o: unresolved symbol init_cdrom_command_Rfd04f5eb
/lib/modules/2.2.15/block/ide-cd.o: unresolved symbol cdrom_fops_R88fc348e
/lib/modules/2.2.15/block/ide-cd.o: unresolved symbol cdrom_mode_select_R91644de9
/lib/modules/2.2.15/block/ide-cd.o: unresolved symbol cdrom_number_of_slots_R1316942f
/lib/modules/2.2.15/block/ide-cd.o: unresolved symbol cdrom_mode_sense_R21dbd501
/lib/modules/2.2.15/block/ide-cd.o: unresolved symbol unregister_cdrom_R61b3d59a
/lib/modules/2.2.15/block/ide-cd.o: unresolved symbol register_cdrom_Rf99f5eb5

{0}:bob:/lib/modules/2.2.15>ls
block cdrom fs misc modules.dep net
{0}:bob:/lib/modules/2.2.15>ls cdrom
cdrom.o
{0}:bob:/lib/modules/2.2.15>insmod cdrom
Using /lib/modules/2.2.15/cdrom/cdrom.o
{0}:bob:/lib/modules/2.2.15>insmod ide-cd
Using /lib/modules/2.2.15/block/ide-cd.o
{0}:bob:/lib/modules/2.2.15>mount -t iso9660 /dev/hdc /cdrom
mount: the kernel does not recognize /dev/hdc as a block device
       (maybe `insmod driver'?)
{32}:bob:/lib/modules/2.2.15>ls block
cpqarray.o floppy.o ide-cd.o ide-floppy.o loop.o nbd.o
{0}:bob:/lib/modules/2.2.15>lsmod
Module Size Used by
ide-cd 23796 0
cdrom 27452 0 [ide-cd]
isofs 18288 0 (autoclean) (unused)
neomagic 64176 0
audiobuf 10688 0 [neomagic]
ac97 4980 0 [neomagic]
soundbase 288116 0 [neomagic audiobuf ac97]
sndshield 5204 0 [neomagic audiobuf ac97 soundbase]
{32}:bob:/lib/modules/2.2.15>ls block
cpqarray.o floppy.o ide-cd.o ide-floppy.o loop.o nbd.o

Thus spake Alan Cox (alan@lxorguk.ukuu.org.uk):

> > for". If I do a "depmod -a" I get unresolved symbols in: cdrom.o,
> > i2o_scsi.o, ide-cd.o, and epic_cb.o" When I compile it as a module
> > and try to "insmod ide-cd" I get alot of errors about unresolved
> > symbols also.
>
> Save your .config somewhere safe, do a make mrproper (or blow the tree away
> and unpack the tar). Replace your .config and make oldconfig then rebuild.
>
> If it still does that let me know
>

:wq!
---------------------------------------------------------------------------
Robert L. Harris | Microso~1 :
Senior System Engineer | For when quality, reliability
  at RnD Consulting | and security just aren't
                                \_ that important!
DISCLAIMER:
      These are MY OPINIONS ALONE. I speak for no-one else.
FYI:
 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:24 EST