[Spice-devel] Compile error on vdesktop

Izik Eidus ieidus at redhat.com
Tue Mar 2 00:31:53 PST 2010


On 03/02/2010 10:30 AM, Alexander Larsson wrote:
> 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.
>    

Ohhh, did`nt notice it is libkvm, yea sorry....



More information about the Spice-devel mailing list