Re: [PATCH] rpc: Fix VPATH building issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/07/2012 12:45 AM, Guannan Ren wrote:
>> Subject: [PATCH] rpc: generalize solution for VPATH builds
>>
>> Commit 5d4b0c4c80 tried to fix certain classes of VPATH builds,
>> but was too limited.  In particular, Guannan Ren reported:
>>
>>>     For example: The libvirt source code resides in /home/testuser,
>>>                  I make dist in /tmp/buildvpath, the XDR routine .c
>> file will
>>>                  include full path of the header file like:
>>>
>>>                  #include "/home/testuser/src/rpc/virnetprotocol.h"
>>>                  #include "internal.h"
>>>                  #include<arpa/inet.h>
>>>
>>>     If we distribute the tarball to another machine to compile,
>>>     it will report error as follows:
>>>
>>>     rpc/virnetprotocol.c:7:59: fatal error:
>>>     /home/testuser/src/rpc/virnetprotocol.h: No such file or directory

> 
>     It works great, so ACK here.

Thanks; pushed.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]