by jokopitoyo » Fri Apr 07, 2017 9:22 am
helo
i have recompile driver, but i get error:
/home/joko/tbsdriver/media_build/v4l/videobuf2-memops.c: In function 'vb2_create_framevec':
/home/joko/tbsdriver/media_build/v4l/videobuf2-memops.c:56:8: error: too few arguments to function 'get_vaddr_frames'
ret = get_vaddr_frames(start & PAGE_MASK, nr, flags, vec);
^
In file included from include/linux/scatterlist.h:7:0,
from include/linux/dma-mapping.h:10,
from include/linux/skbuff.h:34,
from include/linux/if_ether.h:23,
from /home/joko/tbsdriver/media_build/v4l/compat.h:1636,
from <command-line>:0:
include/linux/mm.h:1249:5: note: declared here
int get_vaddr_frames(unsigned long start, unsigned int nr_pfns,
^
scripts/Makefile.build:264: recipe for target '/home/joko/tbsdriver/media_build/v4l/videobuf2-memops.o' failed
make[3]: *** [/home/joko/tbsdriver/media_build/v4l/videobuf2-memops.o] Error 1
make[3]: *** Waiting for unfinished jobs....
Makefile:1420: recipe for target '_module_/home/joko/tbsdriver/media_build/v4l' failed
make[2]: *** [_module_/home/joko/tbsdriver/media_build/v4l] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.4.0-71-generic'
Makefile:51: recipe for target 'default' failed
make[1]: *** [default] Error 2
make[1]: Leaving directory '/home/joko/tbsdriver/media_build/v4l'
Makefile:26: recipe for target 'all' failed
make: *** [all] Error 2