LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 12-13-2019, 12:33 PM   #1
Lyciih
LQ Newbie
 
Registered: Dec 2019
Posts: 1

Rep: Reputation: Disabled
LFS-9.0 chapter-5.7 glbic make error


<in the terminal>


gb18030.c:2852:45: error: stray '`' in program
2852 | [0x2bbc] = 0x7c85, [0x2bbd] = 0x7c86, [0x2`be] = 0x7c87, [0x2bc0] = 0x7c88,
| ^
gb18030.c:2852:45: error: expected ']' before 'be'
2852 | [0x2bbc] = 0x7c85, [0x2bbd] = 0x7c86, [0x2`be] = 0x7c87, [0x2bc0] = 0x7c88,
| ^~~
| ]
make[2]: *** [../o-iterator.mk:9: /mnt/lfs/sources/glibc-2.30/build/iconvdata/gb18030.os] Error 1
make[2]: Leaving directory '/mnt/lfs/sources/glibc-2.30/iconvdata'
make[1]: *** [Makefile:259: iconvdata/others] Error 2
make[1]: Leaving directory '/mnt/lfs/sources/glibc-2.30'
make: *** [Makefile:9: all] Error 2
[lfs@arch build]$




--------------------------------------------------------------------
I am new to linux,when I making glbic-2.30,it said error in the end,could someone help me?

I am not good at English,thanks you!
 
Old 12-13-2019, 04:58 PM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
post the output of version check script
 
Old 11-26-2020, 05:09 AM   #3
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,588
Blog Entries: 19

Rep: Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455
Quote:
Originally Posted by Lyciih View Post
I am new to linux,when I making glbic-2.30,it said error in the end,could someone help me?

I am not good at English,thanks you!
LFS isn't designed to be used by newbies. You really do need to have a certain amount of experience to understand the instructions. I would say the minimum is:

1) Be reasonably at home with using the shell on the command line.
2) Be familiar with the directory structure of Linux and understand the commands used for managing files such as rm, cp and ln.
3) Be reasonably familiar with very basic programs like grep and sed, at least knowing what they do.
4) Understand the basic way that Linux packages are built.

Until you know at least this, you won't get the full LFS experience. Thrashing around and getting nowhere just isn't fun.
 
Old 11-26-2020, 05:56 AM   #4
hendrickxm
Member
 
Registered: Feb 2014
Posts: 344

Rep: Reputation: Disabled
You are still not that far. I suggest to start over. You probably missed something. You should read through the book a few times before starting.
 
Old 11-26-2020, 05:59 AM   #5
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,588
Blog Entries: 19

Rep: Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455
In my experience a common cause of trouble is rushing through chapter 4. All that stuff about environmental variables feels boring and people are in a hurry to get on to the actual build part. But if your environment ain't right, nothing will go right for you.
 
Old 11-26-2020, 09:38 AM   #6
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,605

Rep: Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548

(this is a year old thread)

 
Old 11-27-2020, 04:19 AM   #7
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,588
Blog Entries: 19

Rep: Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455
Oops! Why do I never check dates? I found this near the top of the LFS forum, which shows (I suppose) how dozy that forum is getting.
 
Old 11-27-2020, 07:33 AM   #8
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,605

Rep: Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548

There was an old spam post in it (reported and gone now) - I'm guessing there was also a recent spam post which caused the thread to be bumped. (Afaik, thread dates don't get reset when a post is deleted.)

 
Old 11-28-2020, 08:19 AM   #9
arch-linq
Member
 
Registered: Sep 2018
Location: Midwest, USA
Distribution: Arch,LFS,BLFS
Posts: 110

Rep: Reputation: Disabled
Get an forum op to change its title to "why noobs fail at LFS building".
For the record Hazel is totally correct and I'mm seeing an uptick in the last year of really clueless user attempts.
Very nerve wracking to assist them here and irc support.

Archetech
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LFS chapter-by-chapter complete commands with notes DrinkinHomeBrew Linux From Scratch 6 03-16-2012 01:57 AM
LFS 6.3, messed up somewhere prior to chapter 6.12 (gcc), how to restart chapter 6? Funkster Linux From Scratch 2 12-24-2008 06:30 AM
glbic Darien1629 Linux - Software 5 04-30-2006 04:31 PM
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM
LFS 6, chapter 6.11; Glibc 'make check' error Zamochit Linux From Scratch 5 05-31-2005 12:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 06:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration