Installation of <application>expat</application> The expat.h declares XML_Status after its first use. This is corrected by the following patch: patch -Np1 -i ../expat-1.95.6-fix-declaration-order.patch Install expat by running the following commands: ./configure --prefix=/usr && make && make install