Firefly开源社区

RK3288上13850模块如何调试

42

积分

0

威望

0

贡献

技术小白

积分
42
发表于 2017-7-13 16:14:19     
求各位大神,赐教,是不是通过运行V4L2应用代码获取视频资源,打开流媒体服务器用http://192.168.100.191:8080/?action=snapshot查看视频资源???
MJPG-Streamer视频流服务器移植中出了一个问题,希望大神们能帮我看一下

pjw@robot-zz:~/mjpg-streamer-r63$ make -j2
arm-none-linux-gnueabi-gcc -O2 -DLINUX -D_GNU_SOURCE -Wall   -c -o mjpg_streamer.o mjpg_streamer.c
arm-none-linux-gnueabi-gcc -O2 -DLINUX -D_GNU_SOURCE -Wall   -c -o utils.o utils.c
make -C plugins/input_uvc all
make[1]: Entering directory `/home/pjw/mjpg-streamer-r63/plugins/input_uvc'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
arm-none-linux-gnueabi-gcc -c -I/home/pjw/share/jpeg/include -o v4l2uvc.lo v4l2uvc.c
In file included from v4l2uvc.h:36:0,
                 from v4l2uvc.c:27:
uvcvideo.h:38:0: warning: "V4L2_CID_BACKLIGHT_COMPENSATION" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1017:0: note: this is the location of the previous definition
uvcvideo.h:39:0: warning: "V4L2_CID_POWER_LINE_FREQUENCY" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1008:0: note: this is the location of the previous definition
uvcvideo.h:40:0: warning: "V4L2_CID_SHARPNESS" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1016:0: note: this is the location of the previous definition
uvcvideo.h:41:0: warning: "V4L2_CID_HUE_AUTO" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1014:0: note: this is the location of the previous definition
uvcvideo.h:43:0: warning: "V4L2_CID_FOCUS_AUTO" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1280:0: note: this is the location of the previous definition
uvcvideo.h:44:0: warning: "V4L2_CID_FOCUS_ABSOLUTE" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1278:0: note: this is the location of the previous definition
uvcvideo.h:45:0: warning: "V4L2_CID_FOCUS_RELATIVE" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1279:0: note: this is the location of the previous definition
uvcvideo.h:47:0: warning: "V4L2_CID_PAN_RELATIVE" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1270:0: note: this is the location of the previous definition
uvcvideo.h:48:0: warning: "V4L2_CID_TILT_RELATIVE" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1271:0: note: this is the location of the previous definition
uvcvideo.h:51:0: warning: "V4L2_CID_EXPOSURE_AUTO" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1260:0: note: this is the location of the previous definition
uvcvideo.h:52:0: warning: "V4L2_CID_EXPOSURE_ABSOLUTE" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1267:0: note: this is the location of the previous definition
uvcvideo.h:53:0: warning: "V4L2_CID_EXPOSURE_AUTO_PRIORITY" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1268:0: note: this is the location of the previous definition
uvcvideo.h:56:0: warning: "V4L2_CID_WHITE_BALANCE_TEMPERATURE" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1015:0: note: this is the location of the previous definition
arm-none-linux-gnueabi-gcc -c -I/home/pjw/share/jpeg/include -o jpeg_utils.lo jpeg_utils.c
In file included from v4l2uvc.h:36:0,
                 from jpeg_utils.c:30:
uvcvideo.h:38:0: warning: "V4L2_CID_BACKLIGHT_COMPENSATION" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1017:0: note: this is the location of the previous definition
uvcvideo.h:39:0: warning: "V4L2_CID_POWER_LINE_FREQUENCY" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1008:0: note: this is the location of the previous definition
uvcvideo.h:40:0: warning: "V4L2_CID_SHARPNESS" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1016:0: note: this is the location of the previous definition
uvcvideo.h:41:0: warning: "V4L2_CID_HUE_AUTO" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1014:0: note: this is the location of the previous definition
uvcvideo.h:43:0: warning: "V4L2_CID_FOCUS_AUTO" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1280:0: note: this is the location of the previous definition
uvcvideo.h:44:0: warning: "V4L2_CID_FOCUS_ABSOLUTE" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1278:0: note: this is the location of the previous definition
uvcvideo.h:45:0: warning: "V4L2_CID_FOCUS_RELATIVE" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1279:0: note: this is the location of the previous definition
uvcvideo.h:47:0: warning: "V4L2_CID_PAN_RELATIVE" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1270:0: note: this is the location of the previous definition
uvcvideo.h:48:0: warning: "V4L2_CID_TILT_RELATIVE" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1271:0: note: this is the location of the previous definition
uvcvideo.h:51:0: warning: "V4L2_CID_EXPOSURE_AUTO" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1260:0: note: this is the location of the previous definition
uvcvideo.h:52:0: warning: "V4L2_CID_EXPOSURE_ABSOLUTE" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1267:0: note: this is the location of the previous definition
uvcvideo.h:53:0: warning: "V4L2_CID_EXPOSURE_AUTO_PRIORITY" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1268:0: note: this is the location of the previous definition
uvcvideo.h:56:0: warning: "V4L2_CID_WHITE_BALANCE_TEMPERATURE" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1015:0: note: this is the location of the previous definition
arm-none-linux-gnueabi-gcc -c -I/home/pjw/share/jpeg/include -o dynctrl.lo dynctrl.c
In file included from dynctrl.c:35:0:
uvcvideo.h:38:0: warning: "V4L2_CID_BACKLIGHT_COMPENSATION" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1017:0: note: this is the location of the previous definition
uvcvideo.h:39:0: warning: "V4L2_CID_POWER_LINE_FREQUENCY" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1008:0: note: this is the location of the previous definition
uvcvideo.h:40:0: warning: "V4L2_CID_SHARPNESS" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1016:0: note: this is the location of the previous definition
uvcvideo.h:41:0: warning: "V4L2_CID_HUE_AUTO" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1014:0: note: this is the location of the previous definition
uvcvideo.h:43:0: warning: "V4L2_CID_FOCUS_AUTO" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1280:0: note: this is the location of the previous definition
uvcvideo.h:44:0: warning: "V4L2_CID_FOCUS_ABSOLUTE" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1278:0: note: this is the location of the previous definition
uvcvideo.h:45:0: warning: "V4L2_CID_FOCUS_RELATIVE" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1279:0: note: this is the location of the previous definition
uvcvideo.h:47:0: warning: "V4L2_CID_PAN_RELATIVE" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1270:0: note: this is the location of the previous definition
uvcvideo.h:48:0: warning: "V4L2_CID_TILT_RELATIVE" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1271:0: note: this is the location of the previous definition
uvcvideo.h:51:0: warning: "V4L2_CID_EXPOSURE_AUTO" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1260:0: note: this is the location of the previous definition
uvcvideo.h:52:0: warning: "V4L2_CID_EXPOSURE_ABSOLUTE" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1267:0: note: this is the location of the previous definition
uvcvideo.h:53:0: warning: "V4L2_CID_EXPOSURE_AUTO_PRIORITY" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1268:0: note: this is the location of the previous definition
uvcvideo.h:56:0: warning: "V4L2_CID_WHITE_BALANCE_TEMPERATURE" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1015:0: note: this is the location of the previous definition
arm-none-linux-gnueabi-gcc -I/home/pjw/share/jpeg/include -ljpeg -L/home/pjw/share/jpeg/lib -o input_uvc.so input_uvc.c v4l2uvc.lo jpeg_utils.lo dynctrl.lo
make -C plugins/output_file all
make[1]: Entering directory `/home/pjw/mjpg-streamer-r63/plugins/output_file'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
arm-none-linux-gnueabi-gcc -O2 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC -o output_file.so output_file.c
In file included from v4l2uvc.h:36:0,
                 from input_uvc.c:44:
uvcvideo.h:38:0: warning: "V4L2_CID_BACKLIGHT_COMPENSATION" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1017:0: note: this is the location of the previous definition
uvcvideo.h:39:0: warning: "V4L2_CID_POWER_LINE_FREQUENCY" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1008:0: note: this is the location of the previous definition
uvcvideo.h:40:0: warning: "V4L2_CID_SHARPNESS" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1016:0: note: this is the location of the previous definition
uvcvideo.h:41:0: warning: "V4L2_CID_HUE_AUTO" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1014:0: note: this is the location of the previous definition
uvcvideo.h:43:0: warning: "V4L2_CID_FOCUS_AUTO" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1280:0: note: this is the location of the previous definition
uvcvideo.h:44:0: warning: "V4L2_CID_FOCUS_ABSOLUTE" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1278:0: note: this is the location of the previous definition
uvcvideo.h:45:0: warning: "V4L2_CID_FOCUS_RELATIVE" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1279:0: note: this is the location of the previous definition
uvcvideo.h:47:0: warning: "V4L2_CID_PAN_RELATIVE" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1270:0: note: this is the location of the previous definition
uvcvideo.h:48:0: warning: "V4L2_CID_TILT_RELATIVE" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1271:0: note: this is the location of the previous definition
uvcvideo.h:51:0: warning: "V4L2_CID_EXPOSURE_AUTO" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1260:0: note: this is the location of the previous definition
uvcvideo.h:52:0: warning: "V4L2_CID_EXPOSURE_ABSOLUTE" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1267:0: note: this is the location of the previous definition
uvcvideo.h:53:0: warning: "V4L2_CID_EXPOSURE_AUTO_PRIORITY" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1268:0: note: this is the location of the previous definition
uvcvideo.h:56:0: warning: "V4L2_CID_WHITE_BALANCE_TEMPERATURE" redefined
/home/pjw/toolchain-4.5.1-farsight/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/linux/videodev2.h:1015:0: note: this is the location of the previous definition
/home/pjw/share/jpeg/lib/libjpeg.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[1]: *** [input_uvc.so] Error 1
make[1]: Leaving directory `/home/pjw/mjpg-streamer-r63/plugins/input_uvc'
make: *** [input_uvc.so] Error 2
make: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/pjw/mjpg-streamer-r63/plugins/output_file'
cp plugins/output_file/output_file.so .
回复

使用道具 举报

42

积分

0

威望

0

贡献

技术小白

积分
42
发表于 2017-7-13 16:27:22     
http://blog.sina.com.cn/s/blog_9776e82c0101dypt.html附上调试文档,求各位大神赐教
回复

使用道具 举报

*滑块验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表