ubuntu 14.04
apt-get install libglib2.0-dev zlib1g-dev
./configure --disable-kvm
--target-list="mips-linux-user"
make
make install
run qemu
from squash root folder
qemu-mips -L . -strace path/to/app
qemu-mips -L . -strace usr/sbin/miniupnpd