- Check out appropriate version of qemu:
git clone -b v2.12.1 https://github.com/qemu/qemu.git
- Try to
./configure && make
. This will fail with somestring...
error on newgcc
- Need to install old
gcc
- Update apt sources: Add
deb http://old.kali.org/kali sana main non-free contrib
to/etc/apt/sources.list
apt update
apt-cache madison gcc
gcc | 4:9.2.1-3 | http://http.kali.org/kali kali-rolling/main amd64 Packages
gcc | 4:4.9.2-2 | http://old.kali.org/kali sana/main amd64 Packages
apt install gcc=4:4.9.2-2
cd qemu
./configure
make && make install
cd ../ && rm -rf qemu