Forum Linux.embarqué SVP aide pour créer toolchain RaspPI

Posté par  . Licence CC By‑SA.
Étiquettes :
0
11
avr.
2014

Bonjour tout le monde,

Je ss sous Linux Mint 16 (Petra), j'ai installé les outils suivants:

libexpat1-dev, texinfo, python-dev, gperf, build-essential, automake, autoconf, libtool, make, bison, flex, gawk, libncurses5-dev, subversion, xsltproc, docbook-xsl

Hélas, malgrès ça j'arrive pas à créer ma "tool chain" pour Raspberry PI ni avec Buildroot ni avec crosstool-ng !!

pour buildroot je reçois le message d'erreur suivant:

host-m4 1.4.16 Building
PATH=/usr/local/cross-rpi/bin:/usr/local/cross-rpi/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LD_LIBRARY_PATH="/usr/local/cross-rpi/usr/lib:" PKG_CONFIG="/usr/local/cross-rpi/usr/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_LIBDIR="/usr/local/cross-rpi/usr/lib/pkgconfig" PERLLIB="/usr/local/cross-rpi/usr/lib/perl" /usr/bin/make -j4 -C /home/DELTA/RPI/buildroot/output/build/host-m4-1.4.16/
make[1]: Entering directory /home/DELTA/RPI/buildroot/output/build/host-m4-1.4.16'
/usr/bin/make all-recursive
make[2]: Entering directory
/home/DELTA/RPI/buildroot/output/build/host-m4-1.4.16'
Making all in .
make[3]: Entering directory /home/DELTA/RPI/buildroot/output/build/host-m4-1.4.16'
make[3]: Nothing to be done for
all-am'.
make[3]: Leaving directory /home/DELTA/RPI/buildroot/output/build/host-m4-1.4.16'
Making all in examples
make[3]: Entering directory
/home/DELTA/RPI/buildroot/output/build/host-m4-1.4.16/examples'
make[3]: Nothing to be done for all'.
make[3]: Leaving directory
/home/DELTA/RPI/buildroot/output/build/host-m4-1.4.16/examples'
Making all in lib
make[3]: Entering directory /home/DELTA/RPI/buildroot/output/build/host-m4-1.4.16/lib'
/usr/bin/make all-am
make[4]: Entering directory
/home/DELTA/RPI/buildroot/output/build/host-m4-1.4.16/lib'
/usr/bin/gcc -std=gnu99 -I. -O2 -I/usr/local/cross-rpi/include -I/usr/local/cross-rpi/usr/include -MT clean-temp.o -MD -MP -MF .deps/clean-temp.Tpo -c -o clean-temp.o clean-temp.c
/usr/bin/gcc -std=gnu99 -I. -O2 -I/usr/local/cross-rpi/include -I/usr/local/cross-rpi/usr/include -MT dup-safer-flag.o -MD -MP -MF .deps/dup-safer-flag.Tpo -c -o dup-safer-flag.o dup-safer-flag.c
/usr/bin/gcc -std=gnu99 -I. -O2 -I/usr/local/cross-rpi/include -I/usr/local/cross-rpi/usr/include -MT freadahead.o -MD -MP -MF .deps/freadahead.Tpo -c -o freadahead.o freadahead.c
/usr/bin/gcc -std=gnu99 -I. -O2 -I/usr/local/cross-rpi/include -I/usr/local/cross-rpi/usr/include -MT freading.o -MD -MP -MF .deps/freading.Tpo -c -o freading.o freading.c
In file included from freadahead.h:18:0,
from freadahead.c:20:
./stdio.h:477:1: error: 'gets' undeclared here (not in a function)
GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
^
In file included from freading.h:18:0,
from freading.c:20:
./stdio.h:477:1: error: 'gets' undeclared here (not in a function)
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
^
In file included from clean-temp.h:22:0,
from clean-temp.c:23:
./stdio.h:477:1: error: 'gets' undeclared here (not in a function)
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
^
make[4]: *** [freading.o] Error 1
make[4]: *** Waiting for unfinished jobs….
make[4]: *** [freadahead.o] Error 1
mv -f .deps/dup-safer-flag.Tpo .deps/dup-safer-flag.Po
make[4]: *** [clean-temp.o] Error 1
make[4]: Leaving directory /home/DELTA/RPI/buildroot/output/build/host-m4-1.4.16/lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory
/home/DELTA/RPI/buildroot/output/build/host-m4-1.4.16/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /home/DELTA/RPI/buildroot/output/build/host-m4-1.4.16'
make[1]: *** [all] Error 2
make[1]: Leaving directory
/home/DELTA/RPI/buildroot/output/build/host-m4-1.4.16'
make: *** [/home/DELTA/RPI/buildroot/output/build/host-m4-1.4.16/.stamp
built] Error 2

et pour crosstool-ng après la commande "menuconfig" j'obtiens:

LN config
MKDIR config.gen
IN config.gen/arch.in
/home/DELTA/bin/sed: invalid option—'s'
BusyBox v1.18.5 (2011-08-10 14:27:37 CET) multi-call binary.

Usage: sed [-efinr] SED_CMD [FILE]…

Options:
-e CMD Add CMD to sed commands to be executed
-f FILE Add FILE contents to sed commands to be executed
-i Edit files in-place (else sends result to stdout)
-n Suppress automatic printing of pattern space
-r Use extended regex syntax

If no -e or -f, the first non-option argument is the sed command string.
Remaining arguments are input files (stdin if none).

make: *** [config.gen/arch.in] Error 1

Merci d'avance pour votre aide.

Suivre le flux des commentaires

Note : les commentaires appartiennent à celles et ceux qui les ont postés. Nous n’en sommes pas responsables.