Re: [spice-common 5/5] codegen: Autogenerate client_marshallers.h

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

 



On 06/23/2016 07:57 AM, Christophe Fergeau wrote:
> This commit adds autogeneration of a generated_client_marshallers.h
> header, which is then included in client_marshallers.h
> 
> This allows to remove the SpiceMessageMarshallers struct from this file,
> which has to match what the generated code expects.


Hi, as spice-common got updated recently, only now I could notice that
this patch breaks the build out of the tree.

In file included from
/home/elima/projects/spice/spice-gtk/src/spice-channel-priv.h:35:0,
                 from
/home/elima/projects/spice/spice-gtk/src/spice-audio.c:42:
/home/elima/projects/spice/spice-gtk/spice-common/common/client_marshallers.h:28:42:
fatal error: generated_client_marshallers.h: No such file or directory
 #include "generated_client_marshallers.h"
                                          ^
compilation terminated.
Makefile:1316: recipe for target 'spice-audio.lo' failed
make[4]: *** [spice-audio.lo] Error 1

> --- a/common/client_marshallers.h
> +++ b/common/client_marshallers.h
> @@ -25,56 +25,12 @@
>  
>  #include <spice/protocol.h>
>  
> +#include "generated_client_marshallers.h"

This line should actually be

+#include "common/generated_client_marshallers.h"

Or if you prefer, add -I$(top_builddir)/spice-common/common to
COMMON_CFLAGS= in spice-gtk/configure.ac


-- 
Eduardo de Barros Lima (Etrunko)
Software Engineer - RedHat
etrunko@xxxxxxxxxx

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]