[mythtv-users] New compile error in 0.18.1
Sage
sage at gypsycaravan.com
Sun Jun 26 17:16:27 UTC 2005
Follow-up: I noticed I didn't have my QTDIR set, so I fixed this and
I'm still getting the same compile error. Here is the updated output:
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -march=pentium4 -O3 -
Wall -Wno-switch -fomit-frame-pointer -fPIC -DPIC -D_REENTRANT -DMMX
-Di386 -DUSING_IVTV -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/
usr/local\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/
local/src/qt-embedded-free-3.3.4/mkspecs/default -I. -I../../../../
include -I../.. -I/usr/local/src/qt-embedded-free-3.3.4/include -o
FIRFilter.o FIRFilter.cpp
FIRFilter.cpp: In member function `virtual void
FIRFilter::setCoefficients(const SAMPLETYPE*, unsigned int,
unsigned int)':
FIRFilter.cpp:173: error: exception handling disabled, use -
fexceptions to
enable
FIRFilter.cpp: In static member function `static void*
FIRFilter::operator
new(unsigned int)':
FIRFilter.cpp:223: warning: `operator new' must not return NULL
unless it is
declared `throw()' (or -fcheck-new is in effect)
make[2]: *** [FIRFilter.o] Error 1
make[2]: Leaving directory `/usr/local/src/mythtv-0.18.1/libs/
libmythsoundtouch'
make[1]: *** [sub-libmythsoundtouch] Error 2
make[1]: Leaving directory `/usr/local/src/mythtv-0.18.1/libs
make: *** [sub-libs] Error 2
I've noticed that if I add "--extra-cxxflags=-fexceptions" to my ./
configure then the error does not occur, but I'm worried that this
isn't really fixing the problem. Anyone know what is causing this?
Am I missing a library or environment variable?
On Jun 26, 2005, at 7:12 AM, Sage wrote:
> I'm trying to compile version 0.18.1 from source on a box running
> Debian 3.1 (stable). I've compiled QT-embedded and LAME from
> source, and I have installed the packaged lirc and associated
> development packages, as well as mysql.
>
> ./configure works fine, but when I compile, I inevitably get the
> following error:
>
> g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -march=pentium4 -O3 -
> Wall -Wno-switch -fomit-frame-pointer -fPIC -DPIC -D_REENTRANT -
> DMMX -Di386 -DUSING_IVTV -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -
> DPREFIX=\"/usr/local\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/
> local/mkspecs/default -I. -I../../../../include -I../.. -I/include -
> o FIRFilter.o FIRFilter.cpp
> FIRFilter.cpp: In member function `virtual void
> FIRFilter::setCoefficients(const SAMPLETYPE*, unsigned int,
> unsigned int)':
> FIRFilter.cpp:173: error: exception handling disabled, use -
> fexceptions to
> enable
> FIRFilter.cpp: In static member function `static void*
> FIRFilter::operator
> new(unsigned int)':
> FIRFilter.cpp:223: warning: `operator new' must not return NULL
> unless it is
> declared `throw()' (or -fcheck-new is in effect)
> make[2]: *** [FIRFilter.o] Error 1
> make[2]: Leaving directory `/usr/local/src/mythtv-0.18.1/libs/
> libmythsoundtouch'
> make[1]: *** [sub-libmythsoundtouch] Error 2
> make[1]: Leaving directory `/usr/local/src/mythtv-0.18.1/libs'
> make: *** [sub-libs] Error 2
>
> Since this appears to be a sound library, I have tried installing
> ALSA, disabling OSS, and nothing seems to work. Does anyone have
> any idea what this error is and how to resolve it?
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
More information about the mythtv-users
mailing list