[Spice-devel] Compile error on vdesktop

Cam Macdonell cam at cs.ualberta.ca
Thu Feb 25 10:53:48 PST 2010


Hi,

I'm trying to build vdesktop's git repo and I get the following error.
 I am trying to build on fedora 11.

[cam vdesktop]$ make
make -C libkvm
make[1]: Entering directory `/home/cam/research/GIT/vdesktop/libkvm'
gcc -I/usr/local/include -m64 -D__x86_64__ -MMD -MF ./.libkvm.d -g
-fomit-frame-pointer -Wall  -fno-stack-protector   -I
/home/cam/research/GIT/vdesktop/kernel/include   -c -o libkvm.o
libkvm.c include   -c -o libkvm.o libkvm.c
In file included from /usr/include/bits/fcntl.h:24,
                 from /usr/include/fcntl.h:34,
                 from libkvm.c:30:
/usr/include/sys/types.h:46: error: conflicting types for 'loff_t'
/usr/include/linux/types.h:30: note: previous declaration of 'loff_t' was here
/usr/include/sys/types.h:62: error: conflicting types for 'dev_t'
/usr/include/linux/types.h:13: note: previous declaration of 'dev_t' was here

Also, I had to rebuild the SRPM for f12 celt051 because spice requires
it.  Is there something in later versions of celt that's incompatible?
 F11 comes with 0.5.2.

Cheers,
Cam


More information about the Spice-devel mailing list