#19 Kopete CVS won't compile w/ QT 3.1.2

closed-rejected
nobody
None
5
2003-10-29
2003-07-04
Bruce Cooper
No

Just grabbed latest CVS, and uh-oh, bad news. Seems someone
is trying to overload an operator that shouldn't be [or at least this
is all I can gather.] I'll post the output from make below, and any
help would be appreciated. Am trying to get the nice look of
Kopete but for Yahoo!.

Thanks in advance

:Bruce

--output from make follows--

make[1]: Entering directory
`/home/bruce/kdenonbeta/kopete/libkopete'
Making all in private
make[2]: Entering directory
`/home/bruce/kdenonbeta/kopete/libkopete/private'
/opt/qt-x11-free-3.1.2/bin/moc ./kopeteevent.h -o
kopeteevent.moc
if /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++
-DHAVE_CONFIG_H -I. -I. -I../../.. -DKDE_NO_COMPAT
-DQT_NO_COMPAT -DQT_NO_CAST_ASCII
-DQT_NO_ASCII_CAST -I../../../kopete/libkopete
-I../../../kopete/libkopete/ui -I../../../kopete/libkopete/ui
-I/opt/include -I/opt/qt-x11-free-3.1.2/include
-I/usr/X11R6/include -I/usr/include/libxml2 -I/usr/include/libxml2
-DQT_THREAD_SUPPORT -D_REENTRANT -Dbool=char
-DHAS_BOOL -I/usr/lib/perl5/5.00503/i386-linux/CORE
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
-Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion
-Wchar-subscripts -O2 -Wformat-security
-Wmissing-format-attribute -fno-exceptions -fno-check-new
-fno-common -MT kopeteevent.lo -MD -MP -MF
".deps/kopeteevent.Tpo" \
-c -o kopeteevent.lo `test -f 'kopeteevent.cpp' || echo
'./'`kopeteevent.cpp; \
then mv -f ".deps/kopeteevent.Tpo" ".deps/kopeteevent.Plo"; \
else rm -f ".deps/kopeteevent.Tpo"; exit 1; \
fi
In file included from kopeteevent.cpp:21:
/opt/include/kdebug.h:104: `kdbgstream&
kdbgstream::operator<<(char)' and `
kdbgstream& kdbgstream::operator<<(char)' cannot be
overloaded
make[2]: *** [kopeteevent.lo] Error 1
make[2]: Leaving directory
`/home/bruce/kdenonbeta/kopete/libkopete/private'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/bruce/kdenonbeta/kopete/libkopete'
make: *** [all-recursive] Error 1

Discussion

  • Logged In: YES
    user_id=813663

    I compiled with no problems using qt 3.1.2

     
  • Ryan
    Ryan
    2003-08-31

    Logged In: YES
    user_id=708321

    I've been getting the following for a while now when trying to build from
    CVS. This is also using QT 3.1.2

    /bin/sh ../../../../libtool --silent --mode=link --tag=CXX g++
    -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
    -Wpointer-arith -Wwrite-strings -O2 -fno-exceptions -fno-check-new
    -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
    -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o
    libkopetecompat_kcdialog.la -rpath /usr/local/lib -L/usr/X11R6/lib
    -pthread -L/usr/local/lib -L/usr/local/lib -no-undefined -Wl,
    --no-undefined -Wl,--allow-shlib-undefined -version-info 3:0:2
    kcmodule.lo kcmoduleinfo.lo kcmoduleloader.lo kcmultidialog.lo
    kcddispatcher.lo kconfiguredialog.lo kselectentriesdialog.lo kplugininfo.lo
    kpluginselector.lo kcdpluginpage.lo ktabwidget.lo ktabbar.lo -lkio
    .libs/kcmodule.o: In function `KCModule::qt_cast(char const*)':
    .libs/kcmodule.o(.text+0x12c3): undefined reference to `strcmp'
    .libs/kcmultidialog.o: In function `KCMultiDialog::qt_cast(char const*)':
    .libs/kcmultidialog.o(.text+0xb7): undefined reference to `strcmp'
    .libs/kcddispatcher.o: In function `KCDDispatcher::qt_cast(char
    const*)':
    .libs/kcddispatcher.o(.text+0x22af): undefined reference to `strcmp'
    .libs/kcddispatcher.o: In function `QMapPrivate<QCString,
    KCDDispatcher::InstanceInfo>::find(QCString const&) const':
    .libs/kcddispatcher.o(.gnu.linkonce.t.
    _ZNK11QMapPrivateI8QCStringN13KCDDispatcher12InstanceInfoEE4findE
    RKS0_+0x49): undefined reference to `strcmp'
    .libs/kcddispatcher.o(.gnu.linkonce.t.
    _ZNK11QMapPrivateI8QCStringN13KCDDispatcher12InstanceInfoEE4findE
    RKS0_+0x86): undefined reference to `strcmp'
    .libs/kcddispatcher.o(.gnu.linkonce.t.
    _ZN11QMapPrivateI8QCStringN13KCDDispatcher12InstanceInfoEE12inser
    tSingleERKS0_+0x49): more undefined references to `strcmp' follow
    gmake[3]: *** [libkopetecompat_kcdialog.la] Error 1
    gmake[3]: Leaving directory
    `/home/soul/kdenetwork/kopete/libkopete/compat/kcdialog'
    gmake[2]: *** [all-recursive] Error 1
    gmake[2]: Leaving directory
    `/home/soul/kdenetwork/kopete/libkopete/compat'
    gmake[1]: *** [all-recursive] Error 1
    gmake[1]: Leaving directory `/home/soul/kdenetwork/kopete/libkopete'
    gmake: *** [all-recursive] Error 1

     
  • Matt Rogers
    Matt Rogers
    2003-10-29

    • status: open --> closed-rejected