[Psi-Devel] Error compiling qca-ossl

Eusoj Xirdneh xirdneh at gmail.com
Tue May 5 13:01:24 PDT 2009


Im trying to compile Psi from source under windows. I installed QT4 and qca
without problem. Now im trying to install qca-ossl, i downloaded the source
from the Delta XMPP website and when i run mingw32-make i get the following
error:

C:\QT40\qca-ossl-2.0.0-beta3>mingw32-make
mingw32-make -f Makefile.Debug all
mingw32-make[1]: Entering directory `C:/QT40/qca-ossl-2.0.0-beta3'
C:/Qt/2009.02/qt/bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DOSSL_097
-DQT_DL
L -DQT_PLUGIN -DQT_CORE_LIB -DQT_THREAD_SUPPORT
-I"..\..\Qt\2009.02\qt\include\Q
tCore" -I"..\..\Qt\2009.02\qt\include" -I"..\..\local\include"
-I"..\..\Qt\2009.
02\qt\include\ActiveQt" -I"debug" -I"."
-I"..\..\Qt\2009.02\qt\mkspecs\win32-g++
" -D__GNUC__ -DWIN32 qca-ossl.cpp -o debug\qca-ossl.moc
qca-ossl.cpp:7001: Error: Undefined interface
mingw32-make[1]: *** [debug/qca-ossl.moc] Error 1
mingw32-make[1]: Leaving directory `C:/QT40/qca-ossl-2.0.0-beta3'
mingw32-make: *** [debug-all] Error 2

I dont know whats about the Error 2, but the first one i have an idea. I
have found that what triggers this error is the 4th line in the following
code:

class opensslPlugin : public QObject, public QCAPlugin
{
    Q_OBJECT
    Q_INTERFACES(QCAPlugin) /*THIS LINE*/
public:
    virtual Provider *createProvider() { return new opensslProvider; }
};

Now apparently there has to do something with moc, also we see thereference
in the error message [debug/qca-ossl.moc] and browsing through the internet
i found that several people have had this error before, with no succes on
solving it. So, any ideas? apparently this happens just to some people not
allways happens and nobody knows why. I have downloaded the latest qca-ossl
source from http://websvn.kde.org/trunk/kdesupport/qca/plugins/qca-ossl/ and
still the same error.

I would appreciate your help, cuz i really like Psi and it will be a big
step in my work to use it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.affinix.com/pipermail/psi-devel-affinix.com/attachments/20090505/917b5f7b/attachment.htm>


More information about the Psi-Devel mailing list