how to compile qemu statically?
when I compile qemu statically,there is a problem like below:
------------------------------------------------------------------- [root@localhost qemu-0.14.1]# ./configure --static --prefix=/home/fengzhiqiang/bin/qemu-0.14.1 --disable-darwin-user --disable-bsd-user --target-list="arm-softmmu,arm-linux-user,armeb-linux-user" --enable-debug --enable-docs --enable-vnc-thread --disable-vnc-tls --disable-vnc-sasl --enable-system --enable-user --enable-linux-user --disable-sdl big/little test failed Error: zlib check failed Make sure to have the zlib libs and headers installed. [root@localhost qemu-0.14.1]# yum install zlib* Loaded plugins: langpacks, presto, refresh-packagekit Adding en_US to language list Setting up Install Process Package zlib-devel-1.2.5-2.fc14.i686 already installed and latest version Package zlibrary-0.12.10-5.fc14.i686 already installed and latest version Package zlibrary-devel-0.12.10-5.fc14.i686 already installed and latest version Package zlib-1.2.5-2.fc14.i686 already installed and latest version Package zlibrary-ui-qt-0.12.10-5.fc14.i686 already installed and latest version Package zlib-static-1.2.5-2.fc14.i686 already installed and latest version Package zlibrary-ui-gtk-0.12.10-5.fc14.i686 already installed and latest version Nothing to do ------------------------------------------------------------------- please help me!!! |
it is a bug of qemu.
in fact,it is the glibc is not installed, so intall the glibc,this problem will be solved. finally it works,thank God..... |
All times are GMT -5. The time now is 05:00 PM. |