New compiling problems (PPC, gcc 3.2.1, qt 3.2.3)

Jason Hihn jhihn at lanexdvr.com
Wed Feb 25 20:19:00 CET 2004


OK, so I'm up to gcc 3.3.something
I'm compiling the last snapshot (Dec 2003) against Qt 3.2.3

I still get:
make  all-recursive
...
if /bin/sh ../../libtool --silent --mode=compile --tag=CXX
/opt/montavista/pro/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: error: `setEnabled' undeclared (first use this function)
kaction.cpp:129: error: (Each undeclared identifier is reported only once
for each function it appears in.)
kaction.cpp:131: error: 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: error: 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: error:
    bool QObject::connect(const QObject*, const char*, const char*) const
kaction.cpp:133: error: 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: error: 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: error:
    bool QObject::connect(const QObject*, const char*, const char*) const
kaction.cpp: In member function `virtual void KAction::qDisconnect()':
kaction.cpp:141: error: 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: error: 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: error:
    bool QObject::disconnect(const char*, const QObject*, const char*)
/home/jhihn/qt-embedded-eval-3.2.3/include/qobject.h:242: error:
    bool QObject::disconnect(const QObject*, const char*)
kaction.cpp:143: error: 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: error: 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: error:
    bool QObject::disconnect(const char*, const QObject*, const char*)
/home/jhihn/qt-embedded-eval-3.2.3/include/qobject.h:242: error:
    bool QObject::disconnect(const QObject*, const char*)
kaction.cpp: In member function `void KToggleAction::setChecked(bool)':
kaction.cpp:168: error: `isToggleAction' undeclared (first use this
function)
kaction.cpp:171: error: `setOn' undeclared (first use this function)
kaction.cpp: In member function `virtual void
KToggleAction::qConnect(QAction*)
   ':
kaction.cpp:188: error: `isToggleAction' undeclared (first use this
function)
kaction.cpp:190: error: `setOn' undeclared (first use this function)
kaction.cpp:192: error: 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: error: 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: error:
    bool QObject::connect(const QObject*, const char*, const char*) const
kaction.cpp:195: error: `name' undeclared (first use this function)
kaction.cpp: In member function `virtual void KToggleAction::qDisconnect()':
kaction.cpp:204: error: 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: error: 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: error:
    bool QObject::disconnect(const char*, const QObject*, const char*)
/home/jhihn/qt-embedded-eval-3.2.3/include/qobject.h:242: error:
    bool QObject::disconnect(const QObject*, const char*)
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


Anyone have a clue? I Successfully compiled against 3.2.3 before...

-J
Verint Systems Inc
 
 

-----Original Message-----
From: Paul Chitescu [mailto:Paul.Chitescu at IMC-Group.org] 
Sent: Thursday, February 19, 2004 12:42 PM
To: For discussion of Konqueror/Embedded
Subject: Re: New compiling problems (PPC, gcc 3.2.1, qt 3.2.3)

Jason Hihn wrote:
> 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

AFAIK gcc-3.2.x is broken on many non-ix86 targets and even on ix86 has some
trouble.

You should use gcc-3.3 or gcc-2.95.3 instead. Also make sure binutils work
properly for your target (2.12 or 2.14).

--
 Paul Chitescu
 pchitescu at null.ro   http://pchitescu.null.ro/   ICQ:22641673
 Any spammers will be painfully squeezed into /dev/null


_______________________________________________
konq-e mailing list
konq-e at kde.org
https://mail.kde.org/mailman/listinfo/konq-e



More information about the konq-e mailing list