Debian :trouble creating a kernel module
Hi,
I'm trying to create a kernal module. I've come up with test code but it wont compile. I had no /usr/src/linux directroy so I downloaded the 2.4.18 kernel used make, then created a symbolic link to /usr/src/linux using the 2.4.18 kernel. When compiling it was missing version.h,stdarg.h. At the moment i'm using the 2.4.25 kernel but I still cant figure out how to compile the test module. I've looked this up but it looks like almost all kernel module documentation is for red-hat Any help on how I could do it ? |
Hi,
do you have a debian or custom kernel? On my system the custom kernel sources are located at /usr/src/linux-2.6.7. I unpacked the modules into /usr/src and they compiled without problems. I have installed the following kernel-related packages: Code:
siim@tibu:/etc/cups$ dpkg --list 'kernel*' Code:
siim@tibu:/etc/cups$ locate stdarg.h Quote:
Perhaps it helps. Ott |
Hi,
Thanks for the information. i have a debian kernel, it was the first time i was going to recompile the kernel. I'll try again ... thanks |
All times are GMT -5. The time now is 07:10 PM. |