n.b. : this is a ppc machine
       and config.guess reports powerpc-unknown-linux-gnu

I am attempting to follow the book and ran into a problem at 5.6.1
"Installation of Glibc".  I tried twice with two different apporaches and
both fail in a similar way.

First attempt :

[EMAIL PROTECTED]:/mnt/lfs/sources/build$ ls -lap
total 32
drwxr-xr-x  8 lfs lfs  4096 Apr  2 23:54 ./
drwxrwxrwt  5 lfs root 4096 Apr  2 00:21 ../
drwxr-xr-x 15 lfs lfs  4096 Apr  2 00:31 binutils-2.18/
drwxr-xr-x 11 lfs lfs  4096 Apr  2 11:30 binutils-2.18-build/
drwxr-xr-x 25 lfs lfs  4096 Feb  1 13:45 gcc-4.2.3/
drwxr-xr-x 22 lfs lfs  4096 Apr  2 22:26 gcc-4.2.3-build/
drwxr-xr-x 66 lfs lfs  4096 Oct 18 07:22 glibc-2.7/
drwxr-xr-x 21 lfs lfs  4096 Apr  2 23:52 linux-2.6.24.2/
[EMAIL PROTECTED]:/mnt/lfs/sources/build$ mkdir glibc-2.7-build
[EMAIL PROTECTED]:/mnt/lfs/sources/build$ cd glibc-2.7-build/
[EMAIL PROTECTED]:/mnt/lfs/sources/build/glibc-2.7-build$ echo "CFLAGS += 
-mpowerpc
-mcpu=common -mno-altivec -m32 -mhard-float" > configparms
[EMAIL PROTECTED]:/mnt/lfs/sources/build/glibc-2.7-build$ ../glibc-2.7/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... powerpc-unknown-linux-gnu
checking host system type... powerpc-unknown-linux-gnu
configure: running configure fragment for add-on nptl
checking sysdep dirs... sysdeps/powerpc/powerpc32/elf sysdeps/powerpc/elf
sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu sysdeps/powerpc/powerpc32/fpu
nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32
sysdeps/unix/sysv/linux/powerpc/powerpc32
nptl/sysdeps/unix/sysv/linux/powerpc sysdeps/unix/sysv/linux/powerpc
sysdeps/ieee754/ldbl-128ibm sysdeps/ieee754/ldbl-opt
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 nptl/sysdeps/unix/sysv sysdeps/unix/sysv
sysdeps/unix/powerpc nptl/sysdeps/unix sysdeps/unix sysdeps/posix
sysdeps/powerpc/powerpc32 sysdeps/wordsize-32 sysdeps/powerpc/fpu
nptl/sysdeps/powerpc sysdeps/powerpc sysdeps/ieee754/dbl-64
sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
.
.
.
etc etc etc
.
.
.
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/build/glibc-2.7-build/stamp.o; >
/mnt/lfs/sources/build/glibc-2.7-build/stamp.o
rm -f /mnt/lfs/sources/build/glibc-2.7-build/stamp.os; >
/mnt/lfs/sources/build/glibc-2.7-build/stamp.os
rm -f /mnt/lfs/sources/build/glibc-2.7-build/stamp.oS; >
/mnt/lfs/sources/build/glibc-2.7-build/stamp.oS
cd /mnt/lfs/sources/build/glibc-2.7-build && /tools/bin/ar cruv libc.a `cat
stamp.o`
: /mnt/lfs/sources/build/glibc-2.7-build/libc.a
cd /mnt/lfs/sources/build/glibc-2.7-build && /tools/bin/ar cruv libc_pic.a
`cat stamp.os`
: /mnt/lfs/sources/build/glibc-2.7-build/libc_pic.a
cd /mnt/lfs/sources/build/glibc-2.7-build && /tools/bin/ar cruv
libc_nonshared.a `cat stamp.oS`
: /mnt/lfs/sources/build/glibc-2.7-build/libc_nonshared.a
make[1]: *** No rule to make target
`/mnt/lfs/sources/build/glibc-2.7-build/Versions.all', needed by
`/mnt/lfs/sources/build/glibc-2.7-build/abi-versions.h'.  Stop.
make[1]: Leaving directory `/mnt/lfs/sources/build/glibc-2.7'
make: *** [all] Error 2


ATTEMPT NUMBER TWO - note the absence of CFLAGS in configparms

[EMAIL PROTECTED]:/mnt/lfs/sources/build/glibc-2.7-build$ cd ..
[EMAIL PROTECTED]:/mnt/lfs/sources/build$ rm -rf glibc-2.7-build/
[EMAIL PROTECTED]:/mnt/lfs/sources/build$ mkdir glibc-2.7-build
[EMAIL PROTECTED]:/mnt/lfs/sources/build$ cd glibc-2.7-build

[EMAIL PROTECTED]:/mnt/lfs/sources/build/glibc-2.7-build$ ../glibc-2.7/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... powerpc-unknown-linux-gnu
checking host system type... powerpc-unknown-linux-gnu
configure: running configure fragment for add-on nptl
checking sysdep dirs... sysdeps/powerpc/powerpc32/elf sysdeps/powerpc/elf
sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu sysdeps/powerpc/powerpc32/fpu
nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32
sysdeps/unix/sysv/linux/powerpc/powerpc32
nptl/sysdeps/unix/sysv/linux/powerpc sysdeps/unix/sysv/linux/powerpc
sysdeps/ieee754/ldbl-128ibm sysdeps/ieee754/ldbl-opt
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 nptl/sysdeps/unix/sysv sysdeps/unix/sysv
sysdeps/unix/powerpc nptl/sysdeps/unix sysdeps/unix sysdeps/posix
sysdeps/powerpc/powerpc32 sysdeps/wordsize-32 sysdeps/powerpc/fpu
nptl/sysdeps/powerpc sysdeps/powerpc sysdeps/ieee754/dbl-64
sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
.
.
.
etc etc etc
.
.
.
/bin/sh scripts/move-if-change
/mnt/lfs/sources/build/glibc-2.7-build/bits/stdio_lim.h.new
/mnt/lfs/sources/build/glibc-2.7-build/bits/stdio_lim.h
rm -f /mnt/lfs/sources/build/glibc-2.7-build/bits/stdio_lim.hT
/mnt/lfs/sources/build/glibc-2.7-build/bits/stdio_lim.dT
/mnt/lfs/sources/build/glibc-2.7-build/bits/stdio_lim.dt
touch /mnt/lfs/sources/build/glibc-2.7-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/lfs/sources/build/glibc-2.7-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/lfs/sources/build/glibc-2.7'
make[1]: Entering directory `/mnt/lfs/sources/build/glibc-2.7'
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/lfs/sources/build/glibc-2.7-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/build/glibc-2.7-build/stamp.o; >
/mnt/lfs/sources/build/glibc-2.7-build/stamp.o
rm -f /mnt/lfs/sources/build/glibc-2.7-build/stamp.os; >
/mnt/lfs/sources/build/glibc-2.7-build/stamp.os
rm -f /mnt/lfs/sources/build/glibc-2.7-build/stamp.oS; >
/mnt/lfs/sources/build/glibc-2.7-build/stamp.oS
cd /mnt/lfs/sources/build/glibc-2.7-build && /tools/bin/ar cruv libc.a `cat
stamp.o`
/tools/bin/ranlib /mnt/lfs/sources/build/glibc-2.7-build/libc.a
cd /mnt/lfs/sources/build/glibc-2.7-build && /tools/bin/ar cruv libc_pic.a
`cat stamp.os`
/tools/bin/ranlib /mnt/lfs/sources/build/glibc-2.7-build/libc_pic.a
cd /mnt/lfs/sources/build/glibc-2.7-build && /tools/bin/ar cruv
libc_nonshared.a `cat stamp.oS`
/tools/bin/ranlib /mnt/lfs/sources/build/glibc-2.7-build/libc_nonshared.a
make[1]: *** No rule to make target
`/mnt/lfs/sources/build/glibc-2.7-build/Versions.all', needed by
`/mnt/lfs/sources/build/glibc-2.7-build/abi-versions.h'.  Stop.
make[1]: Leaving directory `/mnt/lfs/sources/build/glibc-2.7'
make: *** [all] Error 2
[EMAIL PROTECTED]:/mnt/lfs/sources/build/glibc-2.7-build$
[EMAIL PROTECTED]:/mnt/lfs/sources/build/glibc-2.7-build$



Both attempts seem to be failing in similar way.

Not sure what direction to take here.

Any thoughts ?

Dennis

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to