Message: previous - next
Month: November 2011

TDE 3.5.13: kstreamripper FTBFS

From: Francois Andriot <francois.andriot@...>
Date: Wed, 02 Nov 2011 20:46:42 +0100
Hello, compiling kstreamripper on RHEL/Fedora fails with following error:

g++ -o src/addnewstream.o -c -I/opt/trinity/include/ 
-I/usr/lib64/qt-3.3/include/ -I/opt/trinity/include/tqt -DNDEBUG 
-DNO_DEBUG -DQT_NO_TRANSLATION -Isrc -I. src/addnewstream.cpp
g++ -o src/addnewstreamimpl.o -c -I/opt/trinity/include/ 
-I/usr/lib64/qt-3.3/include/ -I/opt/trinity/include/tqt -DNDEBUG 
-DNO_DEBUG -DQT_NO_TRANSLATION -Isrc -I. src/addnewstreamimpl.cpp
/usr/lib64/qt-3.3/bin/moc -o src/addnewstreamimpl_moc.cpp 
g++ -o src/addnewstreamimpl_moc.o -c -I/opt/trinity/include/ 
-I/usr/lib64/qt-3.3/include/ -I/opt/trinity/include/tqt -DNDEBUG 
-DNO_DEBUG -DQT_NO_TRANSLATION -Isrc -I. src/addnewstreamimpl_moc.cpp
src/addnewstreamimpl.h:29: error: ISO C++ forbids declaration of 
'TQ_OBJECT' with no type
src/addnewstreamimpl.h:31: error: expected ';' before 'public'
scons: *** [src/addnewstreamimpl_moc.o] Error 1

Problem solved with '#include <tqt.h>' in 'addnewstreamimpl.h', see 
attached patch.

Francois Andriot