Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Welcome to the setup procedure for Motion, the motion detection daemon! If you get
- error messages during this procedure, please report them to the mailing list. The
- Motion Guide contains all information you should need to get Motion up and running.
- Run "make updateguide" to download the latest version of the Motion Guide.
- Version: 3.2.12
- Platform: Linux (if this is incorrect, please read README.FreeBSD)
- Generating dependencies, please wait...
- Compiling Motion object files...
- --------------------------------------------------------------------------------
- gcc -g -O2 -D_REENTRANT -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -c -o motion.o motion.c
- gcc -g -O2 -D_REENTRANT -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -c -o conf.o conf.c
- gcc -g -O2 -D_REENTRANT -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -c -o draw.o draw.c
- gcc -g -O2 -D_REENTRANT -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -c -o jpegutils.o jpegutils.c
- jpegutils.c: In function 'decode_jpeg_gray_raw':
- jpegutils.c:777:20: warning: variable 'hsf' set but not used [-Wunused-but-set-variable]
- int numfields, hsf[3], field, yl, yc, xsl, xsc, xs, xd, hdown;
- ^
- gcc -g -O2 -D_REENTRANT -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -c -o video.o video.c
- video.c: In function 'v4l_picture_controls':
- video.c:26:26: error: storage size of 'vid_pic' isn't known
- struct video_picture vid_pic;
- ^
- video.c:31:24: error: 'VIDIOCGPICT' undeclared (first use in this function)
- if (ioctl(dev, VIDIOCGPICT, &vid_pic) == -1)
- ^
- video.c:31:24: note: each undeclared identifier is reported only once for each function it appears in
- video.c:121:24: error: 'VIDIOCSPICT' undeclared (first use in this function)
- if (ioctl(dev, VIDIOCSPICT, &vid_pic) == -1)
- ^
- video.c:26:26: warning: unused variable 'vid_pic' [-Wunused-variable]
- struct video_picture vid_pic;
- ^
- video.c: In function 'v4l_start':
- video.c:137:29: error: storage size of 'vid_caps' isn't known
- struct video_capability vid_caps;
- ^
- video.c:138:26: error: storage size of 'vid_chnl' isn't known
- struct video_channel vid_chnl;
- ^
- video.c:139:24: error: storage size of 'vid_tuner' isn't known
- struct video_tuner vid_tuner;
- ^
- video.c:140:23: error: storage size of 'vid_buf' isn't known
- struct video_mbuf vid_buf;
- ^
- video.c:141:23: error: storage size of 'vid_mmap' isn't known
- struct video_mmap vid_mmap;
- ^
- video.c:144:21: error: 'VIDIOCGCAP' undeclared (first use in this function)
- if (ioctl (dev, VIDIOCGCAP, &vid_caps) == -1) {
- ^
- video.c:149:25: error: 'VID_TYPE_MONOCHROME' undeclared (first use in this function)
- if (vid_caps.type & VID_TYPE_MONOCHROME)
- ^
- video.c:153:37: error: invalid application of 'sizeof' to incomplete type 'struct video_channel'
- memset(&vid_chnl, 0, sizeof(struct video_channel));
- ^
- video.c:156:25: error: 'VIDIOCGCHAN' undeclared (first use in this function)
- if (ioctl (dev, VIDIOCGCHAN, &vid_chnl) == -1) {
- ^
- video.c:161:29: error: 'VIDIOCSCHAN' undeclared (first use in this function)
- if (ioctl (dev, VIDIOCSCHAN, &vid_chnl) == -1) {
- ^
- video.c:169:38: error: invalid application of 'sizeof' to incomplete type 'struct video_tuner'
- memset(&vid_tuner, 0, sizeof(struct video_tuner));
- ^
- video.c:171:25: error: 'VIDIOCGTUNER' undeclared (first use in this function)
- if (ioctl (dev, VIDIOCGTUNER, &vid_tuner) == -1) {
- ^
- video.c:174:35: error: 'VIDEO_TUNER_LOW' undeclared (first use in this function)
- if (vid_tuner.flags & VIDEO_TUNER_LOW) {
- ^
- video.c:180:28: error: 'VIDIOCSFREQ' undeclared (first use in this function)
- if (ioctl(dev, VIDIOCSFREQ, &freq) == -1) {
- ^
- video.c:190:21: error: 'VIDIOCGMBUF' undeclared (first use in this function)
- if (ioctl (dev, VIDIOCGMBUF, &vid_buf) == -1) {
- ^
- video.c:218:24: error: 'VIDIOCMCAPTURE' undeclared (first use in this function)
- if (ioctl(dev, VIDIOCMCAPTURE, &vid_mmap) == -1) {
- ^
- video.c:141:23: warning: unused variable 'vid_mmap' [-Wunused-variable]
- struct video_mmap vid_mmap;
- ^
- video.c:140:23: warning: unused variable 'vid_buf' [-Wunused-variable]
- struct video_mbuf vid_buf;
- ^
- video.c:139:24: warning: unused variable 'vid_tuner' [-Wunused-variable]
- struct video_tuner vid_tuner;
- ^
- video.c:138:26: warning: unused variable 'vid_chnl' [-Wunused-variable]
- struct video_channel vid_chnl;
- ^
- video.c:137:29: warning: unused variable 'vid_caps' [-Wunused-variable]
- struct video_capability vid_caps;
- ^
- video.c: In function 'v4l_next':
- video.c:299:23: error: storage size of 'vid_mmap' isn't known
- struct video_mmap vid_mmap;
- ^
- video.c:326:20: error: 'VIDIOCMCAPTURE' undeclared (first use in this function)
- if (ioctl(dev, VIDIOCMCAPTURE, &vid_mmap) == -1) {
- ^
- video.c:334:20: error: 'VIDIOCSYNC' undeclared (first use in this function)
- if (ioctl(dev, VIDIOCSYNC, &vid_mmap.frame) == -1) {
- ^
- video.c:299:23: warning: unused variable 'vid_mmap' [-Wunused-variable]
- struct video_mmap vid_mmap;
- ^
- video.c: In function 'v4l_set_input':
- video.c:361:26: error: storage size of 'vid_chnl' isn't known
- struct video_channel vid_chnl;
- ^
- video.c:362:24: error: storage size of 'vid_tuner' isn't known
- struct video_tuner vid_tuner;
- ^
- video.c:369:42: error: invalid application of 'sizeof' to incomplete type 'struct video_tuner'
- memset(&vid_tuner, 0, sizeof(struct video_tuner));
- ^
- video.c:372:29: error: 'VIDIOCGTUNER' undeclared (first use in this function)
- if (ioctl (dev, VIDIOCGTUNER, &vid_tuner) == -1) {
- ^
- video.c:375:39: error: 'VIDEO_TUNER_LOW' undeclared (first use in this function)
- if (vid_tuner.flags & VIDEO_TUNER_LOW)
- ^
- video.c:381:32: error: 'VIDIOCSFREQ' undeclared (first use in this function)
- if (ioctl(dev, VIDIOCSFREQ, &frequnits) == -1) {
- ^
- video.c:388:37: error: invalid application of 'sizeof' to incomplete type 'struct video_channel'
- memset(&vid_chnl, 0, sizeof(struct video_channel));
- ^
- video.c:391:25: error: 'VIDIOCGCHAN' undeclared (first use in this function)
- if (ioctl (dev, VIDIOCGCHAN, &vid_chnl) == -1) {
- ^
- video.c:396:29: error: 'VIDIOCSCHAN' undeclared (first use in this function)
- if (ioctl (dev, VIDIOCSCHAN, &vid_chnl) == -1) {
- ^
- video.c:362:24: warning: unused variable 'vid_tuner' [-Wunused-variable]
- struct video_tuner vid_tuner;
- ^
- video.c:361:26: warning: unused variable 'vid_chnl' [-Wunused-variable]
- struct video_channel vid_chnl;
- ^
- video.c: In function 'v4l_open_vidpipe':
- video.c:445:15: warning: variable 'ostatus' set but not used [-Wunused-but-set-variable]
- char *ostatus;
- ^
- video.c:441:15: warning: variable 'loop' set but not used [-Wunused-but-set-variable]
- char *loop;
- ^
- video.c: In function 'v4l_startpipe':
- video.c:567:26: error: storage size of 'vid_pic' isn't known
- struct video_picture vid_pic;
- ^
- video.c:568:25: error: storage size of 'vid_win' isn't known
- struct video_window vid_win;
- ^
- video.c:578:20: error: 'VIDIOCGPICT' undeclared (first use in this function)
- if (ioctl(dev, VIDIOCGPICT, &vid_pic) == -1) {
- ^
- video.c:585:20: error: 'VIDIOCSPICT' undeclared (first use in this function)
- if (ioctl(dev, VIDIOCSPICT, &vid_pic) == -1) {
- ^
- video.c:590:20: error: 'VIDIOCGWIN' undeclared (first use in this function)
- if (ioctl(dev, VIDIOCGWIN, &vid_win) == -1) {
- ^
- video.c:598:20: error: 'VIDIOCSWIN' undeclared (first use in this function)
- if (ioctl(dev, VIDIOCSWIN, &vid_win) == -1) {
- ^
- video.c:568:25: warning: unused variable 'vid_win' [-Wunused-variable]
- struct video_window vid_win;
- ^
- video.c:567:26: warning: unused variable 'vid_pic' [-Wunused-variable]
- struct video_picture vid_pic;
- ^
- make: *** [video.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement