[Spice-devel] Compilation issues on Ubuntu and Mac

Attila Sukosd attila.sukosd at gmail.com
Mon Jun 28 02:05:45 PDT 2010


Hi guys,

I've been trying to get the latest git sources to compile and i've been
getting the same issue on both platforms:

g++ -DHAVE_CONFIG_H -I. -I../.. -DSW_CANVAS_CACHE -DSW_CANVAS_NO_CHUNKS
-DUSE_GLZ -D__STDC_LIMIT_MACROS -I. -I.. -I../../common -I../../common/linux
-I../../client -I/usr/local/include/spice-1    -I/usr/include/alsa
-I/usr/local/include/pixman-1    -I/usr/local/include
-I/usr/include/CEGUI   -Wall -Wno-sign-compare -Werror
-Wno-deprecated-declarations      -g -O2 -MT main.o -MD -MP -MF
.deps/main.Tpo -c -o main.o main.cpp
In file included from ../red_channel.h:28,
                 from ../red_client.h:25,
                 from ../application.h:23,
                 from main.cpp:19:
../marshallers.h:27: error: declaration of ‘void (* <anonymous
struct>::SpiceMsgEmpty)(SpiceMarshaller*, SpiceMsgEmpty*)’
../../common/messages.h:42: error: changes meaning of ‘SpiceMsgEmpty’ from
‘typedef struct SpiceMsgEmpty SpiceMsgEmpty’
../marshallers.h:28: error: declaration of ‘void (* <anonymous
struct>::SpiceMsgData)(SpiceMarshaller*, SpiceMsgData*)’
../../common/messages.h:39: error: changes meaning of ‘SpiceMsgData’ from
‘typedef struct SpiceMsgData SpiceMsgData’


Any help would be highly appriciated!

Thanks!

Best Regards,

Attila
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20100628/65dd58f9/attachment.htm>


More information about the Spice-devel mailing list