List Info

Thread: Compilation broken




Compilation broken
country flaguser name
Poland
2007-02-16 13:15:56
Hello,


There is no closing brace in src/src.pri in line 327 (before

whiteboarding block) which makes Psi uncompillable from
clean source code.


Regards,

-- 
Micha³ Jaz³owiecki (michalj)
Psi Forum & Wiki Moderator :: Psi-Daisy Author

_______________________________________________
psi-devel mailing list
psi-devellists.affinix.com
http://lists.affinix.com/listinfo.cgi/psi-devel-affin
ix.com

Re: Compilation broken
country flaguser name
Germany
2007-02-16 13:58:07
Disagree. I checked out currently, completely fresh from
svn, and I
could compile it!

Ciao Ephraim

Am Freitag, den 16.02.2007, 20:15 +0100 schrieb Michał
Jazłowiecki:
> Hello,
> 
> 
> There is no closing brace in src/src.pri in line 327
(before 
> whiteboarding block) which makes Psi uncompillable from
clean source code.
> 
> 
> Regards,
> 

_______________________________________________
psi-devel mailing list
psi-devellists.affinix.com
http://lists.affinix.com/listinfo.cgi/psi-devel-affin
ix.com
Re: Compilation broken
country flaguser name
Poland
2007-02-16 13:58:27
Ephraim Talrock wrote:
> Disagree. I checked out currently, completely fresh
from svn, and I
> could compile it!
> 
> Ciao Ephraim

Either me or my build system need a rest... switching off.
Nighty night.


-- 
Michał Jazłowiecki (michalj)
Psi Forum & Wiki Moderator :: Psi-Daisy Author

_______________________________________________
psi-devel mailing list
psi-devellists.affinix.com
http://lists.affinix.com/listinfo.cgi/psi-devel-affin
ix.com
Re: Compilation broken
country flaguser name
Poland
2007-02-16 14:47:17
Michał Jazłowiecki napisał(a):
> Ephraim Talrock wrote:
>> Disagree. I checked out currently, completely fresh
from svn, and I
>> could compile it!
>>
>> Ciao Ephraim
> 
> Either me or my build system need a rest... switching
off. Nighty night.

Finally, I worked out what's wrong: if you include
whiteboarding in your 
  CONFIG (CONFIG += whiteboarding), then the line 327 in
src/src.pri, 
which goes like this:

	// Whiteboarding support. Still experimental.

causes confusion to qmake (because of syntax error -
comments are 
preceded with hashes (#) and do not use C/C++/C#/Java
syntax). 
Correcting that line to:

	# Whiteboarding support. Still experimental.

makes qmake to end its run correctly. However, if CONFIG
contains 
psi_plugins (CONFIG += psi_plugins), then my linker
complains:

../_objpsiaccount.o(.text+0x2372a):psiaccount.cpp:
undefined reference 
to `PluginManager::instance()'
./_objpsiaccount.o(.text+0x23746):psiaccount.cpp: undefined
reference 
to `PluginManager::processEvent(PsiAccount const*,
QDomElemen
t&)'
./_objpsiaccount.o(.text+0x24e95):psiaccount.cpp: undefined
reference 
to `PluginManager::instance()'
./_objpsiaccount.o(.text+0x24ec5):psiaccount.cpp: undefined
reference 
to `PluginManager::message(PsiAccount*, XMPP::Jid
const&, Use
rListItem const*, QString const&)'
./_objpsiaccount.o(.text+0x33971):psiaccount.cpp: undefined
reference 
to `PluginManager::instance()'
./_objpsiaccount.o(.text+0x3398d):psiaccount.cpp: undefined
reference 
to `PluginManager::addAccount(PsiAccount const*,
XMPP::Client
*)'
./_objpsiaccount.o(.text+0x370c1):psiaccount.cpp: undefined
reference 
to `PluginManager::instance()'
./_objpsiaccount.o(.text+0x370dd):psiaccount.cpp: undefined
reference 
to `PluginManager::addAccount(PsiAccount const*,
XMPP::Client
*)'
./_objpsicon.o(.text+0x38cf):psicon.cpp: undefined
reference to 
`OptionsDlg::openTab(QString const&)'
./_objpsicon.o(.text+0x39a7):psicon.cpp: undefined
reference to 
`OptionsDlg::OptionsDlg(PsiCon*, Options const&,
QWidget*)'
./_objpsicon.o(.text+0x3a12):psicon.cpp: undefined
reference to 
`OptionsDlg::openTab(QString const&)'
./_objpsicon.o(.text+0x3b97):psicon.cpp: undefined
reference to 
`OptionsDlg::OptionsDlg(PsiCon*, Options const&,
QWidget*)'
./_objpsicon.o(.text+0x172e8):psicon.cpp: undefined
reference to 
`PluginManager::instance()'
collect2: ld returned 1 exit status
mingw32-make[2]: *** [releasepsi.exe] Error 1
mingw32-make[1]: *** [release] Error 2
mingw32-make: *** [sub-src-make_default] Error 2


:( And yes, I like to experiment. Anyway, excluding
psi_plugins from 
CONFIG makes me end up with another error:

In file included from wbscene.h:23,
                  from wbwidget.h:24,
                  from wbdlg.h:42,
                  from wbmanager.h:28,
                  from wbmanager.cpp:25:
wbitems.h:42: error: redefinition of `struct
QMetaTypeId<QGraphicsItem*>'
C:/Qt/4.2.2/include/QtGui/../../src/gui/graphicsview/qgraphi
csitem.h:286: 
error: previous definition of `struct
QMetaTypeId<QGraphic
sItem*>'
wbmanager.cpp: In member function `void
WbManager::messageReceived(const 
XMPP::Message&)':
wbmanager.cpp:65: error: 'const class XMPP::Message' has no
member named 
'wb'
wbmanager.cpp:77: error: 'const class XMPP::Message' has no
member named 
'wb'
wbmanager.cpp:85: error: 'const class XMPP::Message' has no
member named 
'wb'
wbmanager.cpp:88: error: 'const class XMPP::Message' has no
member named 
'wb'
wbmanager.cpp:124: error: 'const class XMPP::Message' has no
member 
named 'wb'
wbmanager.cpp:132: error: 'const class XMPP::Message' has no
member 
named 'wb'
wbmanager.cpp: In member function `WbDlg* 
WbManager::negotiateSession(const XMPP::Message&)':
wbmanager.cpp:175: error: 'const class XMPP::Message' has no
member 
named 'wb'
wbmanager.cpp:256: error: 'const class XMPP::Message' has no
member 
named 'wb'
wbmanager.cpp:257: error: 'const class XMPP::Message' has no
member 
named 'wb'
wbmanager.cpp: In member function `void 
WbManager::sendMessage(QDomElement, const XMPP::Jid&,
bool)':
wbmanager.cpp:623: error: 'class XMPP::Message' has no
member named 'setWb'
mingw32-make[2]: *** [_objwbmanager.o] Error 1
mingw32-make[1]: *** [release] Error 2
mingw32-make: *** [sub-src-make_default] Error 2


:(

Regards,


-- 
Michał Jazłowiecki (michalj)
Psi Forum & Wiki Moderator :: Psi-Daisy Author

_______________________________________________
psi-devel mailing list
psi-devellists.affinix.com
http://lists.affinix.com/listinfo.cgi/psi-devel-affin
ix.com
Re: Compilation broken
user name
2007-02-16 16:42:05
> Finally, I worked out what's wrong: if you include
whiteboarding in your
>   CONFIG (CONFIG += whiteboarding), then the line 327
in src/src.pri,
> which goes like this:

Well, as it said: whiteboarding is experimental. If you
report bugs,
please check that they occur without any unofficial patches,
builds or
experimental features turned on 

cheers,
Remko
_______________________________________________
psi-devel mailing list
psi-devellists.affinix.com
http://lists.affinix.com/listinfo.cgi/psi-devel-affin
ix.com

Re: Compilation broken
country flaguser name
Germany
2007-02-16 17:10:16
Btw. my enable_whiteboard patch fixes this ;)

Ciao Ephraim

Am Freitag, den 16.02.2007, 21:47 +0100 schrieb Michał
Jazłowiecki:
> Michał Jazłowiecki napisał(a):
> > Ephraim Talrock wrote:
> >> Disagree. I checked out currently, completely
fresh from svn, and I
> >> could compile it!
> >>
> >> Ciao Ephraim
> > 
> > Either me or my build system need a rest...
switching off. Nighty night.
> 
> Finally, I worked out what's wrong: if you include
whiteboarding in your 
>   CONFIG (CONFIG += whiteboarding), then the line 327
in src/src.pri, 
> which goes like this:
> 
> 	// Whiteboarding support. Still experimental.
> 
> causes confusion to qmake (because of syntax error -
comments are 
> preceded with hashes (#) and do not use C/C++/C#/Java
syntax). 
> Correcting that line to:
> 
> 	# Whiteboarding support. Still experimental.
> 
> makes qmake to end its run correctly. However, if
CONFIG contains 
> psi_plugins (CONFIG += psi_plugins), then my linker
complains:
> 
> ../_objpsiaccount.o(.text+0x2372a):psiaccount.cpp:
undefined reference 
> to `PluginManager::instance()'
> ./_objpsiaccount.o(.text+0x23746):psiaccount.cpp:
undefined reference 
> to `PluginManager::processEvent(PsiAccount const*,
QDomElemen
> t&)'
> ./_objpsiaccount.o(.text+0x24e95):psiaccount.cpp:
undefined reference 
> to `PluginManager::instance()'
> ./_objpsiaccount.o(.text+0x24ec5):psiaccount.cpp:
undefined reference 
> to `PluginManager::message(PsiAccount*, XMPP::Jid
const&, Use
> rListItem const*, QString const&)'
> ./_objpsiaccount.o(.text+0x33971):psiaccount.cpp:
undefined reference 
> to `PluginManager::instance()'
> ./_objpsiaccount.o(.text+0x3398d):psiaccount.cpp:
undefined reference 
> to `PluginManager::addAccount(PsiAccount const*,
XMPP::Client
> *)'
> ./_objpsiaccount.o(.text+0x370c1):psiaccount.cpp:
undefined reference 
> to `PluginManager::instance()'
> ./_objpsiaccount.o(.text+0x370dd):psiaccount.cpp:
undefined reference 
> to `PluginManager::addAccount(PsiAccount const*,
XMPP::Client
> *)'
> ./_objpsicon.o(.text+0x38cf):psicon.cpp: undefined
reference to 
> `OptionsDlg::openTab(QString const&)'
> ./_objpsicon.o(.text+0x39a7):psicon.cpp: undefined
reference to 
> `OptionsDlg::OptionsDlg(PsiCon*, Options const&,
QWidget*)'
> ./_objpsicon.o(.text+0x3a12):psicon.cpp: undefined
reference to 
> `OptionsDlg::openTab(QString const&)'
> ./_objpsicon.o(.text+0x3b97):psicon.cpp: undefined
reference to 
> `OptionsDlg::OptionsDlg(PsiCon*, Options const&,
QWidget*)'
> ./_objpsicon.o(.text+0x172e8):psicon.cpp: undefined
reference to 
> `PluginManager::instance()'
> collect2: ld returned 1 exit status
> mingw32-make[2]: *** [releasepsi.exe] Error 1
> mingw32-make[1]: *** [release] Error 2
> mingw32-make: *** [sub-src-make_default] Error 2
> 
> 
> :( And yes, I like to experiment. Anyway, excluding
psi_plugins from 
> CONFIG makes me end up with another error:
> 
> In file included from wbscene.h:23,
>                   from wbwidget.h:24,
>                   from wbdlg.h:42,
>                   from wbmanager.h:28,
>                   from wbmanager.cpp:25:
> wbitems.h:42: error: redefinition of `struct
QMetaTypeId<QGraphicsItem*>'
>
C:/Qt/4.2.2/include/QtGui/../../src/gui/graphicsview/qgraphi
csitem.h:286: 
> error: previous definition of `struct
QMetaTypeId<QGraphic
> sItem*>'
> wbmanager.cpp: In member function `void
WbManager::messageReceived(const 
> XMPP::Message&)':
> wbmanager.cpp:65: error: 'const class XMPP::Message'
has no member named 
> 'wb'
> wbmanager.cpp:77: error: 'const class XMPP::Message'
has no member named 
> 'wb'
> wbmanager.cpp:85: error: 'const class XMPP::Message'
has no member named 
> 'wb'
> wbmanager.cpp:88: error: 'const class XMPP::Message'
has no member named 
> 'wb'
> wbmanager.cpp:124: error: 'const class XMPP::Message'
has no member 
> named 'wb'
> wbmanager.cpp:132: error: 'const class XMPP::Message'
has no member 
> named 'wb'
> wbmanager.cpp: In member function `WbDlg* 
> WbManager::negotiateSession(const XMPP::Message&)':
> wbmanager.cpp:175: error: 'const class XMPP::Message'
has no member 
> named 'wb'
> wbmanager.cpp:256: error: 'const class XMPP::Message'
has no member 
> named 'wb'
> wbmanager.cpp:257: error: 'const class XMPP::Message'
has no member 
> named 'wb'
> wbmanager.cpp: In member function `void 
> WbManager::sendMessage(QDomElement, const
XMPP::Jid&, bool)':
> wbmanager.cpp:623: error: 'class XMPP::Message' has no
member named 'setWb'
> mingw32-make[2]: *** [_objwbmanager.o] Error 1
> mingw32-make[1]: *** [release] Error 2
> mingw32-make: *** [sub-src-make_default] Error 2
> 
> 
> :(
> 
> Regards,
> 
> 

_______________________________________________
psi-devel mailing list
psi-devellists.affinix.com
http://lists.affinix.com/listinfo.cgi/psi-devel-affin
ix.com
[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )