Motion - Bug Report 2013x 02x 05x 024206

BUG: Errors at make (git version)

./configure --with-mysql-lib=/usr/lib/i386-linux-gnu/ is ok make fails giving errors as described under.

IboS@pc:~/Téléchargements/motion/motion$ make
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: Git-8619d7c17ce112e7196975905c6e840f345141ba
Platform: Linux (if this is incorrect, please read README.FreeBSD)

Compiling Motion object files...
--------------------------------------------------------------------------------
gcc -g -O2 -D_REENTRANT -I/usr/include/mysql -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=i686 -Wall -DVERSION=\"Git-8619d7c17ce112e7196975905c6e840f345141ba\" -Dsysconfdir=\"/usr/local/etc\"    -c -o vloopback_motion.o vloopback_motion.c
vloopback_motion.c: In function ‘v4l_open_vidpipe’:
vloopback_motion.c:48:15: attention : variable ‘ostatus’ set but not used [-Wunused-but-set-variable]
vloopback_motion.c:44:15: attention : variable ‘loop’ set but not used [-Wunused-but-set-variable]
vloopback_motion.c: In function ‘v4l_startpipe’:
vloopback_motion.c:185:26: erreur: storage size of ‘vid_pic’ isn’t known
vloopback_motion.c:186:25: erreur: storage size of ‘vid_win’ isn’t known
vloopback_motion.c:202:20: erreur: ‘VIDIOCGPICT’ undeclared (first use in this function)
vloopback_motion.c:202:20: note: each undeclared identifier is reported only once for each function it appears in
vloopback_motion.c:209:20: erreur: ‘VIDIOCSPICT’ undeclared (first use in this function)
vloopback_motion.c:214:20: erreur: ‘VIDIOCGWIN’ undeclared (first use in this function)
vloopback_motion.c:222:20: erreur: ‘VIDIOCSWIN’ undeclared (first use in this function)
vloopback_motion.c:186:25: attention : unused variable ‘vid_win’ [-Wunused-variable]
vloopback_motion.c:185:26: attention : unused variable ‘vid_pic’ [-Wunused-variable]
make: *** [vloopback_motion.o] Erreur 1

Environment

Motion version: 3.2.12
ffmpeg version: none
Shared libraries: mysql
Server OS: Linux Lubuntu 12.04
-- IboS - 05 Feb 2013

Follow up

Fix record

Topic revision: r1 - 05 Feb 2013, IboS
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.