New compiling problems (PPC, gcc 3.2.1, qt 3.2.3)
Jason Hihn
jhihn at lanexdvr.com
Thu Feb 19 17:07:29 CET 2004
Before my success was with x86 on x86 with gcc 3.2.2-5. This time, I am
compiling for PPC:
Host: x86, gcc: 2.96-112
Target: PPC 405 gcc: 3.2.1
Qt 3.2.3
I got it to compile for x86 using gcc 3.2.2-5 previously. Has anyone had any
luck with 3.2.1? It looks like it can't tell choose static and non-static
member functions, but it compiled Qt fine. I think I need a new compiler.
Any help is appreciated.
The following is my error:
if /bin/sh ../../libtool --silent --mode=compile --tag=CXX
/opt/hardhat/devkit/ppc/405/bin/ppc_405-g++ -DHAVE_CONFIG_H -I. -I. -I../..
-I./../kdesrc/kdecore -I./../kdesrc
-I/home/jhihn/konqueror3-embedded-0.2-20031201/kde/include
-I/home/jhihn/qt-embedded-eval-3.2.3/include -DQT_THREAD_SUPPORT -DQWS
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith
-Wwrite-strings -O2 -fno-exceptions -fno-check-new -fno-common -fno-rtti
-DQT_NO_ASCII_CAST -MT kaction.lo -MD -MP -MF ".deps/kaction.Tpo" \
-c -o kaction.lo `test -f 'kaction.cpp' || echo './'`kaction.cpp; \
then mv -f ".deps/kaction.Tpo" ".deps/kaction.Plo"; \
else rm -f ".deps/kaction.Tpo"; exit 1; \
fi
kaction.cpp: In member function `virtual void KAction::qConnect(QAction*)':
kaction.cpp:129: invalid use of undefined type `struct QAction'
kaction.h:17: 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/jhihn/qt-embedded-eval-3.2.3/include/qobject.h:116: candidates are:
static bool QObject::connect(const QObject*, const char*, const QObject*,
const char*)
/home/jhihn/qt-embedded-eval-3.2.3/include/qobject.h:229:
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/jhihn/qt-embedded-eval-3.2.3/include/qobject.h:116: candidates are:
static bool QObject::connect(const QObject*, const char*, const QObject*,
const char*)
/home/jhihn/qt-embedded-eval-3.2.3/include/qobject.h:229:
bool
QObject::connect(const QObject*, const char*, const char*) const
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/jhihn/qt-embedded-eval-3.2.3/include/qobject.h:122: candidates are:
static bool QObject::disconnect(const QObject*, const char*, const
QObject*,
const char*)
/home/jhihn/qt-embedded-eval-3.2.3/include/qobject.h:236:
bool
QObject::disconnect(const char* = 0, const QObject* = 0, const char* = 0)
/home/jhihn/qt-embedded-eval-3.2.3/include/qobject.h:242:
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/jhihn/qt-embedded-eval-3.2.3/include/qobject.h:122: candidates are:
static bool QObject::disconnect(const QObject*, const char*, const
QObject*,
const char*)
/home/jhihn/qt-embedded-eval-3.2.3/include/qobject.h:236:
bool
QObject::disconnect(const char* = 0, const QObject* = 0, const char* = 0)
/home/jhihn/qt-embedded-eval-3.2.3/include/qobject.h:242:
bool
QObject::disconnect(const QObject*, const char* = 0)
kaction.cpp: In member function `void KToggleAction::setChecked(bool)':
kaction.cpp:168: invalid use of undefined type `struct QAction'
kaction.h:17: forward declaration of `struct QAction'
kaction.cpp:171: invalid use of undefined type `struct QAction'
kaction.h:17: 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:17: forward declaration of `struct QAction'
kaction.cpp:190: invalid use of undefined type `struct QAction'
kaction.h:17: 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/jhihn/qt-embedded-eval-3.2.3/include/qobject.h:116: candidates are:
static bool QObject::connect(const QObject*, const char*, const QObject*,
const char*)
/home/jhihn/qt-embedded-eval-3.2.3/include/qobject.h:229:
bool
QObject::connect(const QObject*, const char*, const char*) const
kaction.cpp:195: invalid use of undefined type `struct QAction'
kaction.h:17: 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/jhihn/qt-embedded-eval-3.2.3/include/qobject.h:122: candidates are:
static bool QObject::disconnect(const QObject*, const char*, const
QObject*,
const char*)
/home/jhihn/qt-embedded-eval-3.2.3/include/qobject.h:236:
bool
QObject::disconnect(const char* = 0, const QObject* = 0, const char* = 0)
/home/jhihn/qt-embedded-eval-3.2.3/include/qobject.h:242:
bool
QObject::disconnect(const QObject*, const char* = 0)
make[4]: *** [kaction.lo] Error 1
make[4]: Leaving directory
`/home/jhihn/konqueror3-embedded-0.2-20031201/konq-embed/dropin'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/jhihn/konqueror3-embedded-0.2-20031201/konq-embed/dropin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/jhihn/konqueror3-embedded-0.2-20031201/konq-embed'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jhihn/konqueror3-embedded-0.2-20031201'
make: *** [all] Error 2
Jason Hihn
Software Engineer
Verint Video Solutions
Phone 301.483.9830
Fax 301.483.9790
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/konq-e/attachments/20040219/2b29701e/attachment-0001.html
More information about the konq-e
mailing list