LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-22-2005, 09:34 AM   #1
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Rep: Reputation: 30
Where can I get kernel-header 2.4.29?


Need it urgently to build the driver for my wlan driver for Netgear MA111 for xbox.
 
Old 03-22-2005, 10:01 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Just get linux-2.4.29 from kernel.org

Just get linux-2.4.29 from www.kernel.org
Extract it and run make include. More information at Linuxfromscratch
 
Old 03-22-2005, 10:22 AM   #3
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Re: Just get linux-2.4.29 from kernel.org

Quote:
Originally posted by contusion

Just get linux-2.4.29 from www.kernel.org
Extract it and run make include. More information at Linuxfromscratch
hmm.... got a message saying "make: Nothing to be done for 'include'"?

Last edited by DavidPhillips; 03-22-2005 at 02:43 PM.
 
Old 03-22-2005, 11:30 AM   #4
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319

make mrproper
make include/linux/version.h
make symlinks

More info is here
 
Old 03-22-2005, 11:46 AM   #5
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by contusion

make mrproper
make include/linux/version.h
make symlinks

More info is here
Hi I followed the link.

mkdir /tools
mkdir /tools/include
mkdir /tools/include/asm
cp include/asm/* /tools/include/asm
cp -R include/asm-generic /tools/include
cp -R include/linux /tools/include
touch /tools/include/linux/autoconf.h
make include

Got back the same error message. Are there anything I have missed out?

Last edited by DavidPhillips; 03-22-2005 at 02:43 PM.
 
Old 03-22-2005, 11:59 AM   #6
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319

I am sorry. You don't have to do make include. I wrote make include out of my old memmory. Sorry please. But I didn't understand why you need kernel header for x-box wlan driver building
 
Old 03-22-2005, 12:24 PM   #7
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by contusion

I am sorry. You don't have to do make include. I wrote make include out of my old memmory. Sorry please. But I didn't understand why you need kernel header for x-box wlan driver building
Ok have a look at these. I followed your method.

Quote:
scripts/mkdep -- `find /usr/src/linux-2.4.29/include/asm /usr/src/linux-2.4.29/include/linux /usr/src/linux-2.4.29/include/scsi /usr/src/linux-2.4.29/include/net /usr/src/linux-2.4.29/include/math-emu \( -name SCCS -o -name .svn \) -prune -o -follow -name \*.h ! -name modversions.h -print` > .hdepend
scripts/mkdep -- init/*.c > .depend
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c
make[3]: *** No rule to make target `include/linux/autoconf.h', needed by `include/config/MARKER'. Stop.
make[3]: Leaving directory `/usr/src/linux-2.4.29'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/home/live/linux-wlan-ng-0.2.1-pre26/src/p80211'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/live/linux-wlan-ng-0.2.1-pre26/src'
make: *** [all] Error 2
xebian:/home/live/linux-wlan-ng-0.2.1-pre26#
If I don't follow your method, I will encounter these.

Quote:
Linux source directory [/usr/src/linux-2.4.29]:
Linux source tree /usr/src/linux-2.4.29 is incomplete or missing!
The kernel header files are present, but not the full source code.
See the HOWTO for a list of FTP sites for current kernel sources.

Configuration failed

make: *** [config] Error 1
xebian:/home/live/linux-wlan-ng-0.2.1-pre26#
Any idea?

Last edited by DavidPhillips; 03-22-2005 at 02:41 PM.
 
Old 03-22-2005, 12:33 PM   #8
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319

Extract linux-2.4.29 in /usr/src
cd to it.
make mrproper
make include/linux/version.h
make symlinks
touch include/linux/autoconf.h

Now trying compiling wlan driver
 
Old 03-22-2005, 12:43 PM   #9
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by contusion

Extract linux-2.4.29 in /usr/src
cd to it.
make mrproper
make include/linux/version.h
make symlinks
touch include/linux/autoconf.h

Now trying compiling wlan driver
I guess its the same error.

Quote:
scripts/mkdep -- `find /usr/src/linux-2.4.29/include/asm /usr/src/linux-2.4.29/include/linux /usr/src/linux-2.4.29/include/scsi /usr/src/linux-2.4.29/include/net /usr/src/linux-2.4.29/include/math-emu \( -name SCCS -o -name .svn \) -prune -o -follow -name \*.h ! -name modversions.h -print` > .hdepend
/usr/src/linux-2.4.29/include/linux/autoconf.h is empty
scripts/mkdep -- init/*.c > .depend
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c
scripts/split-include include/linux/autoconf.h include/config
find: *: No such file or directory
scripts/split-include: find: No such file or directory
make[3]: *** [include/config/MARKER] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.29'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/home/live/linux-wlan-ng-0.2.1-pre26/src/p80211'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/live/linux-wlan-ng-0.2.1-pre26/src'
make: *** [all] Error 2
xebian:/home/live/linux-wlan-ng-0.2.1-pre26#

Last edited by DavidPhillips; 03-22-2005 at 02:42 PM.
 
Old 03-22-2005, 02:49 PM   #10
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Confusion

The forum rules do not permit advertising. Please visit http://www.linuxquestions.org/advertising/ for more information on advertising. Feel free to contact the forum admin if you have any questions about this policy.

Ad links are against the rules of this forum.
If you continue to use these types of links or ads your privileges may be revoked. The links have been removed from this thread, thanks for helping.

Last edited by DavidPhillips; 03-22-2005 at 02:53 PM.
 
Old 03-22-2005, 08:41 PM   #11
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
bump..
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What!? Kernel header files too old? LinuxLuvr Linux From Scratch 2 06-20-2005 08:43 AM
Kernel Header Files apocolpse SUSE / openSUSE 3 11-19-2004 12:48 PM
kernel header blind958 Mandriva 1 07-14-2004 09:10 PM
What is Kernel Header? letdoit Linux - Newbie 1 05-25-2004 04:00 AM
where are the kernel header files? vance Linux - Software 5 03-05-2002 01:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:20 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
Open Source Consulting | Domain Registration