From owner-freebsd-questions Sat Jan 27 9: 1:18 2001 Delivered-To: freebsd-questions@freebsd.org Received: from scee.dsj.net (sylvester.dsj.net [208.148.155.228]) by hub.freebsd.org (Postfix) with ESMTP id 63B2E37B402 for ; Sat, 27 Jan 2001 09:00:57 -0800 (PST) Received: (from dsj@localhost) by scee.dsj.net (8.9.3/8.9.3) id MAA13002 for freebsd-questions@freebsd.org; Sat, 27 Jan 2001 12:11:41 -0500 (EST) (envelope-from dsj) Date: Sat, 27 Jan 2001 12:11:41 -0500 From: "David S. Jackson" To: freebsd-questions@freebsd.org Subject: compiling mixer.c Message-ID: <20010127121141.A12985@scee.dsj.net> Reply-To: "David S. Jackson" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I was doing a make && make install under /usr/ports/audio/xmms and wound up getting a whole bunch of other stuff made too. while making all in esd ( I think ), I get the following error while compiling mixer.c: Making all in esd /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11R6/include/gtk12 -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include/glib12 -D_THREAD_SAFE -I/usr/local/include -I../../intl -I/usr/local/include -O -pipe -I/usr/X11R6/include -Wall -fomit-frame-pointer -finline-functions -ffast-math -c esd.c cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11R6/include/gtk12 -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include/glib12 -D_THREAD_SAFE -I/usr/local/include -I../../intl -I/usr/local/include -O -pipe -I/usr/X11R6/include -Wall -fomit-frame-pointer -finline-functions -ffast-math -c esd.c -fPIC -DPIC -o esd.lo /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11R6/include/gtk12 -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include/glib12 -D_THREAD_SAFE -I/usr/local/include -I../../intl -I/usr/local/include -O -pipe -I/usr/X11R6/include -Wall -fomit-frame-pointer -finline-functions -ffast-math -c mixer.c cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11R6/include/gtk12 -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include/glib12 -D_THREAD_SAFE -I/usr/local/include -I../../intl -I/usr/local/include -O -pipe -I/usr/X11R6/include -Wall -fomit-frame-pointer -finline-functions -ffast-math -c mixer.c -fPIC -DPIC -o mixer.lo mixer.c:22: sys/soundcard.h: No such file or directory mixer.c: In function `esdout_get_volume': mixer.c:42: `SOUND_MIXER_READ_DEVMASK' undeclared (first use this function) mixer.c:42: (Each undeclared identifier is reported only once mixer.c:42: for each function it appears in.) mixer.c:43: `SOUND_MASK_PCM' undeclared (first use this function) mixer.c:44: `SOUND_MIXER_READ_PCM' undeclared (first use this function) mixer.c:45: `SOUND_MASK_VOLUME' undeclared (first use this function) mixer.c:46: `SOUND_MIXER_READ_VOLUME' undeclared (first use this function) mixer.c:30: warning: `cmd' might be used uninitialized in this function mixer.c: In function `esdout_set_volume': mixer.c:76: `SOUND_MIXER_READ_DEVMASK' undeclared (first use this function) mixer.c:77: `SOUND_MASK_PCM' undeclared (first use this function) mixer.c:78: `SOUND_MIXER_WRITE_PCM' undeclared (first use this function) mixer.c:79: `SOUND_MASK_VOLUME' undeclared (first use this function) mixer.c:80: `SOUND_MIXER_WRITE_VOLUME' undeclared (first use this function) mixer.c:67: warning: `cmd' might be used uninitialized in this function *** Error code 1 Stop. Can anyone help me with this? TIA! -- David S. Jackson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message