Start a new topic

unable to build driver from git

make

make -C /lib/modules/2.6.32-358.6.2.el6.x86_64/build M=/root/solo6x10-master modules

make[1]: Entering directory `/usr/src/kernels/2.6.32-358.6.2.el6.x86_64'

CC [M] /root/solo6x10-master/solo6x10-core.o

/root/solo6x10-master/solo6x10-core.c: In function ‘solo_sysfs_init’:

/root/solo6x10-master/solo6x10-core.c:484: warning: passing argument 2 of ‘device_create_file’ discards qualifiers from pointer target type

include/linux/device.h:321: note: expected ‘struct device_attribute *’ but argument is of type ‘const struct device_attribute *’

/root/solo6x10-master/solo6x10-core.c:493: warning: assignment from incompatible pointer type

CC [M] /root/solo6x10-master/solo6x10-i2c.o

CC [M] /root/solo6x10-master/solo6x10-p2m.o

CC [M] /root/solo6x10-master/solo6x10-v4l2.o

/root/solo6x10-master/solo6x10-v4l2.c: In function ‘solo_v4l2_open’:

/root/solo6x10-master/solo6x10-v4l2.c:455: error: too few arguments to function ‘videobuf_queue_dma_contig_init’

make[2]: *** [/root/solo6x10-master/solo6x10-v4l2.o] Error 1

make[1]: *** [_module_/root/solo6x10-master] Error 2

make[1]: Leaving directory `/usr/src/kernels/2.6.32-358.6.2.el6.x86_64'

make: *** [modules] Error 2

Login or Signup to post a comment