[mythtv] 20050517 CVS compile borked with --disable-audio-oss

David Shirley dave at cs.curtin.edu.au
Tue May 17 10:44:53 UTC 2005


Hi Guys,

I get compile errors when I have --disable-audio-oss on the configure line:

ccache g++ -c -pipe -march=pentiumpro -mmmx -Wall -W -O3 -Wall -Wno-switch
-fomit-frame-pointer `freetype-config --cflags` -D_REENTRANT -DPIC -fPIC 
-DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\"
-DUSING_XVMC -DUSING_XV -DUSING_DVB -DUSING_OPENGL_VSYNC -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/share/qt3/mkspecs/default -I.
-I../../../../include -I../../../../../src/linux-2.6.11.7/include -I../..
-I../libmyth -I.. -Idvbdev -Impeg -I../libavcodec -I../libmythmpeg2
-I../../../../../include/qt3 -I../../../../../X11R6/include
-I../../../../../X11R6/include -o NuppelVideoRecorder.o
NuppelVideoRecorder.cpp
NuppelVideoRecorder.cpp: In member function `int
   NuppelVideoRecorder::AudioInit(bool)':
NuppelVideoRecorder.cpp:633: error: `SNDCTL_DSP_SETFRAGMENT' undeclared
(first
   use this function)
NuppelVideoRecorder.cpp:633: error: (Each undeclared identifier is reported
   only once for each function it appears in.)
NuppelVideoRecorder.cpp:635: error: `AFMT_S16_LE' undeclared (first use this
   function)
NuppelVideoRecorder.cpp:636: error: `SNDCTL_DSP_SETFMT' undeclared (first use
   this function)
NuppelVideoRecorder.cpp:644: error: `SNDCTL_DSP_SAMPLESIZE' undeclared (first
   use this function)
NuppelVideoRecorder.cpp:645: error: `SNDCTL_DSP_CHANNELS' undeclared
(first use
   this function)
NuppelVideoRecorder.cpp:646: error: `SNDCTL_DSP_SPEED' undeclared (first use
   this function)
NuppelVideoRecorder.cpp:657: error: `SNDCTL_DSP_GETBLKSIZE' undeclared (first
   use this function)
NuppelVideoRecorder.cpp: In member function `void
   NuppelVideoRecorder::doAudioThread()':
NuppelVideoRecorder.cpp:2107: error: `audio_buf_info' undeclared (first use
   this function)
NuppelVideoRecorder.cpp:2107: error: parse error before `;' token
NuppelVideoRecorder.cpp:2169: error: `SNDCTL_DSP_SETTRIGGER' undeclared
(first
   use this function)
NuppelVideoRecorder.cpp:2171: error: `PCM_ENABLE_INPUT' undeclared (first use
   this function)
NuppelVideoRecorder.cpp:2199: error: `SNDCTL_DSP_GETISPACE' undeclared (first
   use this function)
NuppelVideoRecorder.cpp:2199: error: `ispace' undeclared (first use this
   function)
make[2]: *** [NuppelVideoRecorder.o] Error 1
make[2]: Leaving directory `/usr/local/src/mythtv/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/usr/local/src/mythtv/libs'
make: *** [sub-libs] Error 2


Cheers
Dave




More information about the mythtv-dev mailing list