[mythtv] latest CVS compile error (channel.cpp)

Jeremy lists at thehunter.ws
Sat Jan 8 01:00:53 EST 2005


My compilation of the latest CVS is dying during libmythtv's make.

g++ -c -pipe -Wall -W -march=pentium4 -O2 -pipe -fomit-frame-pointer
`freetype-config --cflags` -D_REENTRANT -fPIC  -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DMMX -DCONFIG_VIDEO4LINUX
-DUSING_IVTV -DLCD_DEVICE -DUSING_OSS -DUSING_OPENGL_VSYNC
-DUSING_XRANDR -DUSING_XV -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I../libmyth -I..
-Idvbdev -Impeg -I../libavcodec -I/usr/qt/3/include -I/usr/X11R6/include
-I/usr/X11R6/include -o dtvrecorder.o dtvrecorder.cpp
g++ -c -pipe -Wall -W -march=pentium4 -O2 -pipe -fomit-frame-pointer
`freetype-config --cflags` -D_REENTRANT -fPIC  -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DMMX -DCONFIG_VIDEO4LINUX
-DUSING_IVTV -DLCD_DEVICE -DUSING_OSS -DUSING_OPENGL_VSYNC
-DUSING_XRANDR -DUSING_XV -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I../libmyth -I..
-Idvbdev -Impeg -I../libavcodec -I/usr/qt/3/include -I/usr/X11R6/include
-I/usr/X11R6/include -o channel.o channel.cpp
channel.cpp: In member function `virtual bool Channel::Open()':
channel.cpp:54: error: `errno' undeclared (first use this function)
channel.cpp:54: error: (Each undeclared identifier is reported only once
for each function it appears in.)
channel.cpp: In function `int signalStrengthATSC(int, int)':
channel.cpp:469: error: `errno' undeclared (first use this function)
channel.cpp: In function `int signalStrengthATSC_v4l2(int, int)':
channel.cpp:493: error: `errno' undeclared (first use this function)
channel.cpp: In member function `bool Channel::TuneToFrequency(int)':
channel.cpp:616: error: `errno' undeclared (first use this function)
channel.cpp: In member function `virtual void
Channel::SwitchToInput(int, bool)':
channel.cpp:648: error: `errno' undeclared (first use this function)
channel.cpp: In member function `void Channel::SetColourAttribute(int,
const char*)':
channel.cpp:727: error: `errno' undeclared (first use this function)
channel.cpp: In member function `int Channel::ChangeColourAttribute(int,
const char*, bool)':
channel.cpp:826: error: `errno' undeclared (first use this function)
make: *** [channel.o] Error 1

Could this be related to the latest ATSC patches?



More information about the mythtv-dev mailing list