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]
[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:
| ffmpeg version:
| Shared libraries:
|| ffmpeg, mysql, postgresql
| Server OS:
|| Ubuntu 12.04
- 23 Jun 2012
Please try to use svn/git version .
- 08 Jul 2012
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 ?
- 22 Sep 2012
I had a similar problem and I fixed removing a symbolic link suggested in BugReport2012x02x06x133332
- 29 Dec 2012