kdenetwork/kopete compilation issue
Grzegorz JaĆkiewicz
gryzman at gmail.com
Sun Dec 5 08:31:10 GMT 2004
Hi folks
Recently I decided to do some work on kopete, updated sources, and compile it.
Zonk, I couldn't do it. I've tried both unsermake and automake, the
same error appears.
With automake:
root at thinkpaddie:~/KDE/kdenetwork# make -f Makefile.cvs
This Makefile is only for the CVS repository
This will be deleted before making the distribution
*** Creating acinclude.m4
*** Creating list of subdirectories
*** Creating Makefile.am
*** Creating configure.files
*** Creating configure.in
*** Creating aclocal.m4
*** Creating configure
*** Creating config.h template
*** Creating Makefile templates
kopete/libkopete/Makefile.am:1: compile_LIBKOPETE_COMPAT does not
appear in AM_CONDITIONAL
kopete/plugins/Makefile.am:1: include_motionautoaway does not appear
in AM_CONDITIONAL
kopete_nowlistening_la_LDFLAGS: variable `XMMS_LDFLAGS' is used but
`XMMS_LDFLAGS' is undefined
kopete/protocols/Makefile.am:1: include_meanwhile does not appear in
AM_CONDITIONAL
kopete/protocols/Makefile.am:5: include_gadu does not appear in AM_CONDITIONAL
kopete/protocols/Makefile.am:9: include_jabber does not appear in AM_CONDITIONAL
kopete/protocols/gadu/Makefile.am:2: include_libggcopy does not appear
in AM_CONDITIONAL
libgadu_copy_la_LDFLAGS: variable `SSL_LDFLAGS' is used but
`SSL_LDFLAGS' is undefined
libiris_xmpp_core_la_LDFLAGS: variable `IDN_LDFLAGS' is used but
`IDN_LDFLAGS' is undefined
libiris_xmpp_core_la_LDFLAGS: variable `IDN_LIBS' is used but
`IDN_LIBS' is undefined
make[1]: *** [cvs] Error 1
make: *** [all] Error 2
configure is created, but not very usefull, as after I run make I got
immiedately:
make[4]: Entering directory `/root/KDE/kdenetwork/kopete/libkopete/private'
if /bin/sh ../../../libtool --silent --mode=compile g++
-DHAVE_CONFIG_H -I. -I. -I../../.. -DKDE_NO_COMPAT -DQT_NO_COMPAT
-DQT_NO_CAST_ASCII -DQT_NO_ASCII_CAST -I/opt/kde/include
-I/usr/local/qt-copy//include -I/usr/X11R6/include
-DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64
-Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W
-Wpointer-arith -Wwrite-strings -g -O2 -Wformat-security
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -MT kopeteemoticons.lo -MD -MP -MF
".deps/kopeteemoticons.Tpo" \
-c -o kopeteemoticons.lo `test -f 'kopeteemoticons.cpp' || echo
'./'`kopeteemoticons.cpp; \
then mv -f ".deps/kopeteemoticons.Tpo" ".deps/kopeteemoticons.Plo"; \
else rm -f ".deps/kopeteemoticons.Tpo"; exit 1; \
fi
In file included from kopeteemoticons.cpp:19:
kopeteemoticons.h:24:27: kopete_export.h: No such file or directory
In file included from kopeteemoticons.cpp:19:
kopeteemoticons.h:28: error: invalid function declaration
In file included from kopeteemoticons.cpp:21:
kopeteprefs.h:29: error: invalid function declaration
kopeteemoticons.cpp:45: error: `Emoticons' has not been declared
kopeteemoticons.cpp:52: error: `Emoticons' has not been declared
kopeteemoticons.cpp:67: error: expected constructor, destructor, or
type conversion before '*' token
kopeteemoticons.cpp:67: error: expected `,' or `;' before '*' token
kopeteemoticons.cpp:69: error: expected constructor, destructor, or
type conversion before '*' token
kopeteemoticons.cpp:69: error: expected `,' or `;' before '*' token
kopeteemoticons.cpp:77: error: `Emoticons' has not been declared
kopeteemoticons.cpp: In function `QString Kopete::parseEmoticons(const
QString&)':
kopeteemoticons.cpp:79: error: `self' undeclared (first use this function)
kopeteemoticons.cpp:79: error: (Each undeclared identifier is reported
only once for each function it appears in.)
kopeteemoticons.cpp: At global scope:
kopeteemoticons.cpp:83: error: `Emoticons' has not been declared
kopeteemoticons.cpp:83: error: ISO C++ forbids declaration of
`Emoticons' with no type
kopeteemoticons.cpp: In function `int Kopete::Emoticons(const QString&)':
kopeteemoticons.cpp:83: error: only constructors take base initializers
kopeteemoticons.cpp:86: error: `d' undeclared (first use this function)
kopeteemoticons.cpp:89: error: `initEmoticons' undeclared (first use
this function)
kopeteemoticons.cpp:90: error: `KopetePrefs' has not been declared
kopeteemoticons.cpp:90: error: `prefs' undeclared (first use this function)
kopeteemoticons.cpp:90: error: invalid use of `this' in non-member function
kopeteemoticons.cpp:90: error: `connect' undeclared (first use this function)
kopeteemoticons.cpp: At global scope:
kopeteemoticons.cpp:99: error: expected constructor, destructor, or
type conversion before '::' token
kopeteemoticons.cpp:99: error: expected `,' or `;' before '::' token
kopeteemoticons.cpp:106: error: `Emoticons' is not a class or namespace
kopeteemoticons.cpp: In function `void Kopete::addIfPossible(const
QString&, const QStringList&)':
kopeteemoticons.cpp:112: error: `d' undeclared (first use this function)
kopeteemoticons.cpp: At global scope:
kopeteemoticons.cpp:147: error: `Emoticons' is not a class or namespace
kopeteemoticons.cpp: In function `void Kopete::initEmoticons(const QString&)':
kopeteemoticons.cpp:148: error: `void Kopete::initEmoticons(const
QString&)' used prior to declaration
kopeteemoticons.cpp:151: error: `d' undeclared (first use this function)
kopeteemoticons.cpp:151: error: `KopetePrefs' has not been declared
kopeteemoticons.cpp:151: error: `prefs' undeclared (first use this function)
kopeteemoticons.cpp:154: error: `KopetePrefs' has not been declared
kopeteemoticons.cpp: At global scope:
kopeteemoticons.cpp:224: error: `Emoticons' is not a class or namespace
kopeteemoticons.cpp: In function `QMap<QString, QString>
Kopete::emoticonAndPicList()':
kopeteemoticons.cpp:226: error: `d' undeclared (first use this function)
kopeteemoticons.cpp: At global scope:
kopeteemoticons.cpp:230: error: `Emoticons' is not a class or namespace
kopeteemoticons.cpp: In function `QString Kopete::parse(const QString&)':
kopeteemoticons.cpp:233: error: `KopetePrefs' has not been declared
kopeteemoticons.cpp:233: error: `prefs' undeclared (first use this function)
kopeteemoticons.cpp:295: error: `d' undeclared (first use this function)
kopeteemoticons.cpp:441:31: kopeteemoticons.moc: No such file or directory
make[4]: *** [kopeteemoticons.lo] Error 1
make[4]: Leaving directory `/root/KDE/kdenetwork/kopete/libkopete/private'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/KDE/kdenetwork/kopete/libkopete'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/KDE/kdenetwork/kopete'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/KDE/kdenetwork'
make: *** [all] Error 2
Same happends for unsermake, but I don't have any errors on make -f
Makefile.cvs, just make gives me the same error about kopete_export.h.
I would guess it has to do with latest changes to _export stuff.
Just in case, I am using debian unstable. Gcc 3.4.4, automake 1.9,
autoconf 2.59. Unsermake is from HEAD CVS, same about kopete.
Thanks.
--
GJ
More information about the kde-core-devel
mailing list