|
|
|
| Ver tema anterior :: Ver tema siguiente |
| Autor |
Mensaje |
Damian92 Invitado
|
Publicado: Dom Feb 07, 2010 7:32 am Asunto: Problema con Glibc en LFS |
|
|
Bueno les cuento, en la construcción de un sistema LFS me piden que instale Glibc que es el paquete que contiene la principal libreria C.
En la copilación tengo que introducir esto:
| Código: |
../glibc-2.11.1/configure --prefix=/tools \
--disable-profile --enable-add-ons \
--enable-kernel=2.6.0 --with-binutils=/tools/bin \
--without-gd --with-headers=/tools/include \
--without-selinux |
Y al hacerlo me sale el siguiente error:
| Código: | root@damian-desktop:/mnt/lfs/sources/glibc-build# ../glibc-2.11.1/configure --prefix=/tools \
>
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
configure: running configure fragment for add-on libidn
configure: running configure fragment for add-on nptl
checking sysdep dirs... sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 nptl/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking whether as is GNU as... yes
checking whether ld is GNU ld... yes
checking for as... as
checking version of as... 2.20, ok
checking for ld... ld
checking version of ld... 2.20, ok
checking for pwd... /bin/pwd
checking for gcc... gcc
checking version of gcc... 4.4.1, ok
checking for gnumake... no
checking for gmake... no
checking for make... make
checking version of make... 3.81, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... msgfmt
checking version of msgfmt... 0.17, ok
checking for makeinfo... no
checking for sed... sed
checking version of sed... 4.2.1, ok
checking for autoconf... no
configure: WARNING:
*** These auxiliary programs are missing or incompatible versions: makeinfo autoconf
*** some features will be disabled.
*** Check the INSTALL file for required versions.
checking whether ranlib is necessary... no
checking LD_LIBRARY_PATH variable... ok
checking whether GCC supports -static-libgcc... -static-libgcc
checking for bash... /bin/bash
checking for gawk... gawk
checking for perl... /usr/bin/perl
checking for install-info... /usr/sbin/install-info
checking for bison... no
checking for signed size_t type... no
checking for libc-friendly stddef.h... yes
checking whether we need to use -P to assemble .S files... no
checking whether .text pseudo-op must be used... yes
checking for assembler global-symbol directive... .globl
checking for .set assembler directive... yes
checking for assembler .type directive prefix... @
checking for assembler gnu_unique_object symbol type... yes
checking for .symver assembler directive... yes
checking for ld --version-script... yes
checking for .previous assembler directive... yes
checking for .protected and .hidden assembler directive... yes
checking whether __attribute__((visibility())) is supported... yes
checking for broken __attribute__((visibility()))... no
checking for broken __attribute__((alias()))... no
checking whether to put _rtld_local into .sdata section... no
checking for .preinit_array/.init_array/.fini_array support... yes
checking for libunwind-support in compiler... no
checking for -z nodelete option... yes
checking for -z nodlopen option... yes
checking for -z initfirst option... yes
checking for -z relro option... yes
checking for -Bgroup option... yes
checking for libgcc_s suffix...
checking for --as-needed option... yes
checking whether --noexecstack is desirable for .S files... yes
checking for -z combreloc... yes
checking for -z execstack... yes
checking for -fpie... yes
checking for --hash-style option... yes
checking for -fno-toplevel-reorder -fno-section-anchors... yes
checking for -fstack-protector... yes
checking for -fgnu89-inline... yes
checking whether cc puts quotes around section names... no
checking for assembler .weak directive... yes
checking whether CFI directives are supported... yes
checking for ld --no-whole-archive... yes
checking for gcc -fexceptions... yes
checking for __builtin_expect... yes
checking for __builtin_memset... yes
checking for redirection of built-in functions... yes
checking for __thread... yes
checking for tls_model attribute... yes
checking for libgd... no
checking for is_selinux_enabled in -lselinux... no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of long double... 12
running configure fragment for sysdeps/i386/elf
checking for i386 TLS support... yes
running configure fragment for nptl/sysdeps/pthread
checking for forced unwind support... yes
checking for C cleanup handling... yes
running configure fragment for sysdeps/pthread
running configure fragment for sysdeps/unix/sysv/linux
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking installed Linux kernel header files... 2.0.10 or later
checking for symlinks in /tools/include... ok
running configure fragment for sysdeps/i386
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking cpuid.h usability... yes
checking cpuid.h presence... yes
checking for cpuid.h... yes
checking if -g produces usable source locations for assembler-with-cpp... yes
checking for SSE4 support... yes
checking for old glibc 2.0.x headers... no
checking whether -fPIC is default... no
configure: creating ./config.status
config.status: creating config.make
config.status: creating Makefile
config.status: creating config.h
config.status: executing default commands
root@damian-desktop:/mnt/lfs/sources/glibc-build# --disable-profile --enable-add-ons \
>
--disable-profile: command not found
root@damian-desktop:/mnt/lfs/sources/glibc-build# --enable-kernel=2.6.0 --with-binutils=/tools/bin \
>
--enable-kernel=2.6.0: command not found
root@damian-desktop:/mnt/lfs/sources/glibc-build# --without-gd --with-headers=/tools/include \
>
--without-gd: command not found
root@damian-desktop:/mnt/lfs/sources/glibc-build# --without-selinux
--without-selinux: command not found
root@damian-desktop:/mnt/lfs/sources/glibc-build# |
Lo que es la copilación parece que se termina sin mayor problema pero el error viene apartir de las configuraciones.
Si puede ayudar en algo aqui os dejo el significado de las opciones de configure:
--disable-profile
Esto construye las librerías sin información de perfiles. Omite esta opción si planeas usar perfiles en las
herramientas temporales.
--enable-add-ons
Esto le indica a Glibc que utilice el añadido NPTL como su librería de hilos.
--enable-kernel=2.6.0
Esto le indica a Glibc que compile la librería con soporte para núcleos Linux 2.6.x.
--with-binutils=/tools/bin
Aunque no es necesario, esta opción nos asegura que no haya equívocos sobre qué programas de Binutils se
utilizarán durante la construcción de Glibc.
--without-gd
Esto evita la construcción del programa memusagestat, el cual insiste en enlazarse contra las librerías del sistema
anfitrión (libgd, libpng, libz y demás).
--with-headers=/tools/include
Esto le indica a Glibc que se compile contra las cabeceras recién instaladas en el directorio de herramientas, para
que conozca exactamente las características que tiene el núcleo y pueda optimizarse correctamente.
--without-selinux
Cuando se construye a partir de un anfitrión que utiliza la funcionalidad de SELinux (como Fedora Core 3),
Glibc se construirá con soporte para SELinux. Como las herramientas del entorno LFS no contienen soporte
para SELinux, una Glibc compilada con dicho soporte no funcionará correctamente.
Si alguien tiene alguna idea de porque me pasa esto que poste xfavor XD
Un Saludo!!! 
Ultima edición por Damian92 el Dom Feb 07, 2010 4:47 pm, editado 1 vez |
|
| Volver arriba |
|
 |
rafaxdrake Forista

Registrado: 21 Feb 2004 Mensajes: 3431 Ubicación: Mallorca
|
Publicado: Dom Feb 07, 2010 3:09 pm Asunto: |
|
|
La compilación no la comenzaste, se te interrumpe durante la configuración. Fíjate que no tienes instalado autoconf. _________________ http://vitamine.dyndns.biz |
|
| Volver arriba |
|
 |
Damian92 Invitado
|
Publicado: Dom Feb 07, 2010 4:11 pm Asunto: |
|
|
Ya lo veo pero mire en el manual me avisan de que me pueden salir algunos errores:
| Código: | Durante esta fase puede que veas el siguiente mensaje de aviso:
configure: WARNING:
*** These auxiliary programs are missing or
*** incompatible versions: msgfmt
*** some features will be disabled.
*** Check the INSTALL file for required versions.
configure: AVISO:
*** Versión incompatible o ausente de estos
*** programas auxiliares: msgfmt
*** algunas características serán desactivadas.
*** Comprueba en el fichero INSTALL las versiones requeridas. |
Aquí les dejo la parte del manual en al que dan toda la información acerca de como instalar Glibc, por si les sirve de alguna ayuda:
http://www.escomposlinux.org/lfs-es/lfs-es-6.3/chapter05/glibc.html
Guarda eso alguna relacion con mi error? Sabe como lo puedo solucionar? Es que ya llevo una semana entera boorrando todo e instalando lo de nuevo y siempre es lo mismo.
Si sabe de que manera podria solucionar mi prroblema le agradeceria mucho que me informara de como solucionarlo.
Gracias Un Saludo!!! |
|
| Volver arriba |
|
 |
rafaxdrake Forista

Registrado: 21 Feb 2004 Mensajes: 3431 Ubicación: Mallorca
|
Publicado: Dom Feb 07, 2010 5:58 pm Asunto: |
|
|
Instala makeinfo o autoconf a ver qué ocurre. _________________ http://vitamine.dyndns.biz |
|
| Volver arriba |
|
 |
Damian92 Invitado
|
Publicado: Lun Feb 08, 2010 1:12 am Asunto: |
|
|
Como sugirio instale autoconf y funciono o eso parece:
| Código: | root@damian-desktop:/mnt/lfs/sources/glibc-build# ../glibc-2.11.1/configure --prefix=/tools --disable-profile --enable-add-ons --enable-kernel=2.6.0 --with-binutils=/tools/bin --without-gd --with-headers=/tools/include --without-selinux
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
configure: running configure fragment for add-on libidn
configure: running configure fragment for add-on nptl
checking sysdep dirs... sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 nptl/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether /tools/bin/as is GNU as... yes
checking whether /tools/bin/ld is GNU ld... yes
checking for /tools/bin/as... /tools/bin/as
checking version of /tools/bin/as... 2.20, ok
checking for /tools/bin/ld... /tools/bin/ld
checking version of /tools/bin/ld... 2.20, ok
checking for pwd... /bin/pwd
checking for gcc... gcc -B/tools/bin/
checking version of gcc -B/tools/bin/... 4.4.1, ok
checking for gnumake... no
checking for gmake... no
checking for make... make
checking version of make... 3.81, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... no
checking for makeinfo... no
checking for sed... sed
checking version of sed... 4.2.1, ok
checking for autoconf... autoconf
checking whether autoconf works... yes
configure: WARNING:
*** These auxiliary programs are missing or incompatible versions: msgfmt makeinfo
*** some features will be disabled.
*** Check the INSTALL file for required versions.
checking whether ranlib is necessary... no
checking LD_LIBRARY_PATH variable... ok
checking whether GCC supports -static-libgcc... -static-libgcc
checking for bash... /bin/bash
checking for gawk... no
checking for mawk... mawk
checking for perl... /usr/bin/perl
checking for install-info... /usr/sbin/install-info
checking for bison... no
checking for signed size_t type... no
checking for libc-friendly stddef.h... yes
checking whether we need to use -P to assemble .S files... no
checking whether .text pseudo-op must be used... yes
checking for assembler global-symbol directive... .globl
checking for .set assembler directive... yes
checking for assembler .type directive prefix... @
checking for assembler gnu_unique_object symbol type... yes
checking for .symver assembler directive... yes
checking for ld --version-script... yes
checking for .previous assembler directive... yes
checking for .protected and .hidden assembler directive... yes
checking whether __attribute__((visibility())) is supported... yes
checking for broken __attribute__((visibility()))... no
checking for broken __attribute__((alias()))... no
checking whether to put _rtld_local into .sdata section... no
checking for .preinit_array/.init_array/.fini_array support... yes
checking for libunwind-support in compiler... no
checking for -z nodelete option... yes
checking for -z nodlopen option... yes
checking for -z initfirst option... yes
checking for -z relro option... yes
checking for -Bgroup option... yes
checking for libgcc_s suffix...
checking for --as-needed option... yes
checking whether --noexecstack is desirable for .S files... yes
checking for -z combreloc... yes
checking for -z execstack... yes
checking for -fpie... yes
checking for --hash-style option... yes
checking for -fno-toplevel-reorder -fno-section-anchors... yes
checking for -fstack-protector... yes
checking for -fgnu89-inline... yes
checking whether cc puts quotes around section names... no
checking for assembler .weak directive... yes
checking whether CFI directives are supported... yes
checking for ld --no-whole-archive... yes
checking for gcc -fexceptions... yes
checking for __builtin_expect... yes
checking for __builtin_memset... yes
checking for redirection of built-in functions... yes
checking for __thread... yes
checking for tls_model attribute... yes
checking for libgd... no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of long double... 12
running configure fragment for sysdeps/i386/elf
checking for i386 TLS support... yes
running configure fragment for nptl/sysdeps/pthread
checking for forced unwind support... yes
checking for C cleanup handling... yes
running configure fragment for sysdeps/pthread
running configure fragment for sysdeps/unix/sysv/linux
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking installed Linux kernel header files... 2.0.10 or later
checking for kernel header at least 2.6.0... ok
checking for symlinks in /tools/include... ok
running configure fragment for sysdeps/i386
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking cpuid.h usability... yes
checking cpuid.h presence... yes
checking for cpuid.h... yes
checking if -g produces usable source locations for assembler-with-cpp... yes
checking for SSE4 support... yes
checking for old glibc 2.0.x headers... no
checking whether -fPIC is default... no
configure: creating ./config.status
config.status: creating config.make
config.status: creating Makefile
config.status: creating config.h
config.status: executing default commands
root@damian-desktop:/mnt/lfs/sources/glibc-build# |
Aun que haora al hacer el make tengo mas errores:
| Código: | root@damian-desktop:/mnt/lfs/sources/glibc-build# make
make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.11.1 objdir=`pwd` all
make[1]: se ingresa al directorio `/mnt/lfs/sources/glibc-2.11.1'
(echo 'sysd-rules-sysdirs := sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 nptl/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic'; \
for dir in sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 nptl/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic; do \
case "$dir" in \
/*) ;; \
*) dir="\$(..)$dir" ;; \
esac; \
asm='.S .s'; \
\
for o in .o .os .op .og .ob .oS; do \
set % % rtld-% % m_% s_% ptw-% %; \
while [ $# -ge 2 ]; do \
t=$1; shift; \
d=$1; shift; \
v=${t%%%}; [ x"$v" = x ] || v="\$(${v}CPPFLAGS)"; \
for s in $asm .c; do \
echo "\$(objpfx)$t$o: $dir/$d$s \$(before-compile)"; \
echo " \$(compile-command$s) $v"; \
done; \
done; \
done; \
echo "\$(inst_includedir)/%.h: $dir/%.h \$(+force)"; \
echo " \$(do-install)"; \
done; \
echo 'sysd-rules-done = t') > /mnt/lfs/sources/glibc-build/sysd-rulesT
mv -f /mnt/lfs/sources/glibc-build/sysd-rulesT /mnt/lfs/sources/glibc-build/sysd-rules
for dir in /mnt/lfs/sources/glibc-build sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 nptl/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic nptl; do \
test -f $dir/syscalls.list && \
{ sysdirs='sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 nptl/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic' \
asm_CPP='gcc -B/tools/bin/ -c -Iinclude -I/mnt/lfs/sources/glibc-build -Isysdeps/i386/elf -Inptl/sysdeps/unix/sysv/linux/i386/i686 -Isysdeps/unix/sysv/linux/i386/i686 -Inptl/sysdeps/unix/sysv/linux/i386 -Isysdeps/unix/sysv/linux/i386 -Inptl/sysdeps/unix/sysv/linux -Inptl/sysdeps/pthread -Isysdeps/pthread -Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet -Isysdeps/unix/sysv/i386 -Inptl/sysdeps/unix/sysv -Isysdeps/unix/sysv -Isysdeps/unix/i386 -Inptl/sysdeps/unix -Isysdeps/unix -Isysdeps/posix -Isysdeps/i386/i686/fpu -Inptl/sysdeps/i386/i686 -Isysdeps/i386/i686 -Isysdeps/i386/i486 -Inptl/sysdeps/i386/i486 -Isysdeps/i386/fpu -Inptl/sysdeps/i386 -Isysdeps/i386 -Isysdeps/wordsize-32 -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic -Inptl -Ilibio -I. -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.4.1/include -isystem /usr/lib/gcc/i486-linux-gnu/4.4.1/include-fixed -isystem /tools/include -D_LIBC_REENTRANT -include include/libc-symbols.h -DASSEMBLER -DGAS_SYNTAX -g -Wa,--noexecstack -E -x assembler-with-cpp' \
/bin/sh sysdeps/unix/make-syscalls.sh $dir || exit 1; }; \
test $dir = sysdeps/unix && break; \
done > /mnt/lfs/sources/glibc-build/sysd-syscallsT
mv -f /mnt/lfs/sources/glibc-build/sysd-syscallsT /mnt/lfs/sources/glibc-build/sysd-syscalls
mawk -f scripts/gen-sorted.awk \
-v subdirs='csu assert ctype locale intl catgets math setjmp signal stdlib stdio-common libio malloc string wcsmbs time dirent grp pwd posix io termios resource misc socket sysvipc gmon gnulib iconv iconvdata wctype manual shadow gshadow po argp crypt nss localedata timezone rt conform debug libidn dlfcn elf' \
-v srcpfx='' \
nptl/sysdeps/pthread/Subdirs sysdeps/unix/inet/Subdirs sysdeps/unix/Subdirs assert/Depend intl/Depend catgets/Depend stdlib/Depend stdio-common/Depend libio/Depend malloc/Depend string/Depend wcsmbs/Depend time/Depend posix/Depend iconvdata/Depend nss/Depend localedata/Depend rt/Depend debug/Depend > /mnt/lfs/sources/glibc-build/sysd-sorted-tmp
mawk: scripts/gen-sorted.awk: line 19: regular expression compile failed (bad class -- [], [^] or [)
/[^
mawk: scripts/gen-sorted.awk: line 19: syntax error at or near ]
mawk: scripts/gen-sorted.awk: line 19: runaway regular expression /, "", subd ...
make[1]: se sale del directorio `/mnt/lfs/sources/glibc-2.11.1'
make[1]: se ingresa al directorio `/mnt/lfs/sources/glibc-2.11.1'
{ echo '#include "posix/bits/posix1_lim.h"'; \
echo '#define _LIBC 1'; \
echo '#include "misc/sys/uio.h"'; } | \
gcc -B/tools/bin/ -E -dM -MD -MP -MF /mnt/lfs/sources/glibc-build/bits/stdio_lim.dT -MT '/mnt/lfs/sources/glibc-build/bits/stdio_lim.h /mnt/lfs/sources/glibc-build/bits/stdio_lim.d' \
-Iinclude -I/mnt/lfs/sources/glibc-build -Isysdeps/i386/elf -Inptl/sysdeps/unix/sysv/linux/i386/i686 -Isysdeps/unix/sysv/linux/i386/i686 -Inptl/sysdeps/unix/sysv/linux/i386 -Isysdeps/unix/sysv/linux/i386 -Inptl/sysdeps/unix/sysv/linux -Inptl/sysdeps/pthread -Isysdeps/pthread -Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet -Isysdeps/unix/sysv/i386 -Inptl/sysdeps/unix/sysv -Isysdeps/unix/sysv -Isysdeps/unix/i386 -Inptl/sysdeps/unix -Isysdeps/unix -Isysdeps/posix -Isysdeps/i386/i686/fpu -Inptl/sysdeps/i386/i686 -Isysdeps/i386/i686 -Isysdeps/i386/i486 -Inptl/sysdeps/i386/i486 -Isysdeps/i386/fpu -Inptl/sysdeps/i386 -Isysdeps/i386 -Isysdeps/wordsize-32 -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic -Inptl -Ilibio -I. -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.4.1/include -isystem /usr/lib/gcc/i486-linux-gnu/4.4.1/include-fixed -isystem /tools/include -xc - -o /mnt/lfs/sources/glibc-build/bits/stdio_lim.hT
sed -e 's@ /mnt/lfs/sources/glibc-build/@ $(common-objpfx)@g' -e 's@^/mnt/lfs/sources/glibc-build/@$(common-objpfx)@g' -e 's@ *\([^ \/$][^ \]*\)@ $(..)\1@g' -e 's@^\([^ \/$][^ \]*\)@$(..)\1@g' \
/mnt/lfs/sources/glibc-build/bits/stdio_lim.dT > /mnt/lfs/sources/glibc-build/bits/stdio_lim.dt
mv -f /mnt/lfs/sources/glibc-build/bits/stdio_lim.dt /mnt/lfs/sources/glibc-build/bits/stdio_lim.d
fopen_max=`sed -n 's/^#define OPEN_MAX //1p' /mnt/lfs/sources/glibc-build/bits/stdio_lim.hT`; \
filename_max=`sed -n 's/^#define PATH_MAX //1p' /mnt/lfs/sources/glibc-build/bits/stdio_lim.hT`; \
iov_max=`sed -n 's/^#define UIO_MAXIOV //p' /mnt/lfs/sources/glibc-build/bits/stdio_lim.hT`; \
fopen_max=${fopen_max:-16}; \
filename_max=${filename_max:-1024}; \
if [ -z "$iov_max" ]; then \
define_iov_max="# undef IOV_MAX"; \
else \
define_iov_max="# define IOV_MAX $iov_max"; \
fi; \
sed -e "s/@FOPEN_MAX@/$fopen_max/" \
-e "s/@FILENAME_MAX@/$filename_max/" \
-e "s/@L_tmpnam@/20/" \
-e "s/@TMP_MAX@/238328/" \
-e "s/@L_ctermid@/9/" \
-e "s/@L_cuserid@/9/" \
-e "s/@define_IOV_MAX@/$define_iov_max/" \
stdio-common/stdio_lim.h.in > /mnt/lfs/sources/glibc-build/bits/stdio_lim.h.new
/bin/sh scripts/move-if-change /mnt/lfs/sources/glibc-build/bits/stdio_lim.h.new /mnt/lfs/sources/glibc-build/bits/stdio_lim.h
rm -f /mnt/lfs/sources/glibc-build/bits/stdio_lim.hT /mnt/lfs/sources/glibc-build/bits/stdio_lim.dT /mnt/lfs/sources/glibc-build/bits/stdio_lim.dt
touch /mnt/lfs/sources/glibc-build/bits/stdio_lim.st
mawk -f scripts/gen-sorted.awk \
-v subdirs='csu assert ctype locale intl catgets math setjmp signal stdlib stdio-common libio malloc string wcsmbs time dirent grp pwd posix io termios resource misc socket sysvipc gmon gnulib iconv iconvdata wctype manual shadow gshadow po argp crypt nss localedata timezone rt conform debug libidn dlfcn elf' \
-v srcpfx='' \
nptl/sysdeps/pthread/Subdirs sysdeps/unix/inet/Subdirs sysdeps/unix/Subdirs assert/Depend intl/Depend catgets/Depend stdlib/Depend stdio-common/Depend libio/Depend malloc/Depend string/Depend wcsmbs/Depend time/Depend posix/Depend iconvdata/Depend nss/Depend localedata/Depend rt/Depend debug/Depend > /mnt/lfs/sources/glibc-build/sysd-sorted-tmp
mawk: scripts/gen-sorted.awk: line 19: regular expression compile failed (bad class -- [], [^] or [)
/[^
mawk: scripts/gen-sorted.awk: line 19: syntax error at or near ]
mawk: scripts/gen-sorted.awk: line 19: runaway regular expression /, "", subd ...
make[1]: se sale del directorio `/mnt/lfs/sources/glibc-2.11.1'
make[1]: se ingresa al directorio `/mnt/lfs/sources/glibc-2.11.1'
mawk -f scripts/gen-sorted.awk \
-v subdirs='csu assert ctype locale intl catgets math setjmp signal stdlib stdio-common libio malloc string wcsmbs time dirent grp pwd posix io termios resource misc socket sysvipc gmon gnulib iconv iconvdata wctype manual shadow gshadow po argp crypt nss localedata timezone rt conform debug libidn dlfcn elf' \
-v srcpfx='' \
nptl/sysdeps/pthread/Subdirs sysdeps/unix/inet/Subdirs sysdeps/unix/Subdirs assert/Depend intl/Depend catgets/Depend stdlib/Depend stdio-common/Depend libio/Depend malloc/Depend string/Depend wcsmbs/Depend time/Depend posix/Depend iconvdata/Depend nss/Depend localedata/Depend rt/Depend debug/Depend > /mnt/lfs/sources/glibc-build/sysd-sorted-tmp
mawk: scripts/gen-sorted.awk: line 19: regular expression compile failed (bad class -- [], [^] or [)
/[^
mawk: scripts/gen-sorted.awk: line 19: syntax error at or near ]
mawk: scripts/gen-sorted.awk: line 19: runaway regular expression /, "", subd ...
rm -f /mnt/lfs/sources/glibc-build/stamp.o; > /mnt/lfs/sources/glibc-build/stamp.o
rm -f /mnt/lfs/sources/glibc-build/stamp.os; > /mnt/lfs/sources/glibc-build/stamp.os
rm -f /mnt/lfs/sources/glibc-build/stamp.oS; > /mnt/lfs/sources/glibc-build/stamp.oS
cd /mnt/lfs/sources/glibc-build && /tools/bin/ar cruv libc.a `cat stamp.o`
: /mnt/lfs/sources/glibc-build/libc.a
cd /mnt/lfs/sources/glibc-build && /tools/bin/ar cruv libc_pic.a `cat stamp.os`
: /mnt/lfs/sources/glibc-build/libc_pic.a
cd /mnt/lfs/sources/glibc-build && /tools/bin/ar cruv libc_nonshared.a `cat stamp.oS`
: /mnt/lfs/sources/glibc-build/libc_nonshared.a
make[1]: *** No hay ninguna regla para construir el objetivo `/mnt/lfs/sources/glibc-build/Versions.all', necesario para `/mnt/lfs/sources/glibc-build/abi-versions.h'. Alto.
make[1]: se sale del directorio `/mnt/lfs/sources/glibc-2.11.1'
make: *** [all] Error 2
root@damian-desktop:/mnt/lfs/sources/glibc-build# |
Lo que me pregunto es porque me sale un error de este estilo ya que haora me recuerdo que antes al copilar Binutils me salia el mismo error y lo que ice para solucionarlo era cambiar e intentar instalar una version mas reciente de este , lo malo es que haora estamos instalando la version mas reciente de Glibc y no puedo intentar lo mismo de antes XD
Si sabe como solucionarlo x segunda vez XD
Le agradezo comucho su ayuda XD
Un Saludo!!
Ultima edición por Damian92 el Lun Feb 08, 2010 1:21 am, editado 1 vez |
|
| Volver arriba |
|
 |
rafaxdrake Forista

Registrado: 21 Feb 2004 Mensajes: 3431 Ubicación: Mallorca
|
Publicado: Lun Feb 08, 2010 1:20 am Asunto: |
|
|
Pero haz el configure mejor, te falta gawk y bison todavía. _________________ http://vitamine.dyndns.biz |
|
| Volver arriba |
|
 |
Damian92 Invitado
|
Publicado: Lun Feb 08, 2010 12:55 pm Asunto: |
|
|
| rafaxdrake escribió: | | Pero haz el configure mejor, te falta gawk y bison todavía. |
OK esta tarde repitire todo el proceso trankilo y lo configurare bien ya que esto lo hize rapido corriendo x la noche, bueno ya te contare y muchas gracias por toda tu ayuda!!!
Un Saludo!!! |
|
| Volver arriba |
|
 |
Damian92 Invitado
|
Publicado: Mar Feb 09, 2010 9:01 pm Asunto: |
|
|
NO puedo configurarlo bien, llevo varios dias intentando lo y instalando los paquetes que me faltaban y nada algunos paquetes que me hacen falta aun no los encuentro ni en synaptic ni en las webs encuentro manuales de esos paquetes pero no para descargarlos ni na:
| Código: |
root@damian-desktop:/mnt/lfs/sources/glibc-build# ../glibc-2.11.1/configure --prefix=/tools \--disable-profile --enable-add-ons --enable-kernel=2.6.0 --with-binutils=/tools/bin --without-gd --with-headers=/tools/include --without-selinux
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
configure: running configure fragment for add-on libidn
configure: running configure fragment for add-on nptl
checking sysdep dirs... sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 nptl/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether /tools/bin/as is GNU as... yes
checking whether /tools/bin/ld is GNU ld... yes
checking for /tools/bin/as... /tools/bin/as
checking version of /tools/bin/as... 2.20, ok
checking for /tools/bin/ld... /tools/bin/ld
checking version of /tools/bin/ld... 2.20, ok
checking for pwd... /bin/pwd
checking for gcc... gcc -B/tools/bin/
checking version of gcc -B/tools/bin/... 4.4.3, ok
checking for gnumake... no
checking for gmake... no
checking for make... make
checking version of make... 3.81, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... msgfmt
checking version of msgfmt... 0.17, ok
checking for makeinfo... makeinfo
checking version of makeinfo... 4.13, ok
checking for sed... sed
checking version of sed... 4.2.1, ok
checking for autoconf... autoconf
checking whether autoconf works... yes
checking whether ranlib is necessary... no
checking LD_LIBRARY_PATH variable... ok
checking whether GCC supports -static-libgcc... -static-libgcc
checking for bash... /bin/bash
checking for gawk... gawk
checking for perl... /usr/bin/perl
checking for install-info... /usr/bin/install-info
checking for bison... /usr/bin/bison
checking for signed size_t type... no
checking for libc-friendly stddef.h... yes
checking whether we need to use -P to assemble .S files... no
checking whether .text pseudo-op must be used... yes
checking for assembler global-symbol directive... .globl
checking for .set assembler directive... yes
checking for assembler .type directive prefix... @
checking for assembler gnu_unique_object symbol type... yes
checking for .symver assembler directive... yes
checking for ld --version-script... yes
checking for .previous assembler directive... yes
checking for .protected and .hidden assembler directive... yes
checking whether __attribute__((visibility())) is supported... yes
checking for broken __attribute__((visibility()))... no
checking for broken __attribute__((alias()))... no
checking whether to put _rtld_local into .sdata section... no
checking for .preinit_array/.init_array/.fini_array support... yes
checking for libunwind-support in compiler... no
checking for -z nodelete option... yes
checking for -z nodlopen option... yes
checking for -z initfirst option... yes
checking for -z relro option... yes
checking for -Bgroup option... yes
checking for libgcc_s suffix...
checking for --as-needed option... yes
checking whether --noexecstack is desirable for .S files... yes
checking for -z combreloc... yes
checking for -z execstack... yes
checking for -fpie... yes
checking for --hash-style option... yes
checking for -fno-toplevel-reorder -fno-section-anchors... yes
checking for -fstack-protector... yes
checking for -fgnu89-inline... yes
checking whether cc puts quotes around section names... no
checking for assembler .weak directive... yes
checking whether CFI directives are supported... yes
checking for ld --no-whole-archive... yes
checking for gcc -fexceptions... yes
checking for __builtin_expect... yes
checking for __builtin_memset... yes
checking for redirection of built-in functions... yes
checking for __thread... yes
checking for tls_model attribute... yes
checking for libgd... no
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of long double... 12
running configure fragment for sysdeps/i386/elf
checking for i386 TLS support... yes
running configure fragment for nptl/sysdeps/pthread
checking for forced unwind support... yes
checking for C cleanup handling... yes
running configure fragment for sysdeps/pthread
running configure fragment for sysdeps/unix/sysv/linux
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking installed Linux kernel header files... 2.0.10 or later
checking for kernel header at least 2.6.0... ok
checking for symlinks in /tools/include... ok
running configure fragment for sysdeps/i386
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking cpuid.h usability... yes
checking cpuid.h presence... yes
checking for cpuid.h... yes
checking if -g produces usable source locations for assembler-with-cpp... yes
checking for SSE4 support... yes
checking for old glibc 2.0.x headers... no
checking whether -fPIC is default... no
configure: creating ./config.status
config.status: creating config.make
config.status: creating Makefile
config.status: creating config.h
config.status: executing default commands
root@damian-desktop:/mnt/lfs/sources/glibc-build#
|
Y todo eso falla:
| Código: | checking for gnumake... no
checking for gmake... no
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking whether ranlib is necessary... no
checking for signed size_t type... no
checking whether we need to use -P to assemble .S files... no
checking for broken __attribute__((visibility()))... no
checking for broken __attribute__((alias()))... no
checking whether to put _rtld_local into .sdata section... no
checking for libunwind-support in compiler... no
checking whether cc puts quotes around section names... no
checking for libgd... no
checking for old glibc 2.0.x headers... no
checking whether -fPIC is default... no |
Lo mas importante creo que es "ranlib" y instale todos paquetes que e visto que tendrian algo k ver con esta libreria y nada nada
Aqui hay una lista de los paquetes que instale:
http://packages.ubuntu.com/cgi-bin/search_contents.pl?word=ranlib&searchmode=searchfiles&case=insensitive&version=breezy&arch=i386
Ademas de los paquetes que salen en esta lista instale muchos mas...
O otros paquetes como gmake o gnumsgfmt tanpoco encontre, yo tengo instalado el paquete make que es de GNU y no se si es lo mismo o no, si es lo mismo no entiendo por que en el check me sale que no lo tengo.
Si me podria ayudar con esos paquetes o explicarme donde los podria bajar o lo que sea les daria mil gracias.
Un Saludo!! |
|
| Volver arriba |
|
 |
rafaxdrake Forista

Registrado: 21 Feb 2004 Mensajes: 3431 Ubicación: Mallorca
|
Publicado: Mie Feb 10, 2010 12:16 am Asunto: |
|
|
Lo siento, esto no funciona así, parece que no sabes lo que estás haciendo, por lo que veo parece que aprendiste a darle al mechero, pero que no sabes cocinar. Esto puede funcionar bien para compilar el tetris o cualquier cosa, pero no para compilar glibc amigo. Si quieres hacer el trabajo bien, como mínimo te toca imprimirte el manual del gcc y darle un repasito y luego saber qué son, qué hacen y si vas a necesitar o no cada una de las solicitudes que requiera para compilar. Saludos. _________________ http://vitamine.dyndns.biz |
|
| Volver arriba |
|
 |
rafaxdrake Forista

Registrado: 21 Feb 2004 Mensajes: 3431 Ubicación: Mallorca
|
Publicado: Mie Feb 10, 2010 12:21 am Asunto: |
|
|
se supone que tienes que instalar ranlib devel _________________ http://vitamine.dyndns.biz |
|
| Volver arriba |
|
 |
|
|
Puede publicar nuevos temas en este foro No puede responder a temas en este foro No puede editar sus mensajes en este foro No puede borrar sus mensajes en este foro No puede votar en encuestas en este foro
|
La marca registrada Linux (R) se usa siguiendo la sublicensia obtenida del "Linux Mark Institute", el LICENCIATARIO exclusivo de Linus Torvalds, propietario de la marca en EEUU y otros países
The registered trademark Linux (R) is used pursuant to a sublicense from the Linux Mark Institute, the exclusive LICENSEE of Linus Torvalds, owner of the mark in the U.S. and other countries
Powered by phpBB © 2001, 2002 phpBB Group
Contactos -
Doraemon Games -
Horse Games -
Golf Games -
Dog Games -
Bird Games -
SpongeBob Games -
Pet Games
|