LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 08-11-2004, 10:57 PM   #1
saajii
Member
 
Registered: Sep 2003
Location: sydney
Distribution: Redhat 8.0
Posts: 36

Rep: Reputation: 15
Unhappy recompiling 2.4.18-14 in redhat 8.0


hey guys;

i recently wanted to install the pcmcia-cs core drivers latest version for which i have to disable CONFIG_PCMCIA and recompile the new kernel.However i encountered some problems in doing so:
here is what i did
[/usr/src/linux-2.4.18-14]make clean
[/usr/src/linux-2.4.18-14]make mrproper
[/usr/src/linux-2.4.18-14]cp configs/kernel-2.4.18-i386.config .config
[/usr/src/linux-2.4.18-14]make xconfig
i disabled the CONFIG_PCMCIA,previously it was loaded as module
[/usr/src/linux-2.4.18-14]make dep
make[1]: Entering directory `/usr/src/linux-2.4.18-14/arch/i386/boot'
make[1]: Nothing to be done for `dep'.
make[1]: Leaving directory `/usr/src/linux-2.4.18-14/arch/i386/boot'
/bin/sh: -c: line 1: unexpected EOF while looking for matching ``'
/bin/sh: -c: line 2: syntax error: unexpected end of file
make: *** [include/linux/version.h] Error 2

could someone tell me why is make dep failing?also there is no such file as include/linux/version.h :s.where do i get this file from?i have been working on this for hours and looking on the web for answers your help is much appreciated.
 
Old 08-12-2004, 12:17 AM   #2
saajii
Member
 
Registered: Sep 2003
Location: sydney
Distribution: Redhat 8.0
Posts: 36

Original Poster
Rep: Reputation: 15
i have a slight doubt that it has to do with the makefile.probably because i opened it in a normal
text editor,it might have truncated some text and identation.however i cant find /bin/sh being used in the makefile.still looking?any idea from
you would be helpful.

also is there anywhere i can download the makefile for kernel 2.4.18-14?
 
Old 08-12-2004, 12:34 AM   #3
WMD
Member
 
Registered: Jul 2004
Location: Florida
Distribution: Slackware, Debian
Posts: 484

Rep: Reputation: 30
Have you considerd trying a different kernel? 2.4.27 was just released, you're 9 versions behind.
 
  


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
error recompiling redhat linux 9 kernel 2.4.20-31.9 using original .config whipermr5 Linux - Software 7 12-22-2004 12:04 AM
problem recompiling Promise TX4000 driver for Redhat Enterprise Linux AS 3 skyvu Linux - Hardware 3 10-03-2004 05:21 PM
Is recompiling helpfull? ShadeX Linux - General 1 06-01-2004 05:39 PM
Recompiling RedHat 8.0 Kernel Touchstone Linux - General 14 08-09-2003 12:01 PM
recompiling redhat 8 kernel Deepu Sudhakar Linux - Newbie 11 10-11-2002 09:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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