I am trying to check out latest kernel stable build, can someone point me to right direction? I checked kernel.org and i don't know where to go when i click on latest one, it gives me a link for latest patch; I am looking for Kernel C code ...
03-14-09, 07:09 PM
On this page (which I imagine is where you were):
Notice the links F V VI C and Changelog to the extreme right of the version no. link.
F is the full kernel source.
There is a key that explains imediately below the kernel links.
Doh! dumb of me, sorry. :D
thanks a lot!
03-14-09, 09:14 PM
No problem. Actually I found that page a little confusing myself when they reorganed it and changed the way they handled subversion patches a year or two ago. ;)
they used SVN? talk about Linus going ... oh so those people using SVN oughtta leave the conference room (reference : Linus torvalds on Git) ...
Btw, Git is hot!
Ok, I am sorry if i sound dumb, but bear with me, I am trying to compile the source and i did two steps so far:
1.) ran menu config that configures stuff. (I selected basically everything).
Make gives me two compile errors :
SYMLINK include/asm -> include/asm-x86
scripts/mod/mk_elfconfig.c:4:17: error: elf.h: No such file or directory
scripts/mod/mk_elfconfig.c: In function ‘main’:
scripts/mod/mk_elfconfig.c:9: error: ‘EI_NIDENT’ undeclared (first use in this function)
scripts/mod/mk_elfconfig.c:9: error: (Each undeclared identifier is reported only once
scripts/mod/mk_elfconfig.c:9: error: for each function it appears in.)
scripts/mod/mk_elfconfig.c:19: error: ‘ELFMAG’ undeclared (first use in this function)
scripts/mod/mk_elfconfig.c:19: error: ‘SELFMAG’ undeclared (first use in this function)
scripts/mod/mk_elfconfig.c:23: error: ‘EI_CLASS’ undeclared (first use in this function)
scripts/mod/mk_elfconfig.c:24: error: ‘ELFCLASS32’ undeclared (first use in this function)
scripts/mod/mk_elfconfig.c:27: error: ‘ELFCLASS64’ undeclared (first use in this function)
scripts/mod/mk_elfconfig.c:33: error: ‘EI_DATA’ undeclared (first use in this function)
scripts/mod/mk_elfconfig.c:34: error: ‘ELFDATA2LSB’ undeclared (first use in this function)
scripts/mod/mk_elfconfig.c:37: error: ‘ELFDATA2MSB’ undeclared (first use in this function)
scripts/mod/mk_elfconfig.c:9: warning: unused variable ‘ei’
make: *** [scripts/mod/mk_elfconfig] Error 1
make: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
03-23-09, 09:30 AM
Hmm... that's odd. It's failing because it can't find the elf headers (elf.h), only that file should be part of the kernel source. You might do:
To see if it's there. Also, you might look at lines 4 and 17 of scripts/mod/mk_elfconfig.c to see where it is expecting to find elf.h.
Are you certain you got a clean download? You might try to download it again.