[CRIU] criu static build

Alexander Kartashov alekskartashov at parallels.com
Sun Feb 23 22:24:20 PST 2014


On 02/22/2014 12:47 PM, Pavel Emelyanov wrote:
>> Nothing in particular. I was just trying to follow the instructions listed in "Documentation/HOWTO.cross-compile"
> Ouch! This is something to look at.
> Alex, would you?
>

Dear Riya,

Thanks for testing the cross-compilation guide!

Indeed, it seems the last line in the guide

ARCH=<target arch> CROSS_COMPILE=$TARGET- CFLAGS=`pkg-config --cflags 
libprotobuf-c` LDFLAGS="`pkg-config --libs libprotobuf-c` --static" make

is no longer valid. Please try removing the command line switch --static
from the variable LDFLAGS since I don't use it as well while 
cross-compiling.

I think I shall update the guide.

-- 
Sincerely yours,
Alexander Kartashov

Intern
Core team

www.parallels.com

Skype: aleksandr.kartashov
Email: alekskartashov at parallels.com



More information about the CRIU mailing list