Arts compilation Issue: -fno-rtti

Pavan Kumar Reddy pavanreddy1980 at rediffmail.com
Mon Apr 16 13:23:46 CEST 2007


  
Hi Albert,


after removing -fno-rtti from all the makefiles from Arts-1.5.6, its giving the error as follows

error:-
Making all in qtmcop
make[2]: Entering directory `/root/Browser/kde/arts-1.5.6/qtmcop'
/root/Browser/qt-embedded-free-3.3.8/bin/moc ./qiomanager_p.h -o qiomanager_p.moc
if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../mcop -I../artsc -I../mcop -I../mcop -I/root/Browser/kde/include -I/root/Browser/qt-embedded-free-3.3.8/include   -I../libltdl -I/root/Browser/qt-embedded-free-3.3.8/include  -DQT_THREAD_SUPPORT -DQWS -D_REENTRANT -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include    -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -ftemplate-depth-99  -MT qiomanager.lo -MD -MP -MF ".deps/qiomanager.Tpo" -c -o qiomanager.lo qiomanager.cc; \
then mv -f ".deps/qiomanager.Tpo" ".deps/qiomanager.Plo"; else rm -f ".deps/qiomanager.Tpo"; exit 1; fi
/bin/sh ../libtool --silent --mode=link --tag=CXX g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -ftemplate-depth-99    -o libqtmcop.la -rpath /root/Browser/kde/lib -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -version-info 1:0 -R /root/Browser/kde/lib -R /root/Browser/kde/lib -R /root/Browser/qt-embedded-free-3.3.8/lib  -L/root/Browser/qt-embedded-free-3.3.8/lib    qiomanager.lo ../mcop/libmcop.la -lqte-mt  -lz -lpng -lz -lm -lpthread 
.libs/qiomanager.o: In function `Arts::QIOWatch type_info function':
.libs/qiomanager.o(.gnu.linkonce.t.__tfQ24Arts8QIOWatch+0x1e): undefined reference to `QObject type_info function'
.libs/qiomanager.o(.gnu.linkonce.t.__tfQ24Arts8QIOWatch+0x25): undefined reference to `QObject type_info node'
.libs/qiomanager.o: In function `Arts::QTimeWatch type_info function':
.libs/qiomanager.o(.gnu.linkonce.t.__tfQ24Arts10QTimeWatch+0x1e): undefined reference to `QObject type_info function'
.libs/qiomanager.o(.gnu.linkonce.t.__tfQ24Arts10QTimeWatch+0x25): undefined reference to `QObject type_info node'
collect2: ld returned 1 exit status
make[2]: *** [libqtmcop.la] Error 1
make[2]: Leaving directory `/root/Browser/kde/arts-1.5.6/qtmcop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Browser/kde/arts-1.5.6'
make: *** [all] Error 2

Plz suggest me where iam going wrong

Regards
Pavan Reddy.
On Sat, 14 Apr 2007 Albert Astals Cid wrote :
>A Dijous 12 Abril 2007, Pavan Kumar Reddy va escriure:
> > Hi All,
> >
> > Linux Version 2.4.20-31.9.um.3smp (gcc version 3.2.2 20030222 (i686) (red
> > Hat Linux 3.2.2-5))
> >
> > Iam Using the above configuration, i am installing arts-1.5.6,kdelibs-3.5.6
> >  (kde-3.5.6).
> >
> > succesfully configured the arts-1.5.6, but when compiling arts-1.5.6 with
> > "make install" its giving problem as
> >
> > datahandle_imple.cc: In Method 'void Arts::Reversed DataHandle_Impl::Init
> > (Arts::DataHandle)
> >
> > datahandle_imple.cc:101: taking dynamic typeid of object with -fno-rtti
> >
> > datahandle_imple.cc: In Method 'void Arts::CroppedDataHandle_Impl::Init
> > (Arts::DataHandle, long int, long int) datahandle_imple.cc: In Method 'void
> > Arts::CutDataHandle_Impl::Init (Arts::DataHandle, long int, long int)
> >
> > datahandle_imple.cc: taking dynamic typeid of object with -fno-rtti
> >
> >
> >
> >
> > How to make it compile ??? where i am going wrong?
>
>It's easy, remove -fno-rtti
>
>Don't know why you are using it, but adding it will break on any normal C++
>program.
>
>Albert
>
> >
> > Regards
> > Pavan Reddy.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/konq-e/attachments/20070416/b346a5a1/attachment.html 


More information about the konq-e mailing list