2002-03-19 03:15:15

by Art Wagner

[permalink] [raw]
Subject: 2.5.7 oss modules compile error

drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/char/agp/agp.o drivers/char/drm/drm.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o sound/sound.o drivers/pci/driver.o drivers/pnp/pnp.o drivers/video/video.o drivers/usb/usbdrv.o drivers/input/inputdrv.o \
net/network.o \
--end-group \
-o vmlinux
sound/sound.o: In function `sound_alloc_dmap':
/usr/src/linux-2.5.7/sound/oss/dmabuf.c:116: undefined reference to `virt_to_bus_not_defined_use_pci_map'
make: *** [vmlinux] Error 1


Attachments:
Compile error.txt (546.00 B)

2002-03-19 09:21:55

by Luigi Genoni

[permalink] [raw]
Subject: Re: 2.5.7 oss modules compile error


I think I reported that from 2.5.3.

It is the usual virt_to_bus() residuus inside of sound/oss/dm/dmabuf.c

I also posted a wrong patch (was working, but not using the new API), but
maybe someone else posted the right one, and I did not read it.

With this residual virt_to_bus it is quite unusefull that
sound/oss/i810_audio.c and other drivers have been updated correctly.


Luigi

On Tue, 19 Mar 2002, Art Wagner wrote:

> I encountered the attached error whie compiling 2.5.7 with the oss sound
> modules
> configured. The "_not_defined_use_pci_map" portion of the failing statement
> seems to be defined in ./include/asm-i386/io.h, line 117.
> Art Wagner
>