From: S_TITZ@iravcl.ira.uka.de (Olaf Titz) Subject: Re: 0.97p6: Undefined symbol _check_cdrom_media_change Date: Fri, 25 Sep 1992 15:58:34 GMT
In <1992Sep25.003024.7420@m.cs.uiuc.edu> najem@dante.cs.uiuc.edu writes:
> barr@hardy.u.washington.edu (David Barr) writes:
>
> >I got the following error when compiling version 0.97p6 of the kernel:
> >fs/fs.o: Undefined symbol _check_cdrom_media_change referenced from text segment
>
> I assume you #undef'ined CONFIG_BLK_DEV_SR. If so, then in file
> fs/buffer.c, in function check_disk_change(), wrap case 11 with
>
> #ifdef CONFIG_BLK_DEV_SR
> case 11: /* CDROM */
> i = check_cdrom_media_change(dev, 0);
> if (i) printk("Flushing buffers and inodes for CDROM\n");
> break;
> #endif
This is exactly what I just mentioned in my last post. The wrapper *is*
there but the symbol appears to be defined though being #undef'd
expilcitly. Quick'n'dirty solution: change the #ifdef for #if 0.
MfG,
Olaf
--
o Olaf Titz - comp.sc.student - univ of karlsruhe - germany
_ /<_ s_titz@iravcl.ira.uka.de - uknf@dkauni2.bitnet - praetorius@irc
(_)>(_) +49-721-60439 - did i forget something?
L'exactitude est la politesse des rois. - Louis XVIII