Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I installed the kdevel packages and i still get this error
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{l
inux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of
kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files fro
m a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended
by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may
not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should
only be"
/usr/include/linux/version.h:10:2: #error "included via other system header file
s - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include
<linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the
following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exis
ts and points to"
Okay...where do I get kernel-devel for mandrake 9.1. I couldnt find it on installation cd's.I only found kdevel package which I installed but there is still no /usr/src/linux folder. Only folder present is /usr/src/rpm/SOURCES which is empty. Here's the output for
uname -r command
Originally posted by Jatt_thugz Okay...where do I get kernel-devel for mandrake 9.1. I couldnt find it on installation cd's.I only found kdevel package which I installed but there is still no /usr/src/linux folder. Only folder present is /usr/src/rpm/SOURCES which is empty. Here's the output for
uname -r command
2.4.21-0.13mdk
if you don't have the Mandrake source CDs, then goto a site that host Mandrake packages, look for kernel-dev* packages with the EXACTLY same kernel version that u r currently running
Well, apparently I have to become mandrakeclub member (and pay about $60/yr for that) in order to download the kernel-source from their website. I queried rpmfind but I couldnt find rpm for my version(they had sources for other mandrake versions). This really sucks, I thought they gave out source code for free??
Originally posted by Jatt_thugz Well, apparently I have to become mandrakeclub member (and pay about $60/yr for that) in order to download the kernel-source from their website. I queried rpmfind but I couldnt find rpm for my version(they had sources for other mandrake versions). This really sucks, I thought they gave out source code for free??
i found a FTP location hosting the Mandrake distribution, the kernel source package (and all other RPMs are there)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.