Re: [lfs-support] glibc compilation error -- make[1]: *** [csu/subdir_lib] Error 2

2012-12-16 Thread Simon Geard
On Sun, 2012-12-16 at 13:19 -0800, JIA Pei wrote: > > Hi, Michael: > > > Thank you very much for your detailed reply, so clear !! > My Host System Requirements gives me the following result: Note - that script isn't something you just run. It's something you have to actually read the output of,

Re: [lfs-support] glibc --enable-kernel=2.6.25? why?

2012-12-16 Thread Simon Geard
On Sun, 2012-12-16 at 14:46 +, Michael E. Maher wrote: > Hi Pei, > > The '--enable-kernel' parameter specifies the minimum version of the > Linux kernel required to run the resulting glibc. And to elaborate - the minimum kernel version you need to support isn't the one you're installing, it's

Re: [lfs-support] glibc compilation error -- make[1]: *** [csu/subdir_lib] Error 2

2012-12-16 Thread Bruce Dubbs
JIA Pei wrote: > */bin/sh -> /bin/dash* This *will* create problems when building glibc. It needs to be bash. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page

Re: [lfs-support] glibc compilation error -- make[1]: *** [csu/subdir_lib] Error 2

2012-12-16 Thread Michael E. Maher
On Sun, 2012-12-16 at 13:19 -0800, JIA Pei wrote: > > Hi, Michael: > > > Thank you very much for your detailed reply, so clear !! > My Host System Requirements gives me the following result: > ... > > root@peijia-GA-870A-UD3:/mnt/lfs/sources/glibc-build# bash > version-check.sh > bash, versio

Re: [lfs-support] glibc compilation error -- make[1]: *** [csu/subdir_lib] Error 2

2012-12-16 Thread JIA Pei
Hi, Michael: Thank you very much for your detailed reply, so clear !! My* **Host System Requirements* gives me the following result: *root@peijia-GA-870A-UD3:/mnt/lfs/sources/glibc-build# cat > version-check.sh << "EOF"* *> #!/bin/bash* *> # Simple script to list version numbers of critical deve

Re: [lfs-support] Binutils patch, why?

2012-12-16 Thread Chris Staub
On 12/16/2012 06:55 AM, JIA Pei wrote: > > Hi, all: > > 1) From > http://www.linuxfromscratch.org/lfs/view/stable/chapter05/binutils-pass1.html > , binutils pass 1 requires a patch, why? > What is this patch for? > > *patch -Np1 -i ../binutils-2.22-build_fix-1.patch* > It tells you in the book. Try

Re: [lfs-support] Binutils patch, why?

2012-12-16 Thread Randy McMurchy
JIA Pei wrote these words on 12/16/12 05:55 CST: > Hi, all: > > 1) From > http://www.linuxfromscratch.org/lfs/view/stable/chapter05/binutils-pass1.html, > binutils pass 1 requires a patch, why? > > 2) Since I'm trying to use the most recent package, say binutils-2.23.1, > instead of binutils-2.22

Re: [lfs-support] glibc compilation error -- make[1]: *** [csu/subdir_lib] Error 2

2012-12-16 Thread Michael E. Maher
On Sun, 2012-12-16 at 04:47 -0800, JIA Pei wrote: > > Hi, all: > > > After successfully built > binutils > gcc > linux-kernel > > > now, I'm > following http://www.linuxfromscratch.org/lfs/view/stable/chapter05/glibc.html > to build glibc. make brings me the following errors: > > > make[2]:

Re: [lfs-support] glibc --enable-kernel=2.6.25? why?

2012-12-16 Thread Michael E. Maher
On Sun, 2012-12-16 at 04:30 -0800, JIA Pei wrote: > > > Hi, all: > > > > > Refer > to http://www.linuxfromscratch.org/lfs/view/stable/chapter05/glibc.html > > > glibc-2.16.0 configuration, the version of enabled kernel > > > --enable-kernel=2.6.25 \ > > >

Re: [lfs-support] Binutils patch, why?

2012-12-16 Thread Michael E. Maher
On Sun, 2012-12-16 at 03:55 -0800, JIA Pei wrote: > > > Hi, all: > > > 1) From > http://www.linuxfromscratch.org/lfs/view/stable/chapter05/binutils-pass1.html > , binutils pass 1 requires a patch, why? > > What is this patch for? > > > patch -Np1 -i ../binutils-2.22-build_fix-1.patch > >

[lfs-support] glibc compilation error -- make[1]: *** [csu/subdir_lib] Error 2

2012-12-16 Thread JIA Pei
Hi, all: After successfully built binutils gcc linux-kernel now, I'm following http://www.linuxfromscratch.org/lfs/view/stable/chapter05/glibc.html to build glibc. *make *brings me the following errors: *make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.16.0/csu'* *make[1]: *** [csu/subdir_li

[lfs-support] glibc --enable-kernel=2.6.25? why?

2012-12-16 Thread JIA Pei
Hi, all: Refer to http://www.linuxfromscratch.org/lfs/view/stable/chapter05/glibc.html glibc-2.16.0 configuration, the version of enabled kernel *--enable-kernel=2.6.25 \* Does this refer to the installed kernel? Should 2.6.25 be the same as the Linux kernel vers

[lfs-support] Binutils patch, why?

2012-12-16 Thread JIA Pei
Hi, all: 1) From http://www.linuxfromscratch.org/lfs/view/stable/chapter05/binutils-pass1.html, binutils pass 1 requires a patch, why? What is this patch for? *patch -Np1 -i ../binutils-2.22-build_fix-1.patch* 2) Since I'm trying to use the most recent package, say binutils-2.23.1, instead of b