[mythtv-users] buidling mythfilldatabase with qt embedded:
exception handling disabled, use -fexceptions to enable
Isaac Richards
ijr at case.edu
Wed Jan 19 14:52:30 EST 2005
On Wednesday 19 January 2005 01:47 pm, Brian J. Murrell wrote:
> 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?
The correct fix is to build the entire mythtv source tree without the
-fno-exceptions and -fno-rtti options. This has been discussed several times
on this list.
Isaac
More information about the mythtv-users
mailing list