Motion - Support Question 2009x 01x 12x 192608

3.2.11 on opensuse11.1 won't compile

Question

Dear Developers,

I tried to install 3.2.11 on opensuse 11.1 and 10.3 (32bit) (had 3.2.10 up and running on 10.3 about a year ago). It won't compile.

(I understand the mpeg1 problem.)

I switched back to 10.3 to figure out the problem with 11.1, but I had the same results.

What is missing ? I just don't get it, after all, configure gives me a thumbs up (see verbatim text).

I spend the whole day (re-)reading the documentation, but I can't figure it out.

ffmpeg-0.4.9.16438svn-20090105.pm.1938.i586.rpm

is the ffmpeg package installed.

Best Regards

daniel

Yes, reading AND UNDERSTANDING helps wink

Thanx pal !

daniel

  *******************************
      Configure status
      motion 3.2.11
   *******************************

OS             :     Linux
pthread Support:     Yes
jpeg Support:        Yes
V4L included:        Yes
V4L2 supported:      Yes
FFmpeg Support:      Yes
MYSQL Support:       Yes
PostgreSQL Support:  No



---------------------
make output (the end of it)
---------------------


ffmpeg.c:26:10: warning: #warning **************************************************
ffmpeg.c:27:10: warning: #warning Your version of FFmpeg is newer than version 0.4.8
ffmpeg.c:28:10: warning: #warning Newer versions of ffmpeg do not support MPEG1 with
ffmpeg.c:29:10: warning: #warning non-standard framerate. MPEG1 will be disabled for
ffmpeg.c:30:10: warning: #warning normal video output. You can still use mpeg4 and
ffmpeg.c:31:10: warning: #warning and mpeg4ms which are both better in terms of size
ffmpeg.c:32:10: warning: #warning and quality. MPEG1 is always used for timelapse.
ffmpeg.c:33:10: warning: #warning Please read the Motion Guide for more information.
ffmpeg.c:34:10: warning: #warning Note that this is not an error message!
ffmpeg.c:35:10: warning: #warning **************************************************
ffmpeg.c:167: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘file_seek’
ffmpeg.c:184: error: ‘file_seek’ undeclared here (not in a function)
make: *** [ffmpeg.o] Error 1


-------------------------
make install output
-------------------------

Installing files...
--------------------------------------------------------------------------------
mkdir -p /usr/local/bin
mkdir -p /usr/local/share/man/man1
mkdir -p /usr/local/etc
mkdir -p /usr/local/share/doc/motion-3.2.11
mkdir -p /usr/local/share/motion-3.2.11/examples
install motion.1 /usr/local/share/man/man1
install CHANGELOG COPYING CREDITS INSTALL README motion_guide.html /usr/local/share/doc/motion-3.2.11
install *.conf motion.init-Debian motion.init-RH motion.init-FreeBSD.sh /usr/local/share/motion-3.2.11/examples
install motion-dist.conf /usr/local/etc
for prog in motion;          do          (install $prog /usr/local/bin );          done
install: cannot stat `motion': No such file or directory
make: *** [install] Error 1


Environment

Motion version: 3.2.11
ffmpeg version: 0.4.9
Libraries: ffmpeg, mysql,
Server OS: 2.6.25 and 2.6.28

-- DanielHagedorn - 12 Jan 2009

Answer

You missed read release notes :

- http://www.lavrsen.dk/twiki/bin/view/Motion/ReleaseNoteMotion3x2x11

Allow to compile with Opensuse ffmpeg-0.4.9.15594svn-20081010. Get http://www.lavrsen.dk/twiki/pub/Motion/ReleaseNoteMotion3x2x11/ffmpeg-0.4.9.15594svn-20081010.diff

This is valid for your current ffmpeg version too.

-- AngelCarpintero - 14 Jan 2009
Topic revision: r5 - 01 Mar 2009, AngelCarpintero
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.