LinuxQuestions.org
Review your favorite Linux distribution.
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 08-06-2010, 08:47 AM   #1
corbis_demon
Member
 
Registered: Jun 2004
Location: India
Distribution: Slack 13
Posts: 497

Rep: Reputation: 35
Glibc not compiling in Chapter 6.9


Hi,
I'm building from the latest SVN (Version SVN-20100803), and I encounter this error while building:

Code:
make[3]: Entering directory `/sources/glibc-2.11.2/manual'
Makefile:235: *** mixed implicit and normal rules.  Stop.
make[3]: Leaving directory `/sources/glibc-2.11.2/manual'
make[2]: *** [manual/subdir_clean] Error 2
make[2]: Leaving directory `/sources/glibc-2.11.2'
make[1]: *** [clean] Error 2
make[1]: Leaving directory `/sources/glibc-2.11.2'
make: *** [clean] Error 2
Looks like a Makefile problem, and I'm guessing the patch, http://www.linuxfromscratch.org/patc...le_fix-1.patch , was provided to correct this error, but strangely, it gets rejected. I checked both the patch and the file it's meant to edit, but couldn't find anything wrong. It'd be great if anyone could provide some pointers. Thanks.
Attached Files
File Type: txt Makefile.txt (7.7 KB, 10 views)
 
Old 08-06-2010, 08:56 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,

There is some confusion about this patch, have a look at this thread: Glibc Makefile_fix Patch Doesn't Appear to be Available for Download

The thread mentions a sed statement you could try (I use stable 6.6, haven't tried the SVN version yet).

Hope this helps.
 
1 members found this post helpful.
Old 08-06-2010, 09:14 AM   #3
corbis_demon
Member
 
Registered: Jun 2004
Location: India
Distribution: Slack 13
Posts: 497

Original Poster
Rep: Reputation: 35
Thanks druuna for that lightning quick reply. Will try the sed as suggested.
 
Old 08-06-2010, 09:33 AM   #4
corbis_demon
Member
 
Registered: Jun 2004
Location: India
Distribution: Slack 13
Posts: 497

Original Poster
Rep: Reputation: 35
Hey druuna, the sed string works like a charm! Great, thanks so much for the link.

Code:
 sed -i 's/ot \$/ot:\n\ttouch $@\n$/' manual/Makefile
 
Old 08-06-2010, 09:44 AM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
You're welcome
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Error compiling Glibc 2.11.1 (Chapter 6.9) EricTRA Linux From Scratch 4 03-27-2013 03:41 AM
LFS 6.0 Chapter 6: compiling glibc problem Sakur Linux From Scratch 3 08-14-2005 12:39 AM
Problems with "make check" while compiling Glibc in Chapter 6.11 Spuckdung Linux From Scratch 2 02-13-2005 06:12 AM
Error cross-compiling glibc, chapter 5 donbellioni Linux From Scratch 2 09-17-2004 03:12 PM
Chapter 6 glibc-2.3.1 install gabebster Linux From Scratch 14 09-24-2003 11:38 PM


All times are GMT -5. The time now is 03:18 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration