Compilation : Errors and solutions

This page contains all the error messages produced during compilation
source GPL.
I will complete this page later when I could recreate the different mistakes that were reported.

Error :
make[4]: *** Pas de règle pour fabriquer la cible « /directfb/directfb.h », nécessaire pour « .obj/release-shared-emb-mips/qscreendriverfactory_qws.o ». Arrêt.
make[3]: *** [sub-gui-install_subtargets-ordered] Erreur 2
make[2]: *** [/home/guimli/wdtvgen3/GPL_PALACE_1.10.12_G/PALACE_1.09.10_G/src/libs/../../src/libs/.qt_compiled] Erreur 2
make[1]: *** [subdir-libs] Erreur 2
make: *** [subdir-src] Erreur 2

Solution :
Check DIRECTFB_I variable. Check that the path name is correct
export DIRECTFB_I=~/wdtvgen3/PALACE_1.08.17_G/src/libs/qt-everywhere-opensource-src/directfb

Error :
service-type-database/ `pkglibdir' is not a legitimate directory for `DATA'
make[3]: *** [] Error 1
make[3]: Leaving directory `/home/guimli/wdtvgen3/GPL_PALACE_1.10.12_G/PALACE_1.09.10_G/src/libs/avahi-0.6.30/avahi-0.6.30'
make[2]: *** [/home/guimli/wdtvgen3/GPL_PALACE_1.10.12_G/PALACE_1.09.10_G/src/libs/../../src/libs/.avahi_compiled] Error 2
make[2]: Leaving directory `/home/guimli/wdtvgen3/GPL_PALACE_1.10.12_G/PALACE_1.09.10_G/src/libs'
make[1]: *** [subdir-libs] Error 2
make[1]: Leaving directory `/home/guimli/wdtvgen3/GPL_PALACE_1.10.12_G/PALACE_1.09.10_G/src'
make: *** [subdir-src] Error 2

Solution :
On Ubuntu 12.04 or newer, Avahi need to be patched.
cd ~/wdtvgen3/PALACE_1.08.17_G/src/libs/avahi-0.6.30
mv avahi.patch avahi_old.patch

Error :
checking for mipsel-linux-gcc... /opt/mips-4.3/bin//mipsel-linux-gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[2]: *** [/home/guimli/wdtvgen3/PALACE_1.12.14_G/src/libs/../../src/libs/.libiconv_configured] Erreur 77
make[2]: quittant le répertoire « /home/guimli/wdtvgen3/PALACE_1.12.14_G/src/libs »
make[1]: *** [subdir-libs] Erreur 2
make[1]: quittant le répertoire « /home/guimli/wdtvgen3/PALACE_1.12.14_G/src »
make: *** [subdir-src] Erreur 2

Solution :
You use 64 bit Ubuntu version. Reinstall Ubuntu in 32 bit.

Leave a Reply