Yes thank you..Now i am not getting my modules exactly. I compiled all the required modules...ie gspca_main, gspca_zc3xx, v4l1-compat. But i am not getting this "videodev" module..I dont know why...
My Makefile
obj-m += gspca_main.o
obj-m += gspca_zc3xx.o
obj-m += v4l1-compat.o
obj-m += v4l2-dev.o
obj-m += v4l2-ioctl.o
obj-m += v4l2-device.o
gspca_main-objs := gspca.o
gspca_zc3xx-objs := zc3xx.o
videodev-objs := v4l2-dev.o v4l2-ioctl.o v4l2-device.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
if i compile i am getting the the modules as
sharief@sharief-desktop:~/Desktop/video/gspca$ make
make -C /lib/modules/2.6.30/build M=/home/sharief/Desktop/video/gspca modules
make[1]: Entering directory `/home/sharief/Desktop/kernelroot/linux-2.6.30'
CC [M] /home/sharief/Desktop/video/gspca/gspca.o
CC [M] /home/sharief/Desktop/video/gspca/zc3xx.o
LD [M] /home/sharief/Desktop/video/gspca/gspca_main.o
LD [M] /home/sharief/Desktop/video/gspca/gspca_zc3xx.o
CC [M] /home/sharief/Desktop/video/gspca/v4l1-compat.o
CC [M] /home/sharief/Desktop/video/gspca/v4l2-dev.o
CC [M] /home/sharief/Desktop/video/gspca/v4l2-ioctl.o
CC [M] /home/sharief/Desktop/video/gspca/v4l2-device.o
Building modules, stage 2.
MODPOST 6 modules
CC /home/sharief/Desktop/video/gspca/gspca_main.mod.o
LD [M] /home/sharief/Desktop/video/gspca/gspca_main.ko
CC /home/sharief/Desktop/video/gspca/gspca_zc3xx.mod.o
LD [M] /home/sharief/Desktop/video/gspca/gspca_zc3xx.ko
CC /home/sharief/Desktop/video/gspca/v4l1-compat.mod.o
LD [M] /home/sharief/Desktop/video/gspca/v4l1-compat.ko
CC /home/sharief/Desktop/video/gspca/v4l2-dev.mod.o
LD [M] /home/sharief/Desktop/video/gspca/v4l2-dev.ko
CC /home/sharief/Desktop/video/gspca/v4l2-device.mod.o
LD [M] /home/sharief/Desktop/video/gspca/v4l2-device.ko
CC /home/sharief/Desktop/video/gspca/v4l2-ioctl.mod.o
LD [M] /home/sharief/Desktop/video/gspca/v4l2-ioctl.ko
I dont know why i am getting like this...?Please help me