[patch] More qt build fixes

Sjoerd Simons sjoerd at luon.net
Tue Feb 28 03:30:02 PST 2006


On Tue, Feb 28, 2006 at 12:06:14PM +0100, Thiago Macieira wrote:
> Sjoerd Simons wrote:
> >  Futhermore building on big-endian system fails with the following
> > errors: qdbusintegrator.cpp: In member function 'void
> > QDBusConnectionPrivate::deliverCall(const CallDeliveryEvent&) const':
> > qdbusintegrator.cpp:631: error:
> > 'QDBusConnectionPrivate::deliverCall(const CallDeliveryEvent&)
> > const::integer' uses local type
> > 'QDBusConnectionPrivate::deliverCall(const CallDeliveryEvent&)
> > const::integer' qdbusintegrator.cpp:631: error:   trying to instantiate
> > 'template<class T, int Prealloc> class QVarLengthArray'
> > qdbusintegrator.cpp:648: warning: comparison between signed and
> > unsigned integer expressions qdbusintegrator.cpp:660: error:
> > 'auxParameters' was not declared in this scope
> >
> >  I've fixed this by making the integer union declared globally (in the
> > cpp file) instead of locally in the function. See qt-endianess.patch
> 
> Thank you. I've applied a modified version of the patch locally. I'll 
> merge it to the CVS tree next week, when I merge the rest of the code. If 
> I apply it now, it'll just make my life difficult when merging next week.
> 
> As for the Makefile.am patch, can you tell me how it failed to build?

The creation of the moc file isn't triggered without the patch: 

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtXml -DDBUS_COMPILATION -DDBUS_API_SUBJECT_TO_CHANGE=1 -g -Wall -O2 -MT qdbusconnection.lo -MD -MP -MF .deps/qdbusconnection.Tpo -c ../qt/qdbusconnection.cpp  -fPIC -DPIC -o .libs/qdbusconnection.o
../qt/qdbusconnection.cpp:420:33: error: qdbusconnection_p.moc: No such file or directory
../qt/qdbustype.h:53: error: expected `)' before '*' token
../qt/qdbustype.h:109: error: expected `)' before '*' token
make[3]: *** [qdbusconnection.lo] Error 1

  Sjoerd
-- 
Never worry about theory as long as the machinery does what it's supposed to do.
		-- R. A. Heinlein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/dbus/attachments/20060228/dec6612b/attachment.pgp


More information about the dbus mailing list