[Top][All Lists]

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

[Qemu-devel] Build fails on OS X Lion

From: Charlie Somerville
Subject: [Qemu-devel] Build fails on OS X Lion
Date: Sun, 27 May 2012 13:08:16 +1000

Hi qemu-devel,

I tried to build the 1.1.0-rc3 on Mac OS X Lion, and I get this compile error:

qga/commands-posix.c: In function ‘qmp_guest_shutdown’:
qga/commands-posix.c:65: error: ‘environ’ undeclared (first use in this function)
qga/commands-posix.c:65: error: (Each undeclared identifier is reported only once
qga/commands-posix.c:65: error: for each function it appears in.)

If I hack in an 'extern char** environ;' to the top of that file, the build proceeds without error.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]