LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   couldn't find the kernel version the module was compiled for (https://www.linuxquestions.org/questions/linux-software-2/couldnt-find-the-kernel-version-the-module-was-compiled-for-160748/)

famewolf 03-21-2004 09:52 PM

couldn't find the kernel version the module was compiled for
 
I downloaded vs 1.65 of the ov511 webcam driver from alpha.dyndns.org/ov511/download.html

It compiles fine but attempting to insmod it results in the error:

ov511.o: couldn't find the kernel version the module was compiled for

I need to compile it because the ov511 included in the kernel does not include the ov511_decomp.o and
ov518_decomp.o I need for my camera.

Ideas?

From the makefile:

INCLUDEDIR = /lib/modules/`uname -r`/build/include

CFLAGS = -D__KERNEL__ -DMODULE -DOUTSIDE_KERNEL -O2 -Wall -Wstrict-prototypes \
-fomit-frame-pointer -I$(INCLUDEDIR)


All times are GMT -5. The time now is 12:14 AM.