Compile error for kdenox-snapshot-qt2-kdelibs359

李嘉扬 lijy at legendsilicon.com.cn
Thu Jul 17 09:13:00 CEST 2008


Hello, everyone

I compiled qtopia-free-2.2.0 successfully with following configure and make commands:
./configure
make
make install

And after that, qtopia was compiled in /root/qtopia-free-2.2.0, and was installed into /root/qtopia-free-2.2.0/qtopia/image/opt/Qtopia.

Then I began to compile kdenox-snapshot-qt2-kdelibs359 based on qtopia-free-2.2.0. As what said in http://www.basyskom.de/index.pl/konqe, I configure like this:

export QTE_BASE=/root/qtopia-free-2.2.0

export PATH=$QTE_BASE/qt2/bin:$QTE_BASE/qtopia/bin:$QTE_BASE/dqt/bin:$PATH

export LD_LIBRARY_PATH=$QTE_BASE/qt2/lib:$QTE_BASE/qtopia/lib:$QTE_BASE/dqt/lib:$LD_LIBRARY_PATH

./configure --prefix=$HOME/konq-embedded 
                --host=i686-linux 
                --with-ipv6-lookup=no 
                --without-xinerama 
                --enable-scrollbars 
                --disable-selection 
                --enable-bookmarks 
                --with-javascript=static 
                --enable-debug=full 
                --disable-printing 
                --enable-pcre 
                --without-arts 
                --enable-jshostext 
                --enable-final 
                --enable-qt-embedded 
                --with-extra-includes=$QTE_BASE/qtopia/include 
                --with-extra-libs=$QTE_BASE/qtopia/lib 
                --with-qt-dir=$QTE_BASE/qtopia 
                --with-qt-libraries=$QTE_BASE/qtopia/lib 
                --with-qt-includes=$QTE_BASE/qt2/include 
                --enable-fwnewepg=yes 
                --enable-embedded 
                --with-qtopia-dir=$QTE_BASE/qtopia 
                --enable-qtopia 
                --enable-qpe 
                --with-gui=road 
                --enable-rtti-embedded 
                --enable-ftp 
                --enable-fullscreenmenu 

But when I make, I always get the following errors:
============================================
make[4]: Entering directory `/root/workspace/konq-e-kdelibs-3.5.9/konq-embed/dropin'
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../konq-embed/kdesrc/kdecore -I../../konq-embed/kdesrc/kjs -I../../konq-embed/kdesrc/kssl -I../../konq-embed/kdesrc -I../../konq-embed/kdesrc/kdecore -I../../konq-embed/kdesrc/kio/kfile -I../.. -I../../konq-embed/kdesrc -I/root/workspace/qtopia-free-2.2.0-rtti/qtopia/include -I/root/konq-embedded/include -I/root/workspace/qtopia-free-2.2.0-rtti/qt2/include   -I/root/workspace/qtopia-free-2.2.0-rtti/qtopia/include  -DQWS -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -D_QT_QPE_ -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST  -MT libdropin_la.all_cpp.lo -MD -MP -MF ".deps/libdropin_la.all_cpp.Tpo" -c -o libdropin_la.all_cpp.lo libdropin_l
 a.all_cpp.cpp; \
then mv -f ".deps/libdropin_la.all_cpp.Tpo" ".deps/libdropin_la.all_cpp.Plo"; else rm -f ".deps/libdropin_la.all_cpp.Tpo"; exit 1; fi
In file included from kfiledialog.cpp:207,
                 from libdropin_la.all_cpp.cpp:3:
kfiledialog.moc:15:34: error: private/qucomextra_p.h: No such file or directory
kfiledialog.moc:17:2: error: #error "This file was generated using the moc from 3.3.7. It"
kfiledialog.moc:18:2: error: #error "cannot be used with the include files from this version of Qt."
kfiledialog.moc:19:2: error: #error "(The moc has changed too much.)"
In file included from kmessagebox.cpp:143,
                 from libdropin_la.all_cpp.cpp:4:
kmessagebox.moc:17:2: error: #error "This file was generated using the moc from 3.3.7. It"
kmessagebox.moc:18:2: error: #error "cannot be used with the include files from this version of Qt."
kmessagebox.moc:19:2: error: #error "(The moc has changed too much.)"
In file included from kapplication.cpp:179,
                 from libdropin_la.all_cpp.cpp:10:
kapplication.moc:17:2: error: #error "This file was generated using the moc from 3.3.7. It"
kapplication.moc:18:2: error: #error "cannot be used with the include files from this version of Qt."
kapplication.moc:19:2: error: #error "(The moc has changed too much.)"
In file included from dcopobject.cpp:70,
                 from libdropin_la.all_cpp.cpp:11:
dcopobject.moc:17:2: error: #error "This file was generated using the moc from 3.3.7. It"
dcopobject.moc:18:2: error: #error "cannot be used with the include files from this version of Qt."
dcopobject.moc:19:2: error: #error "(The moc has changed too much.)"
In file included from kdialogbase.cpp:82,
                 from libdropin_la.all_cpp.cpp:14:
kdialogbase.moc:17:2: error: #error "This file was generated using the moc from 3.3.7. It"
kdialogbase.moc:18:2: error: #error "cannot be used with the include files from this version of Qt."
kdialogbase.moc:19:2: error: #error "(The moc has changed too much.)"
In file included from kuniqueapplication.cpp:2,
                 from libdropin_la.all_cpp.cpp:15:
kuniqueapplication.moc:17:2: error: #error "This file was generated using the moc from 3.3.7. It"
kuniqueapplication.moc:18:2: error: #error "cannot be used with the include files from this version of Qt."
kuniqueapplication.moc:19:2: error: #error "(The moc has changed too much.)"
In file included from kdialog.cpp:31,
                 from libdropin_la.all_cpp.cpp:16:
kdialog.moc:17:2: error: #error "This file was generated using the moc from 3.3.7. It"
kdialog.moc:18:2: error: #error "cannot be used with the include files from this version of Qt."
kdialog.moc:19:2: error: #error "(The moc has changed too much.)"
In file included from klibloader.cpp:211,
                 from libdropin_la.all_cpp.cpp:18:
klibloader.moc:17:2: error: #error "This file was generated using the moc from 3.3.7. It"
klibloader.moc:18:2: error: #error "cannot be used with the include files from this version of Qt."
klibloader.moc:19:2: error: #error "(The moc has changed too much.)"
...........
==========================================

Could anyone else give me some hints? Thanks!


2008-07-17 



Best Regards!
Tony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/konq-e/attachments/20080717/b42a1a84/attachment.html 


More information about the konq-e mailing list