Date: Wed, 15 Mar 2000 16:46:38 +0100 From: Florian Bofinger <bofax@camelot.de> To: Massimo De Giorgi <madg66@libero.it> Cc: freebsd-questions@freebsd.org Subject: Re: problem compiling pcm0 Message-ID: <20000315164638.D69381@camelot.de> In-Reply-To: <001b01bf8e92$33947540$11802397@oemcomputer>; from madg66@libero.it on Wed, Mar 15, 2000 at 03:53:14PM %2B0100 References: <001b01bf8e92$33947540$11802397@oemcomputer>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, You have to either use pcm OR snd. Greetings, BoFax On Wed, Mar 15, 2000 at 03:53:14PM +0100, Massimo De Giorgi wrote: > It seems that my kernel doesn't like the pcm0 driver. > When I add these lines > controller snd0 > device pcm0 ............. > and compile I get these error messages: > > loading kernel > dmabuf.o: In function `dsp_wr_dmaupdate': > dmabuf.o(.text+0x68): multiple definition of `dsp_wr_dmaupdate' > dmabuf.o(.text+0x68): first defined here > dmabuf.o: In function `dsp_wrintr': > dmabuf.o(.text+0xa8): multiple definition of `dsp_wrintr' > dmabuf.o(.text+0xa8): first defined here > dmabuf.o: In function `reset_dbuf': > dmabuf.o(.text+0xa5c): multiple definition of `reset_dbuf' > dmabuf.o(.text+0xa5c): first defined here > dmabuf.o: In function `dsp_rdintr': > dmabuf.o(.text+0x64c): multiple definition of `dsp_rdintr' > dmabuf.o(.text+0x64c): first defined here > dmabuf.o: In function `dsp_write_body': > dmabuf.o(.text+0x200): multiple definition of `dsp_write_body' > dmabuf.o(.text+0x200): first defined here > dmabuf.o: In function `dsp_wrabort': > dmabuf.o(.text+0xba0): multiple definition of `dsp_wrabort' > dmabuf.o(.text+0xba0): first defined here > dmabuf.o: In function `dsp_rd_dmaupdate': > dmabuf.o(.text+0x60c): multiple definition of `dsp_rd_dmaupdate' > dmabuf.o(.text+0x60c): first defined here > dmabuf.o: In function `dsp_read_body': > dmabuf.o(.text+0x72c): multiple definition of `dsp_read_body' > dmabuf.o(.text+0x72c): first defined here > dmabuf.o: In function `dsp_rdabort': > dmabuf.o(.text+0xc50): multiple definition of `dsp_rdabort' > dmabuf.o(.text+0xc50): first defined here > dmabuf.o: In function `alloc_dbuf': > dmabuf.o(.text+0x9f4): multiple definition of `alloc_dbuf' > dmabuf.o(.text+0x9f4): first defined here > dmabuf.o: In function `snd_sync': > dmabuf.o(.text+0xabc): multiple definition of `snd_sync' > dmabuf.o(.text+0xabc): first defined here > dmabuf.o: In function `snd_flush': > dmabuf.o(.text+0xd04): multiple definition of `snd_flush' > dmabuf.o(.text+0xd04): first defined here > dev_table.o: In function `start_services': > dev_table.o(.text+0x56): undefined reference to `DMAbuf_init' > soundcard.o: In function `sndpoll': > soundcard.o(.text+0x2f7): undefined reference to `MIDIbuf_poll' > soundcard.o: In function `sndattach': > soundcard.o(.text+0x629): undefined reference to `DMAbuf_init' > sound_switch.o: In function `sound_read_sw': > sound_switch.o(.text+0x52d): undefined reference to `MIDIbuf_read' > sound_switch.o: In function `sound_write_sw': > sound_switch.o(.text+0x5ad): undefined reference to `MIDIbuf_write' > sound_switch.o: In function `sound_open_sw': > sound_switch.o(.text+0x68f): undefined reference to `MIDIbuf_open' > sound_switch.o: In function `sound_release_sw': > sound_switch.o(.text+0x72b): undefined reference to `MIDIbuf_release' > sound_switch.o: In function `sound_ioctl_sw': > sound_switch.o(.text+0x835): undefined reference to `MIDIbuf_ioctl' > audio.o: In function `set_format': > audio.o(.text+0x4b): undefined reference to `DMAbuf_ioctl' > audio.o: In function `audio_open': > audio.o(.text+0xaa): undefined reference to `DMAbuf_open' > audio.o(.text+0x109): undefined reference to `DMAbuf_ioctl' > audio.o: In function `audio_release': > audio.o(.text+0x1a9): undefined reference to `DMAbuf_start_output' > audio.o(.text+0x1db): undefined reference to `DMAbuf_release' > audio.o: In function `audio_write': > audio.o(.text+0x2a7): undefined reference to `DMAbuf_start_output' > audio.o(.text+0x303): undefined reference to `DMAbuf_getwrbuffer' > audio.o(.text+0x400): undefined reference to `DMAbuf_start_output' > audio.o: In function `audio_read': > audio.o(.text+0x476): undefined reference to `DMAbuf_start_output' > audio.o(.text+0x4d9): undefined reference to `DMAbuf_getrdbuffer' > audio.o(.text+0x549): undefined reference to `DMAbuf_rmchars' > audio.o: In function `audio_ioctl': > audio.o(.text+0x686): undefined reference to `DMAbuf_start_output' > audio.o(.text+0x6be): undefined reference to `DMAbuf_start_output' > audio.o(.text+0x734): undefined reference to `DMAbuf_ioctl' > audio.o(.text+0x77d): undefined reference to `DMAbuf_ioctl' > audio.o(.text+0x846): undefined reference to `DMAbuf_ioctl' > audio.o: In function `audio_poll': > audio.o(.text+0x8bd): undefined reference to `DMAbuf_poll' > sequencer.o: In function `seq_local_event': > sequencer.o(.text+0xfa9): undefined reference to `DMAbuf_start_devices' > > I don't understand what I'm doing wrong. > Please help me. > > Bye. > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Florian Bofinger <bofax@camelot.de> www.camelot.de - Der "sagenhafte" Internet Full-Service Provider 'Can't buy what I want because it's free' - Pearl Jam (FreeBSD rocks) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000315164638.D69381>