[Linux][Buildroot] erreur lors de compilation toolchain

Le problème exposé dans ce sujet a été résolu.

Bonjour, Je suis en train de suivre ce tutoriel pour créer une toolchain afin d’installer un patch temps réel xenomai sur une raspberry pi 1 : tutoriel Je suis volontairement un tutoriel ancien car la version 3 de xenomai ne semble pas fonctionner sur la raspberry pi 1 .

J’ai suivit à la lettre le tutoriel mais lors de la compilation j’obtiens ce message:

Making install in contrib
make[2] : on entre dans le répertoire « /home/nono/buil/buildroot-2012.08/output/build/host-automake-1.11.5/contrib »
make[3] : on entre dans le répertoire « /home/nono/buil/buildroot-2012.08/output/build/host-automake-1.11.5/contrib »
make[3]: rien à faire pour « install-exec-am ».
make[3]: rien à faire pour « install-data-am ».
make[3] : on quitte le répertoire « /home/nono/buil/buildroot-2012.08/output/build/host-automake-1.11.5/contrib »
make[2] : on quitte le répertoire « /home/nono/buil/buildroot-2012.08/output/build/host-automake-1.11.5/contrib »
Making install in doc
make[2] : on entre dans le répertoire « /home/nono/buil/buildroot-2012.08/output/build/host-automake-1.11.5/doc »
make[3] : on entre dans le répertoire « /home/nono/buil/buildroot-2012.08/output/build/host-automake-1.11.5/doc »
make[3]: rien à faire pour « install-exec-am ».
 /bin/mkdir -p '/usr/local/cross-rpi/usr/share/doc/automake'
 /bin/mkdir -p '/usr/local/cross-rpi/usr/share/man/man1'
 /bin/mkdir -p '/usr/local/cross-rpi/usr/share/info'
 /usr/bin/install -c -m 644 ./amhello-1.0.tar.gz '/usr/local/cross-rpi/usr/share/doc/automake'
 /usr/bin/install -c -m 644 ./aclocal.1 ./automake.1 ./aclocal-1.11.1 ./automake-1.11.1 '/usr/local/cross-rpi/usr/share/man/man1'
 /usr/bin/install -c -m 644 ./automake.info ./automake.info-1 ./automake.info-2 ./automake.info-3 '/usr/local/cross-rpi/usr/share/info'
 install-info --info-dir='/usr/local/cross-rpi/usr/share/info' '/usr/local/cross-rpi/usr/share/info/automake.info'
make[3] : on quitte le répertoire « /home/nono/buil/buildroot-2012.08/output/build/host-automake-1.11.5/doc »
make[2] : on quitte le répertoire « /home/nono/buil/buildroot-2012.08/output/build/host-automake-1.11.5/doc »
Making install in m4
make[2] : on entre dans le répertoire « /home/nono/buil/buildroot-2012.08/output/build/host-automake-1.11.5/m4 »
make[3] : on entre dans le répertoire « /home/nono/buil/buildroot-2012.08/output/build/host-automake-1.11.5/m4 »
make[3]: rien à faire pour « install-exec-am ».
 /bin/mkdir -p '/usr/local/cross-rpi/usr/share/aclocal-1.11'
 /usr/bin/install -c -m 644 ../m4/amversion.m4 ar-lib.m4 as.m4 auxdir.m4 ccstdc.m4 cond.m4 cond-if.m4 depend.m4 depout.m4 dmalloc.m4 gcj.m4 header.m4 init.m4 install-sh.m4 lead-dot.m4 lex.m4 lispdir.m4 maintainer.m4 make.m4 minuso.m4 missing.m4 mkdirp.m4 multi.m4 obsol-gt.m4 obsol-lt.m4 obsolete.m4 options.m4 protos.m4 python.m4 regex.m4 runlog.m4 sanity.m4 silent.m4 strip.m4 substnot.m4 tar.m4 upc.m4 vala.m4 '/usr/local/cross-rpi/usr/share/aclocal-1.11'
make[3] : on quitte le répertoire « /home/nono/buil/buildroot-2012.08/output/build/host-automake-1.11.5/m4 »
make[2] : on quitte le répertoire « /home/nono/buil/buildroot-2012.08/output/build/host-automake-1.11.5/m4 »
Making install in tests
make[2] : on entre dans le répertoire « /home/nono/buil/buildroot-2012.08/output/build/host-automake-1.11.5/tests »
make[3] : on entre dans le répertoire « /home/nono/buil/buildroot-2012.08/output/build/host-automake-1.11.5/tests »
make[3]: rien à faire pour « install-exec-am ».
make[3]: rien à faire pour « install-data-am ».
make[3] : on quitte le répertoire « /home/nono/buil/buildroot-2012.08/output/build/host-automake-1.11.5/tests »
make[2] : on quitte le répertoire « /home/nono/buil/buildroot-2012.08/output/build/host-automake-1.11.5/tests »
make[1] : on quitte le répertoire « /home/nono/buil/buildroot-2012.08/output/build/host-automake-1.11.5 »
/usr/bin/install -D -m 0644 package/automake/gtk-doc.m4 /usr/local/cross-rpi/usr/share/aclocal/gtk-doc.m4
mkdir -p /usr/local/cross-rpi/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/share/aclocal
>>> host-mpc 0.9 Autoreconfiguring
main::scan_file() called too early to check prototype at /usr/local/cross-rpi/usr/bin/aclocal line 644.
configure.ac:93: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
/usr/local/cross-rpi/usr/share/aclocal/libtool.m4:1084: _LT_SYS_MODULE_PATH_AIX is expanded from...
/usr/local/cross-rpi/usr/share/aclocal/libtool.m4:4207: _LT_LINKER_SHLIBS is expanded from...
/usr/local/cross-rpi/usr/share/aclocal/libtool.m4:5339: _LT_LANG_C_CONFIG is expanded from...
/usr/local/cross-rpi/usr/share/aclocal/libtool.m4:143: _LT_SETUP is expanded from...
/usr/local/cross-rpi/usr/share/aclocal/libtool.m4:69: LT_INIT is expanded from...
/usr/local/cross-rpi/usr/share/aclocal/libtool.m4:107: AC_PROG_LIBTOOL is expanded from...
configure.ac:93: the top level
configure.ac:93: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
/usr/local/cross-rpi/usr/share/aclocal/libtool.m4:4207: _LT_LINKER_SHLIBS is expanded from...
/usr/local/cross-rpi/usr/share/aclocal/libtool.m4:5339: _LT_LANG_C_CONFIG is expanded from...
/usr/local/cross-rpi/usr/share/aclocal/libtool.m4:143: _LT_SETUP is expanded from...
/usr/local/cross-rpi/usr/share/aclocal/libtool.m4:69: LT_INIT is expanded from...
/usr/local/cross-rpi/usr/share/aclocal/libtool.m4:107: AC_PROG_LIBTOOL is expanded from...
configure.ac:93: the top level
configure.ac:93: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:2091: _LT_SYS_MODULE_PATH_AIX is expanded from...
aclocal.m4:5214: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:6346: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:1156: _LT_SETUP is expanded from...
aclocal.m4:1082: LT_INIT is expanded from...
aclocal.m4:1120: AC_PROG_LIBTOOL is expanded from...
configure.ac:93: the top level
configure.ac:93: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:5214: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:6346: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:1156: _LT_SETUP is expanded from...
aclocal.m4:1082: LT_INIT is expanded from...
aclocal.m4:1120: AC_PROG_LIBTOOL is expanded from...
configure.ac:93: the top level
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
main::scan_file() called too early to check prototype at /usr/local/cross-rpi/usr/bin/aclocal line 644.
configure.ac:93: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
/usr/local/cross-rpi/usr/share/aclocal/libtool.m4:1084: _LT_SYS_MODULE_PATH_AIX is expanded from...
/usr/local/cross-rpi/usr/share/aclocal/libtool.m4:4207: _LT_LINKER_SHLIBS is expanded from...
/usr/local/cross-rpi/usr/share/aclocal/libtool.m4:5339: _LT_LANG_C_CONFIG is expanded from...
/usr/local/cross-rpi/usr/share/aclocal/libtool.m4:143: _LT_SETUP is expanded from...
/usr/local/cross-rpi/usr/share/aclocal/libtool.m4:69: LT_INIT is expanded from...
/usr/local/cross-rpi/usr/share/aclocal/libtool.m4:107: AC_PROG_LIBTOOL is expanded from...
configure.ac:93: the top level
configure.ac:93: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
/usr/local/cross-rpi/usr/share/aclocal/libtool.m4:4207: _LT_LINKER_SHLIBS is expanded from...
/usr/local/cross-rpi/usr/share/aclocal/libtool.m4:5339: _LT_LANG_C_CONFIG is expanded from...
/usr/local/cross-rpi/usr/share/aclocal/libtool.m4:143: _LT_SETUP is expanded from...
/usr/local/cross-rpi/usr/share/aclocal/libtool.m4:69: LT_INIT is expanded from...
/usr/local/cross-rpi/usr/share/aclocal/libtool.m4:107: AC_PROG_LIBTOOL is expanded from...
configure.ac:93: the top level
configure.ac:93: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:2091: _LT_SYS_MODULE_PATH_AIX is expanded from...
aclocal.m4:5214: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:6346: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:1156: _LT_SETUP is expanded from...
aclocal.m4:1082: LT_INIT is expanded from...
aclocal.m4:1120: AC_PROG_LIBTOOL is expanded from...
configure.ac:93: the top level
configure.ac:93: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:5214: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:6346: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:1156: _LT_SETUP is expanded from...
aclocal.m4:1082: LT_INIT is expanded from...
aclocal.m4:1120: AC_PROG_LIBTOOL is expanded from...
configure.ac:93: the top level
configure.ac:93: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:2091: _LT_SYS_MODULE_PATH_AIX is expanded from...
aclocal.m4:5214: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:6346: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:1156: _LT_SETUP is expanded from...
aclocal.m4:1082: LT_INIT is expanded from...
aclocal.m4:1120: AC_PROG_LIBTOOL is expanded from...
configure.ac:93: the top level
configure.ac:93: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:5214: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:6346: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:1156: _LT_SETUP is expanded from...
aclocal.m4:1082: LT_INIT is expanded from...
aclocal.m4:1120: AC_PROG_LIBTOOL is expanded from...
configure.ac:93: the top level
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/local/cross-rpi/usr/bin/automake line 4159.
autoreconf: /usr/local/cross-rpi/usr/bin/automake failed with exit status: 255
package/pkg-generic.mk:99: recipe for target '/home/nono/buil/buildroot-2012.08/output/build/host-mpc-0.9/.stamp_configured' failed
make: *** [/home/nono/buil/buildroot-2012.08/output/build/host-mpc-0.9/.stamp_configured] Error 1

Auriez vous une idée pour résoudre le problème ?

Merci d’avance pour votre aide :)

+0 -0

Bonjour, J’ai un peu de mal pour lancer le patch présent ici

Pourriez vous m’indiquer comment faire ?

Marty_and_Doc

Il faut remplacer dans le fichier bin/automake.in du projet automake (lien du GIT), la ligne :

$text =~ s/\${([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;

par :

$text =~ s/\$[{]([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;

Après ce n’est qu’une transcription, je n’ai jamais eu ce type de problématique … :)

Connectez-vous pour pouvoir poster un message.
Connexion

Pas encore membre ?

Créez un compte en une minute pour profiter pleinement de toutes les fonctionnalités de Zeste de Savoir. Ici, tout est gratuit et sans publicité.
Créer un compte