Hello,
While building for latest raspberry pi kernel, I got the following error:
pi@pi2 ~/libfreekinect/librekinect-master $ make
make -C /lib/modules/4.1.8+/build M=/home/pi/libfreekinect/librekinect-master modules
make[1]: Entering directory '/usr/src/linux'
CC [M] /home/pi/libfreekinect/librekinect-master/gspca.o
/home/pi/libfreekinect/librekinect-master/gspca.c: In function ‘gspca_dev_probe2’:
/home/pi/libfreekinect/librekinect-master/gspca.c:2070:2: error: ‘V4L2_FL_USE_FH_PRIO’ undeclared (first use in this function)
/home/pi/libfreekinect/librekinect-master/gspca.c:2070:2: note: each undeclared identifier is reported only once for each function it appears in
scripts/Makefile.build:264: recipe for target '/home/pi/libfreekinect/librekinect-master/gspca.o' failed
make[2]: *** [/home/pi/libfreekinect/librekinect-master/gspca.o] Error 1
Makefile:1384: recipe for target '_module_/home/pi/libfreekinect/librekinect-master' failed
make[1]: *** [_module_/home/pi/libfreekinect/librekinect-master] Error 2
make[1]: Leaving directory '/usr/src/linux'
Makefile:24: recipe for target 'default' failed
make: *** [default] Error 2
If I comment out the offending line in gscpa.c it builds and inserts, but not sure yet it will work...
Hello,
While building for latest raspberry pi kernel, I got the following error:
If I comment out the offending line in gscpa.c it builds and inserts, but not sure yet it will work...