LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 05-28-2008, 11:42 AM   #1
dracayr
LQ Newbie
 
Registered: May 2008
Posts: 22

Rep: Reputation: 15
glibc cannot be compiled without optimization


EDITED since I can't delete thread

sorry for the inconvenience

EDIT2: Ok, I simply added the CFLAG -O2

dracayr

Last edited by dracayr; 05-30-2008 at 01:27 PM.
 
Old 05-29-2008, 08:58 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,744
Blog Entries: 1

Rep: Reputation: 224Reputation: 224Reputation: 224
Generally if you solve the problem it is preferred that you post the solution rather than delete your original post. That way others can find the solution in the future.
 
Old 06-12-2008, 08:42 PM   #3
jcfernandez
LQ Newbie
 
Registered: Jun 2008
Posts: 2

Rep: Reputation: 0
lfs@debian:/mnt/hda5/sources/glibc-build$ $LFS/sources/glibc-2.5.1/configure --prefix=/tools --disable-profile --enable-add-ons --enable-kernel=2.6.0 --with-binutils=$LFS/tools/bin --without-gd --with-headers=$LFS/tools/include --without-selinux
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
configure: running configure fragment for add-on nptl
checking sysdep dirs... sysdeps/i386/elf nptl/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 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 ANSI C... 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
checking whether /mnt/hda5/tools/bin/as is GNU as... yes
checking whether /mnt/hda5/tools/bin/ld is GNU ld... yes
checking for /mnt/hda5/tools/bin/as... /mnt/hda5/tools/bin/as
checking version of /mnt/hda5/tools/bin/as... 2.17, ok
checking for /mnt/hda5/tools/bin/ld... /mnt/hda5/tools/bin/ld
checking version of /mnt/hda5/tools/bin/ld... 2.17, ok
checking for pwd... /bin/pwd
checking for gcc... gcc -B/mnt/hda5/tools/bin/
checking version of gcc -B/mnt/hda5/tools/bin/... 4.1.2, 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.16.1, ok
checking for makeinfo... makeinfo
checking version of makeinfo... 4.8, ok
checking for sed... sed
checking version of sed... 4.1.5, ok
checking for autoconf... no
configure: WARNING:
*** These auxiliary programs are missing or incompatible versions: 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/sh
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 .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... no
checking for -fno-toplevel-reorder... no
checking for -fstack-protector... 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... no
checking for redirection of built-in functions... yes
checking for __thread... yes
checking for tls_model attribute... yes
checking for libgd... no
checking for egrep... 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 for long double... 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 egrep... (cached) 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 if -g produces usable source locations for assembler-with-cpp... 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
lfs@debian:/mnt/hda5/sources/glibc-build$

















lfs@debian:/mnt/hda5/sources/glibc-build$ make
make -r PARALLELMFLAGS="" CVSOPTS="" -C /mnt/hda5/sources/glibc-2.5.1 objdir=`pwd` all
make[1]: Entering directory `/mnt/hda5/sources/glibc-2.5.1'
(echo 'sysd-rules-sysdirs := sysdeps/i386/elf nptl/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 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; \
for o in .o .os .op .og .ob .oS; do \
\
echo "\$(objpfx)%$o: $dir/%.S \$(before-compile); \
\$(compile-command.S)"; \
echo "\$(objpfx)%$o: $dir/%.s \$(before-compile); \
\$(compile-command.s)"; \
echo "\$(objpfx)rtld-%$o: $dir/%.S \$(before-compile); \
\$(compile-command.S)"; \
echo "\$(objpfx)rtld-%$o: $dir/%.s \$(before-compile); \
\$(compile-command.s)"; \
echo "\$(objpfx)ptw-%$o: $dir/%.S \$(before-compile); \
\$(compile-command.S)"; \
echo "\$(objpfx)ptw-%$o: $dir/%.s \$(before-compile); \
\$(compile-command.s)"; \
echo "\$(objpfx)m_%$o: $dir/s_%.S \$(before-compile); \
\$(compile-command.S)"; \
echo "\$(objpfx)m_%$o: $dir/s_%.s \$(before-compile); \
\$(compile-command.s)"; \
\
echo "\$(objpfx)%$o: $dir/%.c \$(before-compile); \
\$(compile-command.c)"; \
echo "\$(objpfx)rtld-%$o: $dir/%.c \$(before-compile); \
\$(compile-command.c)"; \
echo "\$(objpfx)ptw-%$o: $dir/%.c \$(before-compile); \
\$(compile-command.c)"; \
echo "\$(objpfx)m_%$o: $dir/s_%.c \$(before-compile); \
\$(compile-command.c)"; \
done; \
echo "\$(inst_includedir)/%.h: $dir/%.h \$(+force); \
\$(do-install)"; \
done; \
echo 'sysd-rules-done = t') > /mnt/hda5/sources/glibc-build/sysd-rulesT
mv -f /mnt/hda5/sources/glibc-build/sysd-rulesT /mnt/hda5/sources/glibc-build/sysd-rules
for dir in /mnt/hda5/sources/glibc-build sysdeps/i386/elf nptl/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 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/mnt/hda5/tools/bin/ -c -Iinclude -I/mnt/hda5/sources/glibc-build -Isysdeps/i386/elf -Inptl/sysdeps/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.1.2/include -isystem /mnt/hda5/tools/include -D_LIBC_REENTRANT -include include/libc-symbols.h -DASSEMBLER -DGAS_SYNTAX -Wa,--noexecstack -E -x assembler-with-cpp' \
/bin/sh sysdeps/unix/make-syscalls.sh $dir || exit 1; }; \
test $dir = sysdeps/unix && break; \
done > /mnt/hda5/sources/glibc-build/sysd-syscallsT
mv -f /mnt/hda5/sources/glibc-build/sysd-syscallsT /mnt/hda5/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 po argp crypt nss localedata timezone rt conform debug 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/hda5/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]: Leaving directory `/mnt/hda5/sources/glibc-2.5.1'
make[1]: Entering directory `/mnt/hda5/sources/glibc-2.5.1'
{ echo '#include "posix/bits/posix1_lim.h"'; \
echo '#define _LIBC 1'; \
echo '#include "misc/sys/uio.h"'; } | \
gcc -B/mnt/hda5/tools/bin/ -E -dM -MD -MP -MF /mnt/hda5/sources/glibc-build/bits/stdio_lim.dT -MT '/mnt/hda5/sources/glibc-build/bits/stdio_lim.h /mnt/hda5/sources/glibc-build/bits/stdio_lim.d' \
-Iinclude -I/mnt/hda5/sources/glibc-build -Isysdeps/i386/elf -Inptl/sysdeps/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.1.2/include -isystem /mnt/hda5/tools/include -xc - -o /mnt/hda5/sources/glibc-build/bits/stdio_lim.hT
sed -e 's@ /mnt/hda5/sources/glibc-build/@ $(common-objpfx)@g' -e 's@^/mnt/hda5/sources/glibc-build/@$(common-objpfx)@g' -e 's@ *\([^ \/$][^ \]*\)@ $(..)\1@g' -e 's@^\([^ \/$][^ \]*\)@$(..)\1@g' \
/mnt/hda5/sources/glibc-build/bits/stdio_lim.dT > /mnt/hda5/sources/glibc-build/bits/stdio_lim.dt
mv -f /mnt/hda5/sources/glibc-build/bits/stdio_lim.dt /mnt/hda5/sources/glibc-build/bits/stdio_lim.d
fopen_max=`sed -n 's/^#define OPEN_MAX //1p' /mnt/hda5/sources/glibc-build/bits/stdio_lim.hT`; \
filename_max=`sed -n 's/^#define PATH_MAX //1p' /mnt/hda5/sources/glibc-build/bits/stdio_lim.hT`; \
iov_max=`sed -n 's/^#define UIO_MAXIOV //p' /mnt/hda5/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/hda5/sources/glibc-build/bits/stdio_lim.h.new
/bin/sh scripts/move-if-change /mnt/hda5/sources/glibc-build/bits/stdio_lim.h.new /mnt/hda5/sources/glibc-build/bits/stdio_lim.h
rm -f /mnt/hda5/sources/glibc-build/bits/stdio_lim.hT /mnt/hda5/sources/glibc-build/bits/stdio_lim.dT /mnt/hda5/sources/glibc-build/bits/stdio_lim.dt
touch /mnt/hda5/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 po argp crypt nss localedata timezone rt conform debug 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/hda5/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]: Leaving directory `/mnt/hda5/sources/glibc-2.5.1'
make[1]: Entering directory `/mnt/hda5/sources/glibc-2.5.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 po argp crypt nss localedata timezone rt conform debug 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/hda5/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/hda5/sources/glibc-build/stamp.o; > /mnt/hda5/sources/glibc-build/stamp.o
rm -f /mnt/hda5/sources/glibc-build/stamp.os; > /mnt/hda5/sources/glibc-build/stamp.os
rm -f /mnt/hda5/sources/glibc-build/stamp.oS; > /mnt/hda5/sources/glibc-build/stamp.oS
cd /mnt/hda5/sources/glibc-build && /mnt/hda5/tools/bin/ar cruv libc.a `cat stamp.o`
: /mnt/hda5/sources/glibc-build/libc.a
cd /mnt/hda5/sources/glibc-build && /mnt/hda5/tools/bin/ar cruv libc_pic.a `cat stamp.os`
: /mnt/hda5/sources/glibc-build/libc_pic.a
cd /mnt/hda5/sources/glibc-build && /mnt/hda5/tools/bin/ar cruv libc_nonshared.a `cat stamp.oS`
: /mnt/hda5/sources/glibc-build/libc_nonshared.a
make[1]: *** No rule to make target `/mnt/hda5/sources/glibc-build/Versions.all', needed by `/mnt/hda5/sources/glibc-build/abi-versions.h'. Stop.
make[1]: Leaving directory `/mnt/hda5/sources/glibc-2.5.1'
make: *** [all] Error 2
lfs@debian:/mnt/
 
Old 06-12-2008, 08:43 PM   #4
jcfernandez
LQ Newbie
 
Registered: Jun 2008
Posts: 2

Rep: Reputation: 0
lfs@debian:/mnt/hda5/sources/glibc-build$ $LFS/sources/glibc-2.5.1/configure --prefix=/tools --disable-profile --enable-add-ons --enable-kernel=2.6.0 --with-binutils=$LFS/tools/bin --without-gd --with-headers=$LFS/tools/include --without-selinux
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
configure: running configure fragment for add-on nptl
checking sysdep dirs... sysdeps/i386/elf nptl/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 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 ANSI C... 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
checking whether /mnt/hda5/tools/bin/as is GNU as... yes
checking whether /mnt/hda5/tools/bin/ld is GNU ld... yes
checking for /mnt/hda5/tools/bin/as... /mnt/hda5/tools/bin/as
checking version of /mnt/hda5/tools/bin/as... 2.17, ok
checking for /mnt/hda5/tools/bin/ld... /mnt/hda5/tools/bin/ld
checking version of /mnt/hda5/tools/bin/ld... 2.17, ok
checking for pwd... /bin/pwd
checking for gcc... gcc -B/mnt/hda5/tools/bin/
checking version of gcc -B/mnt/hda5/tools/bin/... 4.1.2, 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.16.1, ok
checking for makeinfo... makeinfo
checking version of makeinfo... 4.8, ok
checking for sed... sed
checking version of sed... 4.1.5, ok
checking for autoconf... no
configure: WARNING:
*** These auxiliary programs are missing or incompatible versions: 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/sh
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 .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... no
checking for -fno-toplevel-reorder... no
checking for -fstack-protector... 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... no
checking for redirection of built-in functions... yes
checking for __thread... yes
checking for tls_model attribute... yes
checking for libgd... no
checking for egrep... 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 for long double... 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 egrep... (cached) 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 if -g produces usable source locations for assembler-with-cpp... 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
lfs@debian:/mnt/hda5/sources/glibc-build$

















lfs@debian:/mnt/hda5/sources/glibc-build$ make
make -r PARALLELMFLAGS="" CVSOPTS="" -C /mnt/hda5/sources/glibc-2.5.1 objdir=`pwd` all
make[1]: Entering directory `/mnt/hda5/sources/glibc-2.5.1'
(echo 'sysd-rules-sysdirs := sysdeps/i386/elf nptl/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 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; \
for o in .o .os .op .og .ob .oS; do \
\
echo "\$(objpfx)%$o: $dir/%.S \$(before-compile); \
\$(compile-command.S)"; \
echo "\$(objpfx)%$o: $dir/%.s \$(before-compile); \
\$(compile-command.s)"; \
echo "\$(objpfx)rtld-%$o: $dir/%.S \$(before-compile); \
\$(compile-command.S)"; \
echo "\$(objpfx)rtld-%$o: $dir/%.s \$(before-compile); \
\$(compile-command.s)"; \
echo "\$(objpfx)ptw-%$o: $dir/%.S \$(before-compile); \
\$(compile-command.S)"; \
echo "\$(objpfx)ptw-%$o: $dir/%.s \$(before-compile); \
\$(compile-command.s)"; \
echo "\$(objpfx)m_%$o: $dir/s_%.S \$(before-compile); \
\$(compile-command.S)"; \
echo "\$(objpfx)m_%$o: $dir/s_%.s \$(before-compile); \
\$(compile-command.s)"; \
\
echo "\$(objpfx)%$o: $dir/%.c \$(before-compile); \
\$(compile-command.c)"; \
echo "\$(objpfx)rtld-%$o: $dir/%.c \$(before-compile); \
\$(compile-command.c)"; \
echo "\$(objpfx)ptw-%$o: $dir/%.c \$(before-compile); \
\$(compile-command.c)"; \
echo "\$(objpfx)m_%$o: $dir/s_%.c \$(before-compile); \
\$(compile-command.c)"; \
done; \
echo "\$(inst_includedir)/%.h: $dir/%.h \$(+force); \
\$(do-install)"; \
done; \
echo 'sysd-rules-done = t') > /mnt/hda5/sources/glibc-build/sysd-rulesT
mv -f /mnt/hda5/sources/glibc-build/sysd-rulesT /mnt/hda5/sources/glibc-build/sysd-rules
for dir in /mnt/hda5/sources/glibc-build sysdeps/i386/elf nptl/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 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/mnt/hda5/tools/bin/ -c -Iinclude -I/mnt/hda5/sources/glibc-build -Isysdeps/i386/elf -Inptl/sysdeps/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.1.2/include -isystem /mnt/hda5/tools/include -D_LIBC_REENTRANT -include include/libc-symbols.h -DASSEMBLER -DGAS_SYNTAX -Wa,--noexecstack -E -x assembler-with-cpp' \
/bin/sh sysdeps/unix/make-syscalls.sh $dir || exit 1; }; \
test $dir = sysdeps/unix && break; \
done > /mnt/hda5/sources/glibc-build/sysd-syscallsT
mv -f /mnt/hda5/sources/glibc-build/sysd-syscallsT /mnt/hda5/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 po argp crypt nss localedata timezone rt conform debug 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/hda5/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]: Leaving directory `/mnt/hda5/sources/glibc-2.5.1'
make[1]: Entering directory `/mnt/hda5/sources/glibc-2.5.1'
{ echo '#include "posix/bits/posix1_lim.h"'; \
echo '#define _LIBC 1'; \
echo '#include "misc/sys/uio.h"'; } | \
gcc -B/mnt/hda5/tools/bin/ -E -dM -MD -MP -MF /mnt/hda5/sources/glibc-build/bits/stdio_lim.dT -MT '/mnt/hda5/sources/glibc-build/bits/stdio_lim.h /mnt/hda5/sources/glibc-build/bits/stdio_lim.d' \
-Iinclude -I/mnt/hda5/sources/glibc-build -Isysdeps/i386/elf -Inptl/sysdeps/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.1.2/include -isystem /mnt/hda5/tools/include -xc - -o /mnt/hda5/sources/glibc-build/bits/stdio_lim.hT
sed -e 's@ /mnt/hda5/sources/glibc-build/@ $(common-objpfx)@g' -e 's@^/mnt/hda5/sources/glibc-build/@$(common-objpfx)@g' -e 's@ *\([^ \/$][^ \]*\)@ $(..)\1@g' -e 's@^\([^ \/$][^ \]*\)@$(..)\1@g' \
/mnt/hda5/sources/glibc-build/bits/stdio_lim.dT > /mnt/hda5/sources/glibc-build/bits/stdio_lim.dt
mv -f /mnt/hda5/sources/glibc-build/bits/stdio_lim.dt /mnt/hda5/sources/glibc-build/bits/stdio_lim.d
fopen_max=`sed -n 's/^#define OPEN_MAX //1p' /mnt/hda5/sources/glibc-build/bits/stdio_lim.hT`; \
filename_max=`sed -n 's/^#define PATH_MAX //1p' /mnt/hda5/sources/glibc-build/bits/stdio_lim.hT`; \
iov_max=`sed -n 's/^#define UIO_MAXIOV //p' /mnt/hda5/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/hda5/sources/glibc-build/bits/stdio_lim.h.new
/bin/sh scripts/move-if-change /mnt/hda5/sources/glibc-build/bits/stdio_lim.h.new /mnt/hda5/sources/glibc-build/bits/stdio_lim.h
rm -f /mnt/hda5/sources/glibc-build/bits/stdio_lim.hT /mnt/hda5/sources/glibc-build/bits/stdio_lim.dT /mnt/hda5/sources/glibc-build/bits/stdio_lim.dt
touch /mnt/hda5/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 po argp crypt nss localedata timezone rt conform debug 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/hda5/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]: Leaving directory `/mnt/hda5/sources/glibc-2.5.1'
make[1]: Entering directory `/mnt/hda5/sources/glibc-2.5.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 po argp crypt nss localedata timezone rt conform debug 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/hda5/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/hda5/sources/glibc-build/stamp.o; > /mnt/hda5/sources/glibc-build/stamp.o
rm -f /mnt/hda5/sources/glibc-build/stamp.os; > /mnt/hda5/sources/glibc-build/stamp.os
rm -f /mnt/hda5/sources/glibc-build/stamp.oS; > /mnt/hda5/sources/glibc-build/stamp.oS
cd /mnt/hda5/sources/glibc-build && /mnt/hda5/tools/bin/ar cruv libc.a `cat stamp.o`
: /mnt/hda5/sources/glibc-build/libc.a
cd /mnt/hda5/sources/glibc-build && /mnt/hda5/tools/bin/ar cruv libc_pic.a `cat stamp.os`
: /mnt/hda5/sources/glibc-build/libc_pic.a
cd /mnt/hda5/sources/glibc-build && /mnt/hda5/tools/bin/ar cruv libc_nonshared.a `cat stamp.oS`
: /mnt/hda5/sources/glibc-build/libc_nonshared.a
make[1]: *** No rule to make target `/mnt/hda5/sources/glibc-build/Versions.all', needed by `/mnt/hda5/sources/glibc-build/abi-versions.h'. Stop.
make[1]: Leaving directory `/mnt/hda5/sources/glibc-2.5.1'
make: *** [all] Error 2
lfs@debian:/mnt/


alguien me puede ayudar con este problema

carlosjose_f@hotmail.com
 
Old 06-12-2008, 10:53 PM   #5
Vitalie Ciubotaru
Member
 
Registered: Dec 2005
Location: Osaka, Japan
Distribution: Ubuntu Trinity
Posts: 153

Rep: Reputation: 30
Hm, maybe it would be worth trying to read the output of ./configure before posting it. It said that autoconf is either missing or incompatible.
 
Old 06-18-2008, 04:54 PM   #6
croog
LQ Newbie
 
Registered: Feb 2006
Distribution: fedora-17-x86_64 Xfce
Posts: 29

Rep: Reputation: 1
autoconf not detected install glibc-2.5.1

I'm using LFS 6.3 on chapter 6.9 glibc-2.5.1
When I run configure for glibc-2.5.1:
Quote:
root:/sources/glibc-build# ../glibc-2.5.1/configure --prefix=/usr \
--disable-profile --enable-add-ons \
--enable-kernel=2.6.0 --libexecdir=/usr/lib/glibc
I get this error:
Quote:
checking for autoconf... no
configure: WARNING:
*** These auxiliary programs are missing or incompatible versions: autoconf
*** some features will be disabled.
*** Check the INSTALL file for required versions.
According to 'install' in glib-2.5.1:
Quote:
If you change any of the `configure.in' files you will also need

* GNU `autoconf' 2.53 or higher
I have autoconf-2.61 installed on the host system. I have links to autoconf in '/usr/bin' and '/usr/local/bin'. I installed autoconf with these commands:
./configure --prefix=/usr/local
make
make check
make install

There were no errors on the install of autoconf. My ony idea is that glibc is not looking for autoconf where I have it installed. Any help would be great.
Croog
 
Old 07-09-2008, 04:39 PM   #7
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,744
Blog Entries: 1

Rep: Reputation: 224Reputation: 224Reputation: 224
The problem is not with autoconf, the configure script completed successfully. The problem can be found in the output of the make command
Code:
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 ...
I'm guessing your using Debian or a Debian derivative as the host system. Install gawk and try again.

BTW, next time post the version of the book you're using and read/verify the host system requirements.
 
Old 07-12-2008, 01:02 AM   #8
rodrigomeira
LQ Newbie
 
Registered: Jul 2008
Posts: 6

Rep: Reputation: 0
I have exactly the same problem with the command make in Installation of Glibc (chapter 5.6.1) and i'm using Debian like host system. (book LFS 6.3). What gwak has to do if in section 5.6.1 gwak is not installed ? Someone knows how to solve the problem up ?

rodrigo
 
Old 07-12-2008, 07:20 AM   #9
dracayr
LQ Newbie
 
Registered: May 2008
Posts: 22

Original Poster
Rep: Reputation: 15
I also had that error. I circumvented it by configuring with CC="/usr/bin/cc"

dracayr
 
Old 07-12-2008, 12:06 PM   #10
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,744
Blog Entries: 1

Rep: Reputation: 224Reputation: 224Reputation: 224
Quote:
Originally Posted by rodrigomeira View Post
What gwak has to do if in section 5.6.1 gwak is not installed ? Someone knows how to solve the problem up ?
You have to have gawk installed on the host system to complete section 5. You also need to read the host system requirements in section iv.

Quote:
Originally Posted by dracayr
I also had that error. I circumvented it by configuring with CC="/usr/bin/cc"
Unfortunately you used your host system's gcc, not the temporary system's gcc that was installed in section 5.4. This could potentially cause you problems since you should be building glibc with the gcc in /tools/bin.

If you choose to deviate from the book without understanding what you're doing you're likely to have a bad experience with (C)LFS.
 
Old 07-12-2008, 04:44 PM   #11
croog
LQ Newbie
 
Registered: Feb 2006
Distribution: fedora-17-x86_64 Xfce
Posts: 29

Rep: Reputation: 1
Thanks for the help weibullguy. I already installed Gawk but I pulled a noob and installed it to my /home partition.
I just downloaded the LFS live cd and I'm going restart my build using it as the host.

Quote:
BTW, next time post the version of the book you're using and read/verify the host system requirements.
I did, and I agree with you.
Quote:
I'm using LFS 6.3 on chapter 6.9 glibc-2.5.1
 
Old 07-13-2008, 04:14 PM   #12
rodrigomeira
LQ Newbie
 
Registered: Jul 2008
Posts: 6

Rep: Reputation: 0
Thanks weibullguy. I installed gawk on my host system (but i didnīt find on the book) and the command make worked well fo Glibc.

rodrigo
 
Old 07-13-2008, 04:30 PM   #13
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,744
Blog Entries: 1

Rep: Reputation: 224Reputation: 224Reputation: 224
Quote:
Originally Posted by rodrigomeira View Post
I installed gawk on my host system (but i didnīt find on the book)
Read the section entitled Host System Requirements
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem installing glibc-2.3.2-4.80.i686, glibc-common-2.3.2-4.80.8.i386.rpm martianpackets Red Hat 8 05-01-2009 03:22 PM
I erased glibc-2.3.6 from my LFS-6.2 by mistake using PACO. Compiled replace needed. linux-geek Linux From Scratch 3 06-10-2008 04:42 PM
glibc compiled on which keernel version? acidjuice Slackware 4 05-27-2005 09:52 AM
Replacing glibc using linuxthreads for glibc using nptl (native positx thread library CestusGW Linux From Scratch 4 01-20-2005 07:26 AM
ncsd, glibc, and glibc-common conflicts during LAMP install beaker911 Linux - Software 0 12-30-2004 02:31 PM


All times are GMT -5. The time now is 11:51 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration