Segmentation fault
Hi folks,
6.11.1. Installation of Glibc http://www.sg.linuxfromscratch.org/l...r06/glibc.html upto root:/sources/glibc-build# touch /etc/ld.so.conf root:/sources/glibc-build# make install Went through without problem Now coming to re-do root:/sources/glibc-build# mkdir -p /usr/lib/locale root:/sources/glibc-build# localedef -i de_DE -f ISO-8859-1 de_DE Segmentation fault root:/sources/glibc-build# localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro Segmentation fault What is Segmentation fault? How to get rid of them. TIA B.R. satimis |
Segmentation fault usually indicates an application is trying to access memory it doesn't have access to.
What happens if you just do the make localedata/install-locales ? |
Hi kjordan,
Tks for your advice. Quote:
# make localedata/install-locales Code:
make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.3.4-20040701 objdir=`pwd` localedata/install-locales I have been building LFS several days. My difficulty was that the FC3 Host PC has to be "on" and "off" after work each day. Yesterday I succeeded going through this last part "The locales" of 6.11. Glibc-2.3.4-20040701 http://www.sg.linuxfromscratch.org/...er06/glibc.html mkdir -p /usr/lib/locale localedef -i de_DE -f ISO-8859-1 de_DE localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro localedef -i en_HK -f ISO-8859-1 en_HK localedef -i en_PH -f ISO-8859-1 en_PH localedef -i en_US -f ISO-8859-1 en_US localedef -i es_MX -f ISO-8859-1 es_MX localedef -i fa_IR -f UTF-8 fa_IR localedef -i fr_FR -f ISO-8859-1 fr_FR localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro localedef -i it_IT -f ISO-8859-1 it_IT localedef -i ja_JP -f EUC-JP ja_JP all went through without complaint including 6.11.2. Configuring Glibc Because yesterday I forgot to "chroot" and the first part building "glibc" encountered problem, I have to redo this Section today. Now the first part of this section went through without problem. But this part "The locales" encountered problem as mentioned on this posting. I'll continue 6.12. Re-adjusting the Toolchain http://www.sg.linuxfromscratch.org/l...adjusting.html later after completing this Section One further question "how to remove those unwanted locales" later? TIA B.R. satimis |
Now that we know that will work, remove the file in /usr/lib/locale and go into glibc-2.3.4-20040701/localedata and edit the SUPPORTED file and put only the locales you need in there and run the make localedata/install-locales command again.
|
Hi kjordan,
Quote:
I'll continue building LFS 6.0 just leaving all unknown problems behind. There are some problems on LFS 6.0 providing warning of inexectitute repeatedly. After completing all steps on LFS 6.0 disregarding successfull or failure I will do another round but on LFS 6.1 instead. http://www.linuxfromscratch.org/lfs/downloads/6.1/ B.R. satimis |
All times are GMT -5. The time now is 09:11 PM. |