2012/5/27 Charlie Somerville <char...@charliesomerville.com>: > 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