[mythtv] Compile error

Dave Oxley dave at daveoxley.co.uk
Fri Dec 9 22:42:48 EST 2005


Got the following compile error updating to revision 8213:
x86_64-pc-linux-gnu-g++ -c -pipe -march=k8 -Wall -W -O3 -Wall 
-Wno-switch -O3 -march=k8 -pipe -fomit-frame-pointer `freetype-config 
--cflags` -D_REENTRANT -DPIC -fPIC  -DMMX -DUSING_DBOX2 -D_GNU_SOURCE 
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -D_LARGEFILE_SOURCE 
-DUSING_OPENGL_VSYNC -DUSING_XV -DUSING_FRONTEND -DUSING_V4L 
-DUSING_IVTV -DUSING_DVB -DUSING_DVB_EIT -DUSING_BACKEND -DQT_NO_DEBUG 
-DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT 
-I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/include 
-I/usr/include -I../.. -I../libmyth -I.. -Idvbdev -Impeg -I../libavcodec 
-I../libavutil -I../libmythmpeg2 -I/usr/qt/3/include -I/usr/include 
-I/usr/include -o DeviceReadBuffer.o DeviceReadBuffer.cpp
DeviceReadBuffer.cpp: In member function `void 
DeviceReadBuffer::fill_ringbuffer()':
DeviceReadBuffer.cpp:239: error: no matching function for call to 
`min(size_t&, uint)'
DeviceReadBuffer.cpp: In member function `uint 
DeviceReadBuffer::Read(unsigned char*, uint)':
DeviceReadBuffer.cpp:372: error: no matching function for call to 
`min(const uint&, size_t&)'
make[2]: *** [DeviceReadBuffer.o] Error 1

Dave.


More information about the mythtv-dev mailing list