LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 07-03-2003, 08:04 AM   #1
saurav_gohain
Member
 
Registered: Jun 2003
Posts: 45

Rep: Reputation: 15
Lightbulb error installing GCC +please help


hi,
i am trying to built a lfs system using mandrake 9.1 as base os.
while installing gcc, the following error occurs:


Hunk #1 FAILED at 4268.

Hunk #2 FAILED at 4343.

Hunk #3 FAILED at 4585.

3 out of 3 hunks FAILED -- saving rejects to file /mnt/mylinux/static/source/gcc-3.2.patch.rej

can't find file to patch at input line 74

Perhaps you used the wrong -p or --strip option


Can anybody help me, let me know what's wrong. I typed the same command sentence as written in the book. Plus before generating the error, it ask which file to patch. and when i write as

/mnt/lfs/static/source/... .patch , it produces the above error.



regards and anticipating reply from ur end.

saurav
 
Old 07-03-2003, 08:36 AM   #2
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
I'm sorry I might be confused. What version of LFS are you installing? Looking at the 4.1 instruction book ( http://lfs.learnbyexample.com/view/4...ter06/gcc.html ) I don't see anywhere in the GCC install where they tell you to apply a patch... ??
 
Old 07-03-2003, 09:21 AM   #3
saurav_gohain
Member
 
Registered: Jun 2003
Posts: 45

Original Poster
Rep: Reputation: 15
i am using 4.0 on mandrake 9.1
 
Old 07-03-2003, 09:31 AM   #4
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
when you execute the patch command what directory are you in?
 
Old 07-05-2003, 03:46 AM   #5
saurav_gohain
Member
 
Registered: Jun 2003
Posts: 45

Original Poster
Rep: Reputation: 15
cleared and clarified. thanks jpbarto et all
 
Old 07-07-2003, 11:30 AM   #6
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
what was the problem?
 
  


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
in gcc compiler error: parse error before string constsnt cynthia_thomas Linux - Networking 1 10-20-2005 01:29 AM
GCC error when installing GAIM BoardinBum Linux - Newbie 2 08-20-2004 01:48 PM
Installing software from source GCC "error"? Paulsuk Linux - Newbie 4 02-27-2004 11:53 AM
gcc error when installing usb wireless for redhat 9 bernard_lee Linux - Wireless Networking 3 02-18-2004 09:11 AM
Installing GCC 3.1 over GCC 2.96...? aaronluke Linux - General 3 09-27-2002 05:28 AM


All times are GMT -5. The time now is 06:49 PM.

Main Menu
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