Re: Spice agent and LXC

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

 



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?

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.

Chuck R.

On Mon, Dec 1, 2014 at 3:14 AM, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote:
On Sat, Nov 29, 2014 at 08:34:48PM -0600, Charles Ricketts wrote:
> > Christophe
> The segfault was simply a configuration error. it was dynamically
> linking the distribution-provided libspice-server.so.1.8.0 rather than
> the newly compiled libspice-server.so.1.9.0 due to the 1.8.0 version
> having a higher precedence with ldconfig. After reordering the library
> precedence to favor the new version it worked just fine.

Unless the segfault was caused by a new symbol available in 1.9.0, but
not present in 1.8.0, this should not be happening. This could be a bug
in spice-server that was fixed in the new version, in which case it
would be good that ubuntu is aware about it so that they can fix it in
their package.

Christophe

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://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]