Motion - Support Question 2006x 08x 17x 210726

SuSE 10 & ffmpeg problem

Question

I want to use motion 3.2.6 with ffmpeg to build video files. Therefor I downloaded the ffmpeg-cvs-20060306-certified-with-motion-3.2.5.tar.gz. The installation of ffmpeg worked without problems (no error messages).

The configuration of motion found the ffmpeg installation. But when I start "make" the compilation runs without problems but in the linking phase it stops with errors.

/usr/local/lib/libavcodec.a(snow.o): In function `get_block_bits':
/daten/ffmpeg/ffmpeg/libavcodec/snow.c:3077: undefined reference to `ff_log2_tab'
/daten/ffmpeg/ffmpeg/libavcodec/snow.c:3077: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(snow.o):/daten/ffmpeg/ffmpeg/libavutil/common.h:370: more undefined references to `ff_log2_tab' follow
collect2: ld returned 1 exit status
make: *** [motion] Error 1

server:/daten/motion-3.2.6 # ./configure
checking for Darwin... no
checking for *BSD... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for pthread_create in -lpthread... yes
checking for libjpeg-mmx... skipping
checking for jpeg_set_defaults in -ljpeg... yes
checking for ffmpeg autodetecting... found
checking for ffmpeg headers... found
checking for MySQL... yes
checking for PostgreSQL... Cannot find libpq-fe.h. Please specify the installation path of PostgreSQL
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking linux/videodev.h usability... yes
checking linux/videodev.h presence... yes
checking for linux/videodev.h... yes
checking for short int... yes
checking size of short int... 2
checking for int... yes
checking size of int... 4
checking for an ANSI C-conforming const... yes
Detected CPU: Pentium II (Deschutes)
CPU optimization: -march=pentium2 -mfpmath=387  -mmmx
checking for bswap instruction... yes
configure: creating ./config.status
config.status: creating motion.init-FreeBSD.sh
config.status: creating motion.init-Debian
config.status: creating motion.init-RH
config.status: creating motion.spec
config.status: creating Makefile

   ************************
   *   Configure status   *
   ************************

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

CFLAGS:  -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I /usr/include/mysql -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=pentium2 -mfpmath=387  -mmmx
LIBS: -lm  -lpthread -ljpeg -L/usr/local/lib -lavformat -lavcodec -lm -lz -L/usr/lib -lmysqlclient -lz
LDFLAGS:   -L/usr/local/lib

Install prefix:       /usr/local


Environment

Motion version: 3.2.6
ffmpeg version: ffmpeg-cvs-20060306-certified-with-motion-3.2.5.tar.gz
Libraries: ffmpeg, mysql
Server OS: SuSE 10.0, kernel 2.6.13-15.11-default

-- ArneDieckmann - 17 Aug 2006

Answer

Please download the current svn version , i'm almost sure this problem was fixed. If problem remains reopen the support question.

-- AngelCarpintero - 06 Sep 2006
Topic revision: r2 - 06 Sep 2006, 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.