Motion - Bug Report 2012x 06x 23x 091749
You are here: Foswiki>Motion Web>BugReports>BugReport2012x06x23x091749 (29 Dec 2012, MarioMartinez)Edit Attach

BUG: Motion version with mySQL support for Ubuntu 12.04

I can't compile the motion and motion svn / trunk version with mySQL support. I am getting:

vloopback_motion.c:185:26: error: storage size of ‘vid_pic’ isn’t known vloopback_motion.c:186:25: error: storage size of ‘vid_win’ isn’t known vloopback_motion.c:202:20: error: ‘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: error: ‘VIDIOCSPICT’ undeclared (first use in this function) vloopback_motion.c:214:20: error: ‘VIDIOCGWIN’ undeclared (first use in this function) vloopback_motion.c:222:20: error: ‘VIDIOCSWIN’ undeclared (first use in this function) vloopback_motion.c:186:25: warning: unused variable ‘vid_win’ [-Wunused-variable] vloopback_motion.c:185:26: warning: unused variable ‘vid_pic’ [-Wunused-variable] make: * [vloopback_motion.o] Error 1

The current Ubuntu 12.04 version is without mySQL. Getting it compiled with the right mysql dir is no problem but I get problems with vloopback, to do with a v-lib not supported any more.

Paste in your error messages, config settings, terminal window output etc in this text field.


Motion version: 3.2.12
ffmpeg version:  
Shared libraries: ffmpeg, mysql, postgresql
Server OS: Ubuntu 12.04
-- DannyDeKeuleneire - 23 Jun 2012

Follow up

Please try to use svn/git version .


-- AngelCarpintero - 08 Jul 2012

Fix record

I tried the svn/git version!!!

I can confirm this bug under debian wheeze and even tried with the latest svn version (trunk rev 557). The bug is still in it. So we end up with no compilable version at the moment ? -- ArnoldUde - 22 Sep 2012

I had a similar problem and I fixed removing a symbolic link suggested in BugReport2012x02x06x133332.

-- MarioMartinez - 29 Dec 2012

BugReportForm edit

TopicTitle Motion version with mySQL support for Ubuntu 12.04
BugStatus Rejected
SubmittedBy WikiGuest
Topic revision: r7 - 29 Dec 2012, MarioMartinez
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.