Re: Build error (possible mirroring issue?)

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

 



> 
> Hey team,
> 
> 
> I get a build failure that looks like this:
> 
> char-device.c:906:52: error: too many arguments to function call, expected
> single argument 'm', have 2 arguments
>     m2 = spice_marshaller_get_ptr_submarshaller(m, 0);
>          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    ^
> /Users/ddd/Work/spice/common/common/marshaller.h:56:1: note:
> 'spice_marshaller_get_ptr_submarshaller' declared here
> SpiceMarshaller *spice_marshaller_get_ptr_submarshaller(SpiceMarshaller *m);
> ^
> 1 error generated.
> 
> Indeed, the prototype was changed in spice-common by
> 
> commit 302e30ff43401d9b1e7043a5e5c4f186ca997f66
> Author: Frediano Ziglio <fziglio@xxxxxxxxxx>
> Date:   Wed Feb 27 08:55:56 2019 +0000
> 
>     codegen: Remove support for --ptrsize
>  
> This is talking master for the server component from from
> https://gitlab.freedesktop.org/spice/spice.git.
> 
> Is this a git mirroring issue, or a missing commit on the server side?
> 
> 
> Thanks
> Christophe

I think the issue is that your spice-server is using the wrong spice-common
commit, just do a "git submodule update --init --recursive".

There's a patch pending to review to "fix" this issue.

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




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