LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   seeking information regarding glibc for lfs7.1 install (http://www.linuxquestions.org/questions/linux-from-scratch-13/seeking-information-regarding-glibc-for-lfs7-1-install-938707/)

ankit0301 04-08-2012 02:05 AM

seeking information regarding glibc for lfs7.1 install
 
After running bash version-check.sh script the following is the output

ankit@ankit:~$ bash version-check.sh
bash, version 4.1.5(1)-release
/bin/sh -> /bin/dash
Binutils: (GNU Binutils for Debian) 2.20.1-system.20100303
bison (GNU Bison) 2.4.1
/usr/bin/yacc -> /usr/bin/bison.yacc
bzip2, Version 1.0.5, 10-Dec-2007.
Coreutils: 8.5
diff (GNU diffutils) 3.0
find (GNU findutils) 4.4.2
GNU Awk 3.1.7
/usr/bin/awk -> /usr/bin/gawk
gcc (Debian 4.4.5-8) 4.4.5
(Debian EGLIBC 2.11.3-2) 2.11.3
GNU grep 2.6.3
gzip 1.3.12
Linux version 2.6.32-5-686 (Debian 2.6.32-30) (ben@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Wed Jan 12 04:01:41 UTC 2011
m4 (GNU M4) 1.4.14
GNU Make 3.81
patch 2.6
Perl version='5.10.1';
GNU sed version 4.2.1
tar (GNU tar) 1.23
Texinfo: makeinfo (GNU texinfo) 4.13
xz (XZ Utils) 5.0.0
gcc compilation OK
ankit@ankit:~$

Previuosly i was trying to install with ubuntu bt i was getting error in installation og glibc in chapter 5 the error was as follows:

In file included from ../sysdeps/unix/sysv/linux/syslog.c:10:0:
../misc/syslog.c: In function '__vsyslog_chk':
../misc/syslog.c:144:9: warning: variable 'prioff' set but not used [-Wunused-but-set-variable]
../misc/syslog.c:123:1: sorry, unimplemented: inlining failed in call to 'syslog': function body not available
../misc/syslog.c:155:9: sorry, unimplemented: called from here
make[2]: *** [/mnt/lfs/sources/glibc-build/misc/syslog.o] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.14.1/misc'
make[1]: *** [misc/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.14.1'
make: *** [all] Error 2
lfs@ankit-Inspiron-1012:/mnt/lfs/sources/glibc-build$

Now after having istalled debian i would like to know is there going to be any similar kind of error i'm worried about the following part
Quote:

gcc (Debian 4.4.5-8) 4.4.5
(Debian EGLIBC 2.11.3-2) 2.11.3
is there going to be any error corresponding to eglibc.

Thank YOU

spiky0011 04-08-2012 03:38 AM

Hi

This bit here must be corrected
/bin/sh -> /bin/dash
should be /bin/sh -> /bin/bash

druuna 04-08-2012 04:27 AM

Hi ankit0301,

Quote:

Originally Posted by ankit0301
is there going to be any error corresponding to eglibc.

To make sure I've just build LFS 7.1 up to and including glibc (chapter 5.7) using a compliant Debian 6.0.4 as host: No problems/errors whatsoever.

Do make sure you fix the dash / bash issue as mentioned by spiky0011.

Hope this helps.

ankit0301 04-08-2012 04:37 AM

Thank You I'll make sure the changes and proceed with the build.


All times are GMT -5. The time now is 04:26 AM.