Skip to contentSkip to conversation

2.5.7 oss modules compile error

DISCUSSION Art Wagner 2 participants 2 messages Mar 19, 2002

lore
Share & tools
lore

Art Wagner

author
#0 lore raw

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

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

#1 lore raw

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

Quoted 6 lines · Art Wagner

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