树莓派论坛

 找回密码
 立即注册

树莓派安装zbar,编译出现问题

Gaffey_Lu 发表于 2015-2-4 22:59:24 | 显示全部楼层 |阅读模式
新文字文件.txt (14.35 KB, 下载次数: 49) zbar/video/v4l1.c: In function ‘v4l1_nq’:
zbar/video/v4l1.c:94:23: error: storage size of ‘vmap’ isn’t known
zbar/video/v4l1.c:99:23: error: ‘VIDIOCMCAPTURE’ undeclared (first use in this function)
zbar/video/v4l1.c:99:23: note: each undeclared identifier is reported only once for each function it appears in
zbar/video/v4l1.c:94:23: warning: unused variable ‘vmap’ [-Wunused-variable]
zbar/video/v4l1.c: In function ‘v4l1_dq’:
zbar/video/v4l1.c:116:22: error: ‘VIDIOCSYNC’ undeclared (first use in this function)
zbar/video/v4l1.c: In function ‘v4l1_mmap_buffers’:
zbar/video/v4l1.c:129:23: error: storage size of ‘vbuf’ isn’t known
zbar/video/v4l1.c:131:23: error: ‘VIDIOCGMBUF’ undeclared (first use in this function)
zbar/video/v4l1.c:129:23: warning: unused variable ‘vbuf’ [-Wunused-variable]
zbar/video/v4l1.c: In function ‘v4l1_set_format’:
zbar/video/v4l1.c:181:26: error: storage size of ‘vpic’ isn’t known
zbar/video/v4l1.c:183:23: error: ‘VIDIOCGPICT’ undeclared (first use in this function)
zbar/video/v4l1.c:189:27: error: ‘VIDEO_PALETTE_YUV410P’ undeclared (first use in this function)
zbar/video/v4l1.c:198:23: error: ‘VIDIOCSPICT’ undeclared (first use in this function)
zbar/video/v4l1.c:181:26: warning: unused variable ‘vpic’ [-Wunused-variable]
zbar/video/v4l1.c: In function ‘v4l1_probe_iomode’:
zbar/video/v4l1.c:261:23: error: storage size of ‘vbuf’ isn’t known
zbar/video/v4l1.c:263:23: error: ‘VIDIOCGMBUF’ undeclared (first use in this function)
zbar/video/v4l1.c:261:23: warning: unused variable ‘vbuf’ [-Wunused-variable]
zbar/video/v4l1.c: In function ‘v4l1_probe_formats’:
zbar/video/v4l1.c:283:26: error: storage size of ‘vpic’ isn’t known
zbar/video/v4l1.c:285:23: error: ‘VIDIOCGPICT’ undeclared (first use in this function)
zbar/video/v4l1.c:290:24: error: ‘VIDEO_PALETTE_YUV410P’ undeclared (first use in this function)
zbar/video/v4l1.c:309:27: error: ‘VIDIOCSPICT’ undeclared (first use in this function)
zbar/video/v4l1.c:283:26: warning: unused variable ‘vpic’ [-Wunused-variable]
zbar/video/v4l1.c: In function ‘v4l1_init_window’:
zbar/video/v4l1.c:332:25: error: storage size of ‘vwin’ isn’t known
zbar/video/v4l1.c:334:23: error: ‘VIDIOCGWIN’ undeclared (first use in this function)
zbar/video/v4l1.c:346:25: error: storage size of ‘maxwin’ isn’t known
zbar/video/v4l1.c:354:23: error: ‘VIDIOCSWIN’ undeclared (first use in this function)
zbar/video/v4l1.c:346:25: warning: unused variable ‘maxwin’ [-Wunused-variable]
zbar/video/v4l1.c:332:25: warning: unused variable ‘vwin’ [-Wunused-variable]
zbar/video/v4l1.c: In function ‘_zbar_v4l1_probe’:
zbar/video/v4l1.c:377:29: error: storage size of ‘vcap’ isn’t known
zbar/video/v4l1.c:379:23: error: ‘VIDIOCGCAP’ undeclared (first use in this function)
zbar/video/v4l1.c:377:29: warning: unused variable ‘vcap’ [-Wunused-variable]
make[1]: *** [zbar/video/zbar_libzbar_la-v4l1.lo] Error 1
make[1]: Leaving directory `/home/pi/zbar-0.10'
make: *** [all] Error 2
(附件为v4l1的txt档)




您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版 | Archiver | 树莓派论坛 ( 粤ICP备15075382号-1 )