[mythtv] CVS Compile error. 04-06

John Pullan john.pullan at gmail.com
Sat Jun 4 11:37:38 UTC 2005


needs a #include <cmath>

On 04/06/05, Andrew <atp4 at optusnet.com.au> wrote:
> Getting this error trying to compile cvs today 04-06.
> 
> cd mythcommflag && make -f Makefile
> make[2]: Entering directory
> `/mnt/video/mythcvs/04-06/Patched_test/mythtv/programs/mythcommflag'
> g++ -c -pipe -march=pentium3 -Wall -W -O3 -Wall -Wno-switch
> -fomit-frame-pointer -D_REENTRANT  -DMMX -Di386 -DUSING_DBOX2 -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
> -I/usr/qt/3/mkspecs/linux-g++ -I. -I../../libs -I../../libs/libmyth
> -I/usr/include -I/usr/src/linux-2.6.12-rc4/include -I/usr/qt/3/include -o
> ClassicCommDetector.o ClassicCommDetector.cpp
> ClassicCommDetector.cpp: In member function `void
> ClassicCommDetector::Init()':
> ClassicCommDetector.cpp:167: error: `fabs' undeclared (first use this
> function)
> ClassicCommDetector.cpp:167: error: (Each undeclared identifier is reported
> only once for each function it appears in.)
> ClassicCommDetector.cpp: In member function `void
> ClassicCommDetector::SetVideoParams(float)':
> ClassicCommDetector.cpp:553: error: `fabs' undeclared (first use this
> function)
> ClassicCommDetector.cpp: In member function `void
> ClassicCommDetector::DumpMap(QMap<long long int, int>&)':
> ClassicCommDetector.cpp:2110: error: `ceil' undeclared (first use this
> function)
> make[2]: *** [ClassicCommDetector.o] Error 1
> make[2]: Leaving directory
> `/mnt/video/mythcvs/04-06/Patched_test/mythtv/programs/mythcommflag'
> make[1]: *** [sub-mythcommflag] Error 2
> make[1]: Leaving directory
> `/mnt/video/mythcvs/04-06/Patched_test/mythtv/programs'
> make: *** [sub-programs] Error 2
> 
> 
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> 
> 
> 


-- 
John


More information about the mythtv-dev mailing list