[Spice-devel] Compile error on vdesktop

Alexander Larsson alexl at redhat.com
Tue Mar 2 00:30:27 PST 2010


On Tue, 2010-03-02 at 03:44 +0200, Izik Eidus wrote:
> On 03/01/2010 07:11 PM, Cam Macdonell wrote:
> > On Mon, Mar 1, 2010 at 9:29 AM, Izik Eidus<ieidus at redhat.com> 
> wrote:
> >    
> >> On 02/25/2010 08:53 PM, Cam Macdonell wrote:
> >>      
> >>> 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
> >>>
> >>>
> >>>        
> >> What repo do you use? the git repo or 0.4?
> >>
> >>      
> 
> Alex could it be something that related to the latest changes?

No, this is in the libkvm code. It seems like some kind of issue mixing
glibc and kernel headers.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
       alexl at redhat.com            alexander.larsson at gmail.com 
He's a short-sighted shark-wrestling vampire hunter from the 'hood. She's a 
wealthy Buddhist pearl diver operating on the wrong side of the law. They 
fight crime! 



More information about the Spice-devel mailing list