LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 07:47 AM   #1
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Rep: Reputation: 38
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, 27 views)
 
Old 08-06-2010, 07:56 AM   #2
anon237
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
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, 08:14 AM   #3
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Original Poster
Rep: Reputation: 38
Thanks druuna for that lightning quick reply. Will try the sed as suggested.
 
Old 08-06-2010, 08:33 AM   #4
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Original Poster
Rep: Reputation: 38
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, 08:44 AM   #5
anon237
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
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 02:41 AM
LFS 6.0 Chapter 6: compiling glibc problem Sakur Linux From Scratch 3 08-13-2005 11:39 PM
Problems with "make check" while compiling Glibc in Chapter 6.11 Spuckdung Linux From Scratch 2 02-13-2005 05:12 AM
Error cross-compiling glibc, chapter 5 donbellioni Linux From Scratch 2 09-17-2004 02:12 PM
Chapter 6 glibc-2.3.1 install gabebster Linux From Scratch 14 09-24-2003 10:38 PM

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

All times are GMT -5. The time now is 10:19 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