Errors while compiling embedded konqueror
Juergen Beisert
jbeisert at eurodsn.de
Wed Aug 20 14:40:43 CEST 2003
Hi all,
I have tried to compile the embedded konqueror
(konqueror-embedded-snapshot-20030705)
on my machine (x86 host, SUSE 8.1, gcc 3.2).
I habe downloaded the embedded-qt (2.3.4-snapshot-20030722), configured it
with:
./configure -release -gif -shared -no-sm -no-thread -system-zlib\
-system-libpng -system-libmng -system-jpeg -no-nas-sound\
-no-opengl -no-g++-exceptions -no-xft -depths 16
compiled it successfully (I hope so, no errors while compiling).
Then I have configures the embedded konquer with:
./configure --enable-qt-embedded --disable-debug --enable-static\
--disable-shared --without-ssl --enable-final
When I start "make" I got (sorry for the ugly output, but I don't know what's
important, and what else not):
creating libdropin_la.all_cpp.cpp ...
if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H
-I. -I. -I../.. -I./../kdesrc/kdecore -I./../kdesrc
-I/home/jb/entwicklung/Projects/BMW_M/Konqueror/install/include
-I/home/jb/entwicklung/Projects/BMW_M/Konqueror/qt-embedded-free-2.3.4/include
-DQWS -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall
-pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG
-DNO_DEBUG -O2 -march=i486 -fno-exceptions -fno-check-new -fno-rtti
-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 `test -f 'libdropin_la.all_cpp.cpp' || echo
'./'`libdropin_la.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 libdropin_la.all_cpp.cpp:8:
dcopclient.cpp: In member function `bool DCOPClient::call(const QCString&,
const QCString&, const QCString&, const QByteArray&, QCString&,
QByteArray&)':
dcopclient.cpp:114: warning: unused variable `int res'
In file included from libdropin_la.all_cpp.cpp:9:
kdialogbase.cpp: In member function `KDialogBase::KDialogBase(const QString&,
int, KDialogBase::ButtonCode, KDialogBase::ButtonCode, QWidget*, const
char*, bool, bool, const QString&, const QString&, const QString&)':
kdialogbase.cpp:39: warning: unused parameter `const QString&caption'
kdialogbase.cpp:39: warning: unused parameter `int buttonMask'
kdialogbase.cpp:39: warning: unused parameter `KDialogBase::ButtonCode
defaultButton'
kdialogbase.cpp:39: warning: unused parameter `KDialogBase::ButtonCode
escapeButton'
kdialogbase.cpp:39: warning: unused parameter `bool separator'
In file included from libdropin_la.all_cpp.cpp:9:
kdialogbase.cpp: In member function `void
KDialogBase::enableButtonSeparator(bool)':
kdialogbase.cpp:72: warning: unused parameter `bool state'
In file included from libdropin_la.all_cpp.cpp:15:
kaction.cpp: In member function `virtual void KAction::qConnect(QAction*)':
kaction.cpp:129: invalid use of undefined type `struct QAction'
kaction.h:11: forward declaration of `struct QAction'
kaction.cpp:131: no matching function for call to `KAction::connect(QAction*&,
const char[13], KAction* const, const char[12])'
/home/jb/entwicklung/Projects/BMW_M/Konqueror/qt-embedded-free-2.3.4/include/qobject.h:110:
candidates
are: static bool QObject::connect(const QObject*, const char*, const
QObject*, const char*)
/home/jb/entwicklung/Projects/BMW_M/Konqueror/qt-embedded-free-2.3.4/include/qobject.h:210:
bool QObject::connect(const QObject*, const char*, const
char*) const
kaction.cpp:133: no matching function for call to `KAction::connect(KAction*
const, const char[15], QAction*&, const char[18])'
/home/jb/entwicklung/Projects/BMW_M/Konqueror/qt-embedded-free-2.3.4/include/qobject.h:110:
candidates
are: static bool QObject::connect(const QObject*, const char*, const
QObject*, const char*)
/home/jb/entwicklung/Projects/BMW_M/Konqueror/qt-embedded-free-2.3.4/include/qobject.h:210:
bool QObject::connect(const QObject*, const char*, const
char*) const
/home/jb/entwicklung/Projects/BMW_M/Konqueror/qt-embedded-free-2.3.4/include/qguardedptr.h:
In
member function `QGuardedPtr<T>& QGuardedPtr<T>::operator=(T*) [with T =
QAction]':
kaction.cpp:128: instantiated from here
/home/jb/entwicklung/Projects/BMW_M/Konqueror/qt-embedded-free-2.3.4/include/qguardedptr.h:101:
no
matching function for call to `QGuardedPtrPrivate::QGuardedPtrPrivate(
QAction*&)'
/home/jb/entwicklung/Projects/BMW_M/Konqueror/qt-embedded-free-2.3.4/include/qguardedptr.h:46:
candidates
are: QGuardedPtrPrivate::QGuardedPtrPrivate(const QGuardedPtrPrivate&)
/home/jb/entwicklung/Projects/BMW_M/Konqueror/qt-embedded-free-2.3.4/include/qguardedptr.h:49:
QGuardedPtrPrivate::QGuardedPtrPrivate(QObject*)
In file included from libdropin_la.all_cpp.cpp:15:
kaction.cpp: In member function `virtual void KAction::qDisconnect()':
kaction.cpp:141: no matching function for call to `KAction::disconnect(
QGuardedPtr<QAction>&, const char[13], KAction* const, const char[12])'
/home/jb/entwicklung/Projects/BMW_M/Konqueror/qt-embedded-free-2.3.4/include/qobject.h:114:
candidates
are: static bool QObject::disconnect(const QObject*, const char*, const
QObject*, const char*)
/home/jb/entwicklung/Projects/BMW_M/Konqueror/qt-embedded-free-2.3.4/include/qobject.h:216:
bool QObject::disconnect(const char* = 0, const QObject* =
0,
const char* = 0)
/home/jb/entwicklung/Projects/BMW_M/Konqueror/qt-embedded-free-2.3.4/include/qobject.h:221:
bool QObject::disconnect(const QObject*, const char* = 0)
kaction.cpp:143: no matching function for call to
`KAction::disconnect(KAction*
const, const char[15], QGuardedPtr<QAction>&, const char[18])'
/home/jb/entwicklung/Projects/BMW_M/Konqueror/qt-embedded-free-2.3.4/include/qobject.h:114:
candidates
are: static bool QObject::disconnect(const QObject*, const char*, const
QObject*, const char*)
/home/jb/entwicklung/Projects/BMW_M/Konqueror/qt-embedded-free-2.3.4/include/qobject.h:216:
bool QObject::disconnect(const char* = 0, const QObject* =
0,
const char* = 0)
/home/jb/entwicklung/Projects/BMW_M/Konqueror/qt-embedded-free-2.3.4/include/qobject.h:221:
bool QObject::disconnect(const QObject*, const char* = 0)
In file included from libdropin_la.all_cpp.cpp:15:
kaction.cpp: In member function `void KToggleAction::setChecked(bool)':
kaction.cpp:168: invalid use of undefined type `struct QAction'
kaction.h:11: forward declaration of `struct QAction'
kaction.cpp:171: invalid use of undefined type `struct QAction'
kaction.h:11: forward declaration of `struct QAction'
kaction.cpp: In member function `virtual void
KToggleAction::qConnect(QAction*)':
kaction.cpp:188: invalid use of undefined type `struct QAction'
kaction.h:11: forward declaration of `struct QAction'
kaction.cpp:190: invalid use of undefined type `struct QAction'
kaction.h:11: forward declaration of `struct QAction'
kaction.cpp:192: no matching function for call to `KToggleAction::connect(
QAction*&, const char[15], KToggleAction* const, const char[19])'
/home/jb/entwicklung/Projects/BMW_M/Konqueror/qt-embedded-free-2.3.4/include/qobject.h:110:
candidates
are: static bool QObject::connect(const QObject*, const char*, const
QObject*, const char*)
/home/jb/entwicklung/Projects/BMW_M/Konqueror/qt-embedded-free-2.3.4/include/qobject.h:210:
bool QObject::connect(const QObject*, const char*, const
char*) const
kaction.cpp:195: invalid use of undefined type `struct QAction'
kaction.h:11: forward declaration of `struct QAction'
kaction.cpp: In member function `virtual void KToggleAction::qDisconnect()':
kaction.cpp:204: no matching function for call to `KToggleAction::disconnect(
QGuardedPtr<QAction>&, const char[15], KToggleAction* const, const
char[19])
'
/home/jb/entwicklung/Projects/BMW_M/Konqueror/qt-embedded-free-2.3.4/include/qobject.h:114:
candidates
are: static bool QObject::disconnect(const QObject*, const char*, const
QObject*, const char*)
/home/jb/entwicklung/Projects/BMW_M/Konqueror/qt-embedded-free-2.3.4/include/qobject.h:216:
bool QObject::disconnect(const char* = 0, const QObject* =
0,
const char* = 0)
/home/jb/entwicklung/Projects/BMW_M/Konqueror/qt-embedded-free-2.3.4/include/qobject.h:221:
bool QObject::disconnect(const QObject*, const char* = 0)
In file included from libdropin_la.all_cpp.cpp:16:
kstdaction.cpp: At global scope:
kstdaction.cpp:32: warning: non-static const member `const char <anonymous
struct>::stdname[24]' in class without a constructor
kstdaction.cpp:33: warning: non-static const member `const char <anonymous
struct>::stdlabel[20]' in class without a constructor
In file included from libdropin_la.all_cpp.cpp:21:
kbuttonbox.cpp: In member function `QPushButton* KButtonBox::addButton(const
QString&, QObject*, const char*, bool)':
kbuttonbox.cpp:16: warning: unused parameter `bool noexpand'
In file included from libdropin_la.all_cpp.cpp:22:
kfiledialog.cpp: In function `static QString
KFileDialog::getOpenFileName(const
QString&, const QString&, QWidget*, const QString&)':
kfiledialog.cpp:9: warning: unused parameter `const QString&dir'
kfiledialog.cpp:9: warning: unused parameter `const QString&filter'
kfiledialog.cpp:9: warning: unused parameter `QWidget*parent'
kfiledialog.cpp:9: warning: unused parameter `const QString&caption'
In file included from libdropin_la.all_cpp.cpp:28:
kinputdialog.cpp:51:2: warning: #warning is a GCC extension
kinputdialog.cpp:51:2: warning: #warning the kjs code should check for ok!!
What 's going wrong in my environment? Any suggestion is welcome.
Thanks in advance
Juergen Beisert
More information about the konq-e
mailing list