From: M. L. <mic...@gm...> - 2008-09-12 20:17:36
|
On a debian i try to compile qtada but i get many errors : I compiled qt 4.3.5 manually and installed it on the debian prompt # gnat -v GNAT 4.1.220061115prerelease (Debian 4.1.1-22) [...] prompt # PKG_CONFIG_PATH=/usr/local/Trolltech/Qt-4.3.5/lib/pkgconfig ./configure --with-gela i get : ------------------------------------------------------------------------------------------------------------------------------ Making all in . make[1]: entrant dans le répertoire « /home/mickael/pok_modeler/qtada-gpl-1.0.4 » patch --strip=0 --backup --version-control=simple --suffix=.framework \ < ./libtool-framework.patch patching file libtool Hunk #1 succeeded at 1815 (offset 467 lines). Hunk #2 succeeded at 1970 with fuzz 2 (offset 485 lines). Hunk #3 succeeded at 2193 (offset 511 lines). Hunk #4 succeeded at 2581 (offset 511 lines). Hunk #5 succeeded at 2738 (offset 513 lines). Hunk #6 succeeded at 3370 (offset 522 lines). Hunk #7 succeeded at 3904 (offset 527 lines). Hunk #8 succeeded at 4199 (offset 529 lines). Hunk #9 succeeded at 4245 (offset 529 lines). Hunk #10 succeeded at 4790 (offset 586 lines). touch libtool-framework-stamp make[1]: quittant le répertoire « /home/mickael/pok_modeler/qtada-gpl-1.0.4 » Making all in source make[1]: entrant dans le répertoire « /home/mickael/pok_modeler/qtada-gpl-1.0.4/source » Making all in core make[2]: entrant dans le répertoire « /home/mickael/pok_modeler/qtada-gpl-1.0.4/source/core » make all-am make[3]: entrant dans le répertoire « /home/mickael/pok_modeler/qtada-gpl-1.0.4/source/core » /bin/sh ../../libtool --tag=CC --mode=compile ../../adacompiler -c -g -O2 -gnat05 -gnatW8 -I. -I. qt4-byte_arrays.adb mkdir .libs ../../adacompiler -c -g -O2 -gnat05 -gnatW8 -I. -I. qt4-byte_arrays.adb -fPIC -DPIC -o .libs/qt4-byte_arrays.o qt4-byte_arrays.adb:129:24: ":" should be ";" qt4-byte_arrays.adb:131:10: no "begin" for this "end" make[3]: *** [qt4-byte_arrays.lo] Erreur 1 make[3]: quittant le répertoire « /home/mickael/pok_modeler/qtada-gpl-1.0.4/source/core » make[2]: *** [all] Erreur 2 make[2]: quittant le répertoire « /home/mickael/pok_modeler/qtada-gpl-1.0.4/source/core » make[1]: *** [all-recursive] Erreur 1 make[1]: quittant le répertoire « /home/mickael/pok_modeler/qtada-gpl-1.0.4/source » make: *** [all-recursive] Erreur 1 ------------------------------------------------------------------------------------------------------------------------------ Any idea ? Actually I did some researches and I found that it was because these version of gnat does not support "extended return" in Ada. ( For those who dont know what is an "extended return" it simply consist to create an "inline" object after the keyword "return". In that way, no copy of any object is done for the return and performances are increased. ) So qtada "only need" gnat 4.1 but it cant compile sources ... :-S Thanks in advance ! -- Mickaël Labau |