absolinux

Aller à la page : 1 2 suivante

Sujet : Installation de Glibc 2.14.1
posté par chimouch 12 messages     le  25-11-2011  à  17:05citer
Bonjour
je traville sur LFS 7.0 et je suis dans la partie 6.9 installation de Glibc, lors de la compilation avec make on me renvoie l'erreur suivante:


./scripts/mkinstalldirs /sources/glibc-build/linkobj
mkdir /sources/glibc-build/linkobj
(cd /sources/glibc-build/linkobj; \
/tools/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../i686-pc-linux-gnu/bin/ar x ../libc_pic.a; \
rm $(/tools/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../i686-pc-linux-gnu/bin/ar t ../sunrpc/librpc_compat_pic.a | sed 's/^compat-//'); \
/tools/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../i686-pc-linux-gnu/bin/ar x ../sunrpc/librpc_compat_pic.a; \
/tools/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../i686-pc-linux-gnu/bin/ar cr libc_pic.a *.os; \
rm *.os)
/bin/sh: command substitution: line 3: syntax error near unexpected token `)'
/bin/sh: command substitution: line 3: `/tools/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../i686-pc-linux-gnu/bin/ar t ../sunrpc/librpc_compat_pic.a | sed 's/^compat-//')'
make[1]: *** [/sources/glibc-build/linkobj/libc_pic.a] Error 1
make[1]: Leaving directory `/sources/glibc-2.14.1'
make: *** [all] Error 2


Si quelqu'un d'entre vous pourrait m'aider svp !!!
posté par Texou 271 messages     le  25-11-2011  à  19:22citer
Salut,

Je me renseigne ce week-end et promis tu auras une réponse d'ici dimanche soir ou lundi. Ne t'étonnes pas si ça traîne un peu, je suis aux JM2L ce week-end.

Bon courage et je te tiens au courant (et réciproquement si t'avances).

_______________________

Texou
Coadministrateur du projet absolinux
Président de l'association traduc.org
Coordinateur du projet Linux From Scratch
Coordinateur au sein du projet Trad GNU de l'April
Animateur suppléant du groupe de travail Accessibilité de l'April
posté par chimouch 12 messages     le  28-11-2011  à  15:06citer
Salut
Merci Texou d'avoir répondu,
Encore aucune solution ??
posté par boloco 85 messages     le  28-11-2011  à  22:41citer
que t'a renvoyé DL=$(readelf -l /bin/sh | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')  ?
posté par chimouch 12 messages     le  29-11-2011  à  10:06citer
ça me renvoie:

root:/sources/glibc-2.14.1#  DL=$(readelf -l /bin/sh | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p') 
bash: command substitution: line 39: syntax error near unexpected token `)'
bash: command substitution: line 39: `readelf -l /bin/sh | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')'
posté par boloco 85 messages     le  29-11-2011  à  19:05citer
dans ton environnement chrooté, que te renvoie readelf -l /bin/sh  ?
posté par chimouch 12 messages     le  30-11-2011  à  10:00citer
root:/#  readelf -l /bin/sh

Elf file type is EXEC (Executable file)
Entry point 0x8060928
There are 8 program headers, starting at offset 52

Program Headers:
  Type          Offset  VirtAddr  PhysAddr  FileSiz MemSiz  Flg Align
  PHDR          0x000034 0x08048034 0x08048034 0x00100 0x00100 R E 0x4
  INTERP        0x000134 0x08048134 0x08048134 0x00019 0x00019 R  0x1
      [Requesting program interpreter: /tools/lib/ld-linux.so.2]
  LOAD          0x000000 0x08048000 0x08048000 0xd2868 0xd2868 R E 0x1000
  LOAD          0x0d2868 0x0811b868 0x0811b868 0x0486c 0x09760 RW  0x1000
  DYNAMIC        0x0d287c 0x0811b87c 0x0811b87c 0x000e0 0x000e0 RW  0x4
  NOTE          0x000150 0x08048150 0x08048150 0x00020 0x00020 R  0x4
  GNU_EH_FRAME  0x0ba688 0x08102688 0x08102688 0x03c24 0x03c24 R  0x4
  GNU_STACK      0x000000 0x00000000 0x00000000 0x00000 0x00000 RW  0x4

Section to Segment mapping:
  Segment Sections...
  00   
  01    .interp
  02    .interp .note.ABI-tag .hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame
  03    .ctors .dtors .jcr .dynamic .got .got.plt .data .bss
  04    .dynamic
  05    .note.ABI-tag
  06    .eh_frame_hdr
  07   
posté par boloco 85 messages     le  30-11-2011  à  19:02citer
Ton bash a un problème. Il faut le recompiler, en appliquant le patch.
posté par chimouch 12 messages     le  01-12-2011  à  18:04citer
Merci boloco
en fait j'ai refait tout dès le début et j'ai conçu que j ai oublié d'executer les commandes de la section vii(prerequis du système hôte) et maintenant ça marche.
Mais lors du lancement des tests j'ai eu comme erreurs:


root:/sources/glibc-build# grep Error glibc-check-log
make[2]: *** [/sources/glibc-build/posix/bug-regex32.out] Error 1
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
make[1]: *** [posix/tests] Error 2
make[2]: *** [/sources/glibc-build/rt/tst-mqueue5.out] Error 1
make[2]: *** [/sources/glibc-build/rt/tst-cpuclock2.out] Error 1
make[1]: *** [rt/tests] Error 2
make: *** [check] Error 2

puis-je ignorer ces erreurs ou bien c'est dûes à quelque chose qui ne marche plus ??
posté par boloco 85 messages     le  01-12-2011  à  19:26citer
tu peux ignorer ces erreurs


Aller à la page : 1 2 suivante

http://med4treat.top