Problemas na instalação do toolchain [RESOLVIDO]

1. Problemas na instalação do toolchain [RESOLVIDO]

José Maria
josemariafs

(usa Ubuntu)

Enviado em 31/05/2013 - 16:24h

boa tarde amigos

sou iniciante no linux, e estou instalando um toolchain para arm, porém quando eu dou o comando ./ct-ng build o sistema inicia porém acontece varios erros.
esta listado abaixo, ja tentei e não consegui,alguém ja passou por erros semelhantes e poderia me ajudar?
Obrigado
[INFO ] Performing some trivial sanity checks
[INFO ] Build started 20130531.153315
[INFO ] Building environment variables
[WARN ] Directory '/home/midetronicproj/src' does not exist.
[WARN ] Will not save downloaded tarballs to local storage.
[EXTRA] Preparing working directories
[EXTRA] Installing user-supplied crosstool-NG configuration
[EXTRA] =================================================================
[EXTRA] Dumping internal crosstool-NG configuration
[EXTRA] Building a toolchain for:
[EXTRA] build = i686-pc-linux-gnu
[EXTRA] host = i686-pc-linux-gnu
[EXTRA] target = arm-unknown-linux-uclibcgnueabi
[EXTRA] Dumping internal crosstool-NG configuration: done in 0.20s (at 00:03)
[INFO ] =================================================================
[INFO ] Retrieving needed toolchain components' tarballs
[INFO ] Retrieving needed toolchain components' tarballs: done in 0.14s (at 00:03)
[INFO ] =================================================================
[INFO ] Extracting and patching toolchain components
[INFO ] Extracting and patching toolchain components: done in 0.19s (at 00:04)
[INFO ] =================================================================
[INFO ] Checking C library configuration
[EXTRA] Munging uClibc configuration
[INFO ] Checking C library configuration: done in 0.16s (at 00:04)
[INFO ] =================================================================
[INFO ] Installing GMP
[EXTRA] Configuring GMP
[EXTRA] Building GMP
[EXTRA] Installing GMP
[INFO ] Installing GMP: done in 133.56s (at 02:17)
[INFO ] =================================================================
[INFO ] Installing MPFR
[EXTRA] Configuring MPFR
[EXTRA] Building MPFR
[EXTRA] Installing MPFR
[INFO ] Installing MPFR: done in 35.57s (at 02:53)
[INFO ] =================================================================
[INFO ] Installing PPL
[EXTRA] Configuring PPL
[EXTRA] Building PPL
[ERROR] /opt/labs/ex/03/crosstool/crosstool-ng/.build/src/ppl-0.10.2/src/Interval.defs.hh:451:86: error: 'f_info' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
[ERROR] /opt/labs/ex/03/crosstool/crosstool-ng/.build/src/ppl-0.10.2/src/Interval.defs.hh:390:86: error: 'f_info' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
[ERROR] /opt/labs/ex/03/crosstool/crosstool-ng/.build/src/ppl-0.10.2/src/Interval.defs.hh:432:5: error: 'f_info' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
[ERROR] /opt/labs/ex/03/crosstool/crosstool-ng/.build/src/ppl-0.10.2/src/Interval.defs.hh:492:5: error: 'f_info' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
[ERROR] /opt/labs/ex/03/crosstool/crosstool-ng/.build/src/ppl-0.10.2/src/Interval.defs.hh:390:86: error: 'f_info' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
[ERROR] /opt/labs/ex/03/crosstool/crosstool-ng/.build/src/ppl-0.10.2/src/Interval.defs.hh:451:86: error: 'f_info' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
[ERROR] make[4]: *** [Polyhedron_widenings.lo] Error 1
[ERROR] make[3]: *** [all] Error 2
[ERROR] make[2]: *** [all-recursive] Error 1
[ERROR] make[1]: *** [all] Error 2
[ERROR]
[ERROR] >> Build failed in step 'Installing PPL'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions]
[ERROR] >> called from: do_ppl[scripts/build/companion_libs/ppl.sh@58]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@588]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> 'docs/B - Known issues.txt'
[ERROR]
[ERROR] Build failed in step 'Installing PPL'
[ERROR]
[ERROR] (elapsed: 4:36.23)
[04:37] / make: ** [build] Erro 2



  


2. Re: Problemas na instalação do toolchain [RESOLVIDO]

Adriano Casimiro
Adrianocasi

(usa Ubuntu)

Enviado em 02/08/2013 - 14:45h

Aconteceu esse mesmo problema comigo quanto estava gerando uma toolchain usando o crosstool, resolvi seguindo este tutorial do Sergio Prado: http://sergioprado.org/gerando-e-usando-toolchains-em-linux-embarcado/
Depois de descompactar o crosstool, faça isso:
Troque :
./configure --local

Troque por:
./configure --enable-local

E irá funcionar. Caso tenha exceções quanto a libs ausentes
execute a linha abaixo:

apt-get update && apt-get install bison libbison-dev libfl-dev flex libfl-dev gperf make texinfo

Essa última dica está nos comentários da própria página do Sergio Prado. Boa sorte!


3. Resolvido

José Maria
josemariafs

(usa Ubuntu)

Enviado em 23/09/2013 - 08:13h

Obrigado pela dica amigo,






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts