Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 2001 12:11:41 -0500
From:      "David S. Jackson" <dsj@dsj.net>
To:        freebsd-questions@freebsd.org
Subject:   compiling mixer.c
Message-ID:  <20010127121141.A12985@scee.dsj.net>

next in thread | raw e-mail | index | archive | help
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  <dsj@dsj.net>


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?20010127121141.A12985>