[mythtv] Compile error debian

Martin van Es mrvanes at gmail.com
Wed Mar 22 10:50:55 UTC 2006


I just ran into this compile error on Debian (svn 9452)
(Using gcc 4.0.3)

g++ -c -pipe -march=pentiumpro -Wall -W -O3 -Wall -Wno-switch
-fomit-frame-pointer -I/usr/include/freetype2 -D_REENTRANT -DPIC -fPIC
 -DMMX -Di386 -DUSING_DBOX2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-DPREFIX=\"/usr\" -DLIBDIR=\"/usr/lib\" -D_LARGEFILE_SOURCE -DUSING_XV
-DUSING_FRONTEND -DUSING_V4L -DUSING_IVTV -DUSING_BACKEND
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/mkspecs/default
-I. -I../../../../../../include -I../../../../../../X11R6/include
-I../.. -I.. -I../libmyth -I../libavcodec -I../libavutil
-I../libmythmpeg2 -Idvbdev -Impeg -I/usr/include -o dsmcccache.o
dsmcccache.cpp
dsmccbiop.h: In destructor 'BiopIor::~BiopIor()':
dsmccbiop.h:132: error: 'free' was not declared in this scope
make: *** [dsmcccache.o] Error 1


Adding
#include <cstdlib>
To header file dsmccbiop.h fixed the problem.

Martin
--
if but was any useful, it would be a logic operator


More information about the mythtv-dev mailing list