Running Suse 11.1 32bit with KDE 4.2.3
I’m trying to compile my webcam driver from source, which used to work a treat (in Suse 11).
Now, when I issue the “make” command I get the following errors:
gila@cellar:~/Downloads/ov51x-jpeg-1.5.7> make
make -C /lib/modules/2.6.27.21-0.1-pae/build M=/home/gila/Downloads/ov51x-jpeg-1.5.7 modules
make[1]: Entering directory/usr/src/linux-2.6.27.21-0.1-obj/i386/pae' make -C ../../../linux-2.6.27.21-0.1 O=/usr/src/linux-2.6.27.21-0.1-obj/i386/pae/. modules CC [M] /home/gila/Downloads/ov51x-jpeg-1.5.7/ov51x-jpeg-core.o /home/gila/Downloads/ov51x-jpeg-1.5.7/ov51x-jpeg-core.c:115:27: error: asm/semaphore.h: No such file or directory /home/gila/Downloads/ov51x-jpeg-1.5.7/ov51x-jpeg-core.c: In function ‘proc_ov511_create’: /home/gila/Downloads/ov51x-jpeg-1.5.7/ov51x-jpeg-core.c:756: error: ‘proc_root’ undeclared (first use in this function) /home/gila/Downloads/ov51x-jpeg-1.5.7/ov51x-jpeg-core.c:756: error: (Each undeclared identifier is reported only once /home/gila/Downloads/ov51x-jpeg-1.5.7/ov51x-jpeg-core.c:756: error: for each function it appears in.) /home/gila/Downloads/ov51x-jpeg-1.5.7/ov51x-jpeg-core.c: In function ‘proc_ov511_destroy’: /home/gila/Downloads/ov51x-jpeg-1.5.7/ov51x-jpeg-core.c:774: error: ‘proc_root’ undeclared (first use in this function) /home/gila/Downloads/ov51x-jpeg-1.5.7/ov51x-jpeg-core.c: In function ‘ov51x_v4l1_ioctl’: /home/gila/Downloads/ov51x-jpeg-1.5.7/ov51x-jpeg-core.c:6378: error: implicit declaration of function ‘video_usercopy’ /home/gila/Downloads/ov51x-jpeg-1.5.7/ov51x-jpeg-core.c: At top level: /home/gila/Downloads/ov51x-jpeg-1.5.7/ov51x-jpeg-core.c:6633: error: unknown field ‘owner’ specified in initializer /home/gila/Downloads/ov51x-jpeg-1.5.7/ov51x-jpeg-core.c:6633: warning: initialization from incompatible pointer type /home/gila/Downloads/ov51x-jpeg-1.5.7/ov51x-jpeg-core.c:6635: error: unknown field ‘type’ specified in initializer /home/gila/Downloads/ov51x-jpeg-1.5.7/ov51x-jpeg-core.c: In function ‘ov51x_probe’: /home/gila/Downloads/ov51x-jpeg-1.5.7/ov51x-jpeg-core.c:8364: error: incompatible types in assignment make[4]: *** [/home/gila/Downloads/ov51x-jpeg-1.5.7/ov51x-jpeg-core.o] Error 1 make[3]: *** [_module_/home/gila/Downloads/ov51x-jpeg-1.5.7] Error 2 make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory
/usr/src/linux-2.6.27.21-0.1-obj/i386/pae’
make: *** [all] Error 2
If anyone has any advice, that would be great, since I’m terrible at compiling as it is.