[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Build fails on OS X Lion
From: |
dunrong huang |
Subject: |
Re: [Qemu-devel] Build fails on OS X Lion |
Date: |
Sun, 27 May 2012 13:58:24 +0800 |
2012/5/27 Charlie Somerville <address@hidden>:
> 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.
Luiz Capitulino has fixed this bug, but it haven't be merged into master branch.
More details, see:
http://lists.nongnu.org/archive/html/qemu-devel/2012-05/msg03578.html
--
linuxer and emacser and pythoner living in beijing
blog: http://mathslinux.org
twitter: https://twitter.com/mathslinux
google+: https://plus.google.com/118129852578326338750