[Spice-devel] Spice agent and LXC

Christophe Fergeau cfergeau at redhat.com
Mon Dec 1 03:02:06 PST 2014


On Mon, Dec 01, 2014 at 04:33:49AM -0600, Charles Ricketts wrote:
> I'm pretty sure that is actually the case. I know that I got a compilation
> error at first on Ubuntu because I had forgotten to install the development
> headers from the git sources. Compiling against the 1.8.0 headers in the
> 14.04 repositories gave me an error related to either
> VD_AGENT_CLIPBOARD_MAX_SIZE_DEFAULT or VD_AGENT_CLIPBOARD_MAX_SIZE_ENV, I
> forget which exactly. This symbol is in
> /usr/include/spice-1/spice/vd_agent.h. If I'm looking at this correctly,
> wouldn't something like this cause the problem?

Hmm these symbols are symbolic #defines, so will not show up in the
resulting binary, so they should not cause the issues I have in mind.
This would cause an explicit message when trying to start qemu.

> 
> In case I'm wrong, there is no debug spice-server library available on
> Ubuntu 14.04 anyway. So, in order to compile one, would it be as easy as
> `CFLAGS="$CFLAGS -g" make`, or something a little more intricate? I've done
> simple compilations of programs I've written myself using `g++ -lm main.cpp
> -o my_program,` but that's about the extent of it. I can usually get
> configure scripts to work with me, but when it comes to Automake I'm
> completely lost.

Maybe you should just file an ubuntu bug about the crash, and they may
tell you how to gather more info if they need it. I don't know if there
is a -dbg package or not for spice-server on ubuntu (but I could not
find one after a quick look).

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20141201/05038671/attachment.sig>


More information about the Spice-devel mailing list