On Wed, 19 Jan 2005, rupert t wrote:

> Am Mittwoch, den 19.01.2005, 13:47 -0500 schrieb Brian J. Murrell:
> > I am trying to build mythtv with QT Embedded and DirectFB and have come
> > across a problem.  While trying to compile filldata.cpp I get the
> > following error:
> >
> > g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -I/usr/include/directfb 
> > -D_REENTRANT -O3 -fomit-frame-pointer -O2 -fomit-frame-pointer -pipe 
> > -march=i586 -mtune=pentiumpro -D_REENTRANT  -D_GNU_SOURCE 
> > -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DMMX -DQT_NO_DEBUG 
> > -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/lib/qte3/mkspecs/default -I. 
> > -I../../libs/libmythtv -I../../libs/libmyth -I../../libs -I/usr/include 
> > -I/usr/include/kde -I/usr/lib/qte3/include -o filldata.o filldata.cpp
> > filldata.cpp: In function `QDomElement <unnamed>::nodeToElement(QDomNode&)':
> > filldata.cpp:415: error: exception handling disabled, use -fexceptions to 
> > enablefilldata.cpp: In function `void <unnamed>::ImportIconMap(const 
> > QString&)':
> > filldata.cpp:527: error: `e' undeclared (first use this function)
> > filldata.cpp:527: error: (Each undeclared identifier is reported only once 
> > for each function it appears in.)
> >
> > Now certainly simply compiling that one file without "-fno-exceptions"
> > makes the build continue, but this is not really the correct fix right?
> >
> > How should I deal with this properly?
> >

Edit $QTDIR/mkspecs/default/qmake.conf.
Remove -fno-exceptions from that file.

Jarrod

_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to