*Thanks i've resolved this problem installing gawk but there's another..*
*sorry for the banality of these problems but I am a beginner :)*

make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.10.1/elf'
i686-lfs-linux-gnu-gcc   -shared -static-libgcc -Wl,-O1  -Wl,-z,defs
-Wl,-dynamic-linker=/tools/lib/ld-linux.so.2
-B/mnt/lfs/sources/glibc-build/csu/
-Wl,--version-script=/mnt/lfs/sources/glibc-build/libc.map
-Wl,-soname=libc.so.6 -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both
-nostdlib -nostartfiles -e __libc_main -L/mnt/lfs/sources/glibc-build
-L/mnt/lfs/sources/glibc-build/math -L/mnt/lfs/sources/glibc-build/elf
-L/mnt/lfs/sources/glibc-build/dlfcn -L/mnt/lfs/sources/glibc-build/nss
-L/mnt/lfs/sources/glibc-build/nis -L/mnt/lfs/sources/glibc-build/rt
-L/mnt/lfs/sources/glibc-build/resolv -L/mnt/lfs/sources/glibc-build/crypt
-L/mnt/lfs/sources/glibc-build/nptl
-Wl,-rpath-link=/mnt/lfs/sources/glibc-build:/mnt/lfs/sources/glibc-build/math:/mnt/lfs/sources/glibc-build/elf:/mnt/lfs/sources/glibc-build/dlfcn:/mnt/lfs/sources/glibc-build/nss:/mnt/lfs/sources/glibc-build/nis:/mnt/lfs/sources/glibc-build/rt:/mnt/lfs/sources/glibc-build/resolv:/mnt/lfs/sources/glibc-build/crypt:/mnt/lfs/sources/glibc-build/nptl
-o /mnt/lfs/sources/glibc-build/libc.so -T
/mnt/lfs/sources/glibc-build/shlib.lds
/mnt/lfs/sources/glibc-build/csu/abi-note.o
/mnt/lfs/sources/glibc-build/elf/soinit.os
/mnt/lfs/sources/glibc-build/libc_pic.os
/mnt/lfs/sources/glibc-build/elf/sofini.os
/mnt/lfs/sources/glibc-build/elf/interp.os
/mnt/lfs/sources/glibc-build/elf/ld.so -lgcc
/mnt/lfs/sources/glibc-build/libc_pic.os: In function `__libc_fork':
/mnt/lfs/sources/glibc-2.10.1/posix/../nptl/sysdeps/unix/sysv/linux/i386/../fork.c:79:
undefined reference to `__sync_bool_compare_and_swap_4'
/mnt/lfs/sources/glibc-build/libc_pic.os: In function `__nscd_drop_map_ref':
/mnt/lfs/sources/glibc-2.10.1/nscd/nscd-client.h:320: undefined reference to
`__sync_fetch_and_add_4'
/mnt/lfs/sources/glibc-build/libc_pic.os: In function `nscd_getpw_r':
/mnt/lfs/sources/glibc-2.10.1/nscd/nscd_getpw_r.c:232: undefined reference
to `__sync_fetch_and_add_4'
/mnt/lfs/sources/glibc-build/libc_pic.os: In function `__nscd_drop_map_ref':
/mnt/lfs/sources/glibc-2.10.1/nscd/nscd-client.h:320: undefined reference to
`__sync_fetch_and_add_4'
/mnt/lfs/sources/glibc-build/libc_pic.os: In function `nscd_getgr_r':
/mnt/lfs/sources/glibc-2.10.1/nscd/nscd_getgr_r.c:321: undefined reference
to `__sync_fetch_and_add_4'
/mnt/lfs/sources/glibc-build/libc_pic.os: In function `__nscd_drop_map_ref':
/mnt/lfs/sources/glibc-2.10.1/nscd/nscd-client.h:320: undefined reference to
`__sync_fetch_and_add_4'
/mnt/lfs/sources/glibc-build/libc_pic.os:/mnt/lfs/sources/glibc-2.10.1/nscd/nscd_gethst_r.c:413:
more undefined references to `__sync_fetch_and_add_4' follow
/mnt/lfs/sources/glibc-build/libc_pic.os: In function `__nscd_get_map_ref':
/mnt/lfs/sources/glibc-2.10.1/nscd/nscd_helper.c:432: undefined reference to
`__sync_val_compare_and_swap_4'
/mnt/lfs/sources/glibc-build/libc_pic.os: In function
`*__GI___libc_freeres':
/mnt/lfs/sources/glibc-2.10.1/malloc/set-freeres.c:39: undefined reference
to `__sync_bool_compare_and_swap_4'
collect2: ld returned 1 exit status
make[1]: *** [/mnt/lfs/sources/glibc-build/libc.so] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.10.1'
make: *** [all] Error 2


2009/8/31 Justin P. Mattock <[email protected]>

> Giorgio Gambino wrote:
> > *Hi
> > when i try to compile glibc I receive this error:*
> >
> > 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/lfs/sources/glibc-2.10.1'
> > make[1]: Entering directory `/mnt/lfs/sources/glibc-2.10.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  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 &&
> >
> /mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.4.1/../../../../i686-lfs-linux-gnu/bin/ar
> > cruv libc.a `cat stamp.o`
> > : /mnt/lfs/sources/glibc-build/libc.a
> > cd /mnt/lfs/sources/glibc-build &&
> >
> /mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.4.1/../../../../i686-lfs-linux-gnu/bin/ar
> > cruv libc_pic.a `cat stamp.os`
> > : /mnt/lfs/sources/glibc-build/libc_pic.a
> > cd /mnt/lfs/sources/glibc-build &&
> >
> /mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.4.1/../../../../i686-lfs-linux-gnu/bin/ar
> > cruv libc_nonshared.a `cat stamp.oS`
> > : /mnt/lfs/sources/glibc-build/libc_nonshared.a
> > make[1]: *** No rule to make target
> > `/mnt/lfs/sources/glibc-build/Versions.all', needed by
> > `/mnt/lfs/sources/glibc-build/abi-versions.h'.  Stop.
> > make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.10.1'
> > make: *** [all] Error 2
> >
> > *which problem can be?
> > I have not changed anything i've followed the guide*
> > *Thanks*
> do you have gawk installed, as well as bison, flex
>
> Justin P. Mattock
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to