Oki DZ wrote: > > ... > > So basically my question is: Is it OK to softlink the include > > directories? Or does the "don't mess with anything, but > > /usr/local/"-policy aplly and is there a Right Way [TM] to change the > > development environment? What other directories have to be changed > > (/usr/include/scsi seems to be a good candidate, too.)? > > You'd need kernel-headers package with the correct version (should be the > same with the kernel's). It happened to me once. The problem is in > "version.h"; each kernel uses it's own version.h. Unfortunately, when you > download kernel-source package, the headers (include files) are not > included; so you'd need a separate download.
I tried "make-kpkg kernel_headers", but when I installed the resulting deb file it only created the directory /usr/src/kernel-headers-2.2.14 with the include files there. It didn't change anything in /usr/include. But when I do a #include <linux/version.h> it will look for /usr/include/linux/version.h and not for /usr/src/linux/include/linux/version.h. That's my problem. -- Viktor Rosenfeld E-Mail: mailto:[EMAIL PROTECTED] or: mailto:[EMAIL PROTECTED] HertzSCHLAG: http://www.informatik.hu-berlin.de/~rosenfel/hs/ -- Viktor Rosenfeld E-Mail: mailto:[EMAIL PROTECTED] or: mailto:[EMAIL PROTECTED] HertzSCHLAG: http://www.informatik.hu-berlin.de/~rosenfel/hs/