Re: [PATCH] Fix deps for generating RPC dispatch code

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

 



On 03/14/2013 08:56 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> The src/lxc/lxc_*_dispatch.h files only had deps on the
> RPC generator script & the XDR definition file. So when
> the Makefile.am args passed to the generator were change,
> the disaptch code was not re-generated. This caused a
> build failure
> 
>   CC       libvirt_lxc-lxc_controller.o
> lxc/lxc_controller.c: In function 'virLXCControllerSetupServer':
> lxc/lxc_controller.c:718:47: error: 'virLXCMonitorProcs' undeclared (first use in this function)
> lxc/lxc_controller.c:718:47: note: each undeclared identifier is reported only once for each function it appears in
> lxc/lxc_controller.c:719:47: error: 'virLXCMonitorNProcs' undeclared (first use in this function)
> make[3]: *** [libvirt_lxc-lxc_controller.o] Error 1
> 
> For added fun, the generated files were not listed in
> CLEANFILES, so only a 'git clean -f' would fix the build
> 
> Pushed as a build break fix

Thanks, and confirmed that this looks right.

-- 
Eric Blake   eblake redhat com    +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]