Motion - Support Question 2007x 02x 18x 191738

motion-3.2.7 does not compile with ffmpeg-cvs-20060306-certified-with-motion-3.2.5.tar.gz

Question

Environment:

Slackware 11.0, kernel 2.6.20 and 2.6.17.13

Machine with 2.6.17.13 is running motion, without ffmpeg, with 6 cameras without problems (2 usb gspcav1, 1 BT878 and 3 TVIP100).

Solution suggested here did not work for me http://sourceforge.net/mailarchive/forum.php?thread_id=24808614&forum_id=45090.

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:  3.2.7
Platform: Linux (if this is incorrect, please read README.FreeBSD)

Generating dependencies, please wait...

Compiling Motion object files...
--------------------------------------------------------------------------------
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=i686 -Wall -DVERSION=\"3.2.7\" -D_REENTRANT -Dsysconfdir=\"/etc/motion\"   -c -o motion.o motion.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=i686 -Wall -DVERSION=\"3.2.7\" -D_REENTRANT -Dsysconfdir=\"/etc/motion\"   -c -o conf.o conf.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=i686 -Wall -DVERSION=\"3.2.7\" -D_REENTRANT -Dsysconfdir=\"/etc/motion\"   -c -o draw.o draw.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=i686 -Wall -DVERSION=\"3.2.7\" -D_REENTRANT -Dsysconfdir=\"/etc/motion\"   -c -o video.o video.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=i686 -Wall -DVERSION=\"3.2.7\" -D_REENTRANT -Dsysconfdir=\"/etc/motion\"   -c -o netcam.o netcam.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=i686 -Wall -DVERSION=\"3.2.7\" -D_REENTRANT -Dsysconfdir=\"/etc/motion\"   -c -o netcam_ftp.o netcam_ftp.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=i686 -Wall -DVERSION=\"3.2.7\" -D_REENTRANT -Dsysconfdir=\"/etc/motion\"   -c -o netcam_jpeg.o netcam_jpeg.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=i686 -Wall -DVERSION=\"3.2.7\" -D_REENTRANT -Dsysconfdir=\"/etc/motion\"   -c -o netcam_wget.o netcam_wget.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=i686 -Wall -DVERSION=\"3.2.7\" -D_REENTRANT -Dsysconfdir=\"/etc/motion\"   -c -o track.o track.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=i686 -Wall -DVERSION=\"3.2.7\" -D_REENTRANT -Dsysconfdir=\"/etc/motion\"   -c -o alg.o alg.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=i686 -Wall -DVERSION=\"3.2.7\" -D_REENTRANT -Dsysconfdir=\"/etc/motion\"   -c -o event.o event.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=i686 -Wall -DVERSION=\"3.2.7\" -D_REENTRANT -Dsysconfdir=\"/etc/motion\"   -c -o picture.o picture.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=i686 -Wall -DVERSION=\"3.2.7\" -D_REENTRANT -Dsysconfdir=\"/etc/motion\"   -c -o rotate.o rotate.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=i686 -Wall -DVERSION=\"3.2.7\" -D_REENTRANT -Dsysconfdir=\"/etc/motion\"   -c -o webhttpd.o webhttpd.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=i686 -Wall -DVERSION=\"3.2.7\" -D_REENTRANT -Dsysconfdir=\"/etc/motion\"   -c -o webcam.o webcam.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=i686 -Wall -DVERSION=\"3.2.7\" -D_REENTRANT -Dsysconfdir=\"/etc/motion\"   -c -o ffmpeg.o ffmpeg.c
ffmpeg.c:26:4: warning: #warning **************************************************
ffmpeg.c:27:4: warning: #warning Your version of FFmpeg is newer than version 0.4.8
ffmpeg.c:28:4: warning: #warning Newer versions of ffmpeg do not support MPEG1 with
ffmpeg.c:29:4: warning: #warning non-standard framerate. MPEG1 will be disabled for
ffmpeg.c:30:4: warning: #warning normal video output. You can still use mpeg4 and
ffmpeg.c:31:4: warning: #warning and mpeg4ms which are both better in terms of size
ffmpeg.c:32:4: warning: #warning and quality. MPEG1 is always used for timelapse.
ffmpeg.c:33:4: warning: #warning Please read the Motion Guide for more information.
ffmpeg.c:34:4: warning: #warning Note that this is not an error message!
ffmpeg.c:35:4: warning: #warning **************************************************
--------------------------------------------------------------------------------
Motion object files compiled.

Linking Motion...
--------------------------------------------------------------------------------
gcc -L/usr/local/lib -o motion motion.o conf.o draw.o video.o netcam.o netcam_ftp.o netcam_jpeg.o netcam_wget.o track.o alg.o event.o picture.o rotate.o webhttpd.o webcam.o ffmpeg.o -lm  -lpthread -ljpeg -L/usr/local/lib -lavformat -lavcodec -lm -lz -L/usr/lib -lmysqlclient -lz 
/usr/local/lib/libavformat.a(utils.o)(.text+0xbf1): In function `compute_pkt_fields':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/utils.c:774: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(utils.o)(.text+0x204c): In function `av_seek_frame_binary':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/utils.c:1371: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(utils.o)(.text+0x21c0):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/utils.c:1122: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(utils.o)(.text+0x29b7): In function `av_seek_frame':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/utils.c:1508: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(utils.o)(.text+0x2ab9):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/utils.c:1122: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(utils.o)(.text+0x319a): In function `av_find_stream_info':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/utils.c:2011: undefined reference to `av_rescale_q'
/usr/local/lib/libavformat.a(utils.o)(.text+0x3507):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/utils.c:2041: undefined reference to `av_reduce'
/usr/local/lib/libavformat.a(utils.o)(.text+0x369d):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/utils.c:1972: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(utils.o)(.text+0x3930):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/utils.c:1630: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(utils.o)(.text+0x39fd):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/utils.c:1564: undefined reference to `av_rescale_q'
/usr/local/lib/libavformat.a(utils.o)(.text+0x3ac6):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/utils.c:1564: undefined reference to `av_rescale_q'
/usr/local/lib/libavformat.a(utils.o)(.text+0x3c94):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/utils.c:2048: undefined reference to `av_reduce'
/usr/local/lib/libavformat.a(utils.o)(.text+0x3e87):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/utils.c:1569: undefined reference to `av_rescale_q'
/usr/local/lib/libavformat.a(utils.o)(.text+0x425a):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/utils.c:1599: undefined reference to `av_rescale_q'
/usr/local/lib/libavformat.a(utils.o)(.text+0x429f):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/utils.c:1601: undefined reference to `av_rescale_q'
/usr/local/lib/libavformat.a(utils.o)(.text+0x46ac):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/utils.c:1564: undefined reference to `av_rescale_q'
/usr/local/lib/libavformat.a(utils.o)(.text+0x4724):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/utils.c:1601: undefined reference to `av_rescale_q'
/usr/local/lib/libavformat.a(utils.o)(.text+0x4757):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/utils.c:1599: more undefined references to `av_rescale_q' follow
/usr/local/lib/libavformat.a(utils.o)(.text+0x5033): In function `compute_pkt_fields2':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/utils.c:2317: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(utils.o)(.text+0x5ea8): In function `dump_format':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/utils.c:2621: undefined reference to `ff_gcd'
/usr/local/lib/libavformat.a(utils.o)(.text+0x6129):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/utils.c:2608: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(mpeg.o)(.text+0x2514): In function `output_packet':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/mpeg.c:1062: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(mpeg.o)(.text+0x2bb9): In function `mpeg_mux_write_packet':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/mpeg.c:1185: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(ffm.o)(.text+0x3ea): In function `ffm_write_header':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/ffm.c:186: undefined reference to `av_dbl2int'
/usr/local/lib/libavformat.a(ffm.o)(.text+0x400):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/ffm.c:187: undefined reference to `av_dbl2int'
/usr/local/lib/libavformat.a(ffm.o)(.text+0x419):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/ffm.c:188: undefined reference to `av_dbl2int'
/usr/local/lib/libavformat.a(ffm.o)(.text+0x432):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/ffm.c:189: undefined reference to `av_dbl2int'
/usr/local/lib/libavformat.a(ffm.o)(.text+0x4ea):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/ffm.c:201: undefined reference to `av_dbl2int'
/usr/local/lib/libavformat.a(ffm.o)(.text+0x1512): In function `ffm_read_header':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/ffm.c:519: undefined reference to `av_int2dbl'
/usr/local/lib/libavformat.a(ffm.o)(.text+0x1529):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/ffm.c:520: undefined reference to `av_int2dbl'
/usr/local/lib/libavformat.a(ffm.o)(.text+0x153d):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/ffm.c:521: undefined reference to `av_int2dbl'
/usr/local/lib/libavformat.a(ffm.o)(.text+0x1554):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/ffm.c:522: undefined reference to `av_int2dbl'
/usr/local/lib/libavformat.a(ffm.o)(.text+0x15ff):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/ffm.c:534: undefined reference to `av_int2dbl'
/usr/local/lib/libavformat.a(img.o)(.text+0x516): In function `img_read_packet':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/img.c:235: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(raw.o)(.text+0x403): In function `pcm_read_seek':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/raw.c:198: undefined reference to `av_rescale_rnd'
/usr/local/lib/libavformat.a(raw.o)(.text+0x44f):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/raw.c:205: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(avienc.o)(.text+0x45b): In function `ff_parse_specific_params':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/avienc.c:299: undefined reference to `ff_gcd'
/usr/local/lib/libavformat.a(avienc.o)(.text+0x49d):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/avienc.c:299: undefined reference to `ff_gcd'
/usr/local/lib/libavformat.a(avienc.o)(.text+0x4e6):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/avienc.c:299: undefined reference to `ff_gcd'
/usr/local/lib/libavformat.a(avienc.o)(.text+0x884): In function `avi_write_header':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/avienc.c:299: undefined reference to `ff_gcd'
/usr/local/lib/libavformat.a(avienc.o)(.text+0x1460): In function `avi_write_idx1':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/avienc.c:299: undefined reference to `ff_gcd'
/usr/local/lib/libavformat.a(avidec.o)(.text+0x33c): In function `avi_read_packet':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/avidec.c:489: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(avidec.o)(.text+0x386):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/avidec.c:499: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(avidec.o)(.text+0x1949): In function `avi_read_seek':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/avidec.c:858: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(mov.o)(.text+0x14be): In function `mov_read_stsd':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/mov.c:1068: undefined reference to `av_int2dbl'
/usr/local/lib/libavformat.a(mov.o)(.text+0x1c23): In function `mov_read_stts':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/mov.c:1218: undefined reference to `ff_gcd'
/usr/local/lib/libavformat.a(mov.o)(.text+0x28d7): In function `mov_read_packet':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/mov.c:1681: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(dv.o)(.text+0x1673): In function `dv_read_header':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/dv.c:858: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(dv.o)(.text+0x1984): In function `dv_read_seek':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/dv.c:895: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(yuv4mpeg.o)(.text+0x8e): In function `yuv4_write_packet':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/yuv4mpeg.c:44: undefined reference to `av_reduce'
/usr/local/lib/libavformat.a(yuv4mpeg.o)(.text+0x67b): In function `yuv4_read_header':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/yuv4mpeg.c:333: undefined reference to `av_reduce'
/usr/local/lib/libavformat.a(4xm.o)(.text+0x558): In function `fourxm_read_header':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/4xm.c:130: undefined reference to `av_int2flt'
/usr/local/lib/libavformat.a(flvdec.o)(.text+0x314): In function `flv_read_packet':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/flvdec.c:95: undefined reference to `av_int2dbl'
/usr/local/lib/libavformat.a(flvdec.o)(.text+0x574):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/flvdec.c:105: undefined reference to `av_int2dbl'
/usr/local/lib/libavformat.a(nut.o)(.text+0x1e2f): In function `nut_write_packet':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/nut.c:723: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(nut.o)(.text+0x1e82):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/nut.c:133: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(nut.o)(.text+0x4600): In function `nut_read_packet':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/nut.c:133: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(nut.o)(.text+0x4cc0): In function `nut_read_timestamp':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/nut.c:133: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(matroska.o)(.text+0x3ba): In function `ebml_read_float':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/matroska.c:614: undefined reference to `av_int2flt'
/usr/local/lib/libavformat.a(matroska.o)(.text+0x3db):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/matroska.c:616: undefined reference to `av_int2dbl'
/usr/local/lib/libavformat.a(nsvdec.o)(.text+0x33c): In function `nsv_parse_NSVs_header':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/nsvdec.c:452: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(aiff.o)(.text+0x69): In function `get_aiff_header':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/aiff.c:130: undefined reference to `av_ext2dbl'
/usr/local/lib/libavformat.a(aiff.o)(.text+0x36c): In function `aiff_write_header':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/aiff.c:217: undefined reference to `av_dbl2ext'
/usr/local/lib/libavformat.a(movenc.o)(.text+0x30d9): In function `mov_write_trailer':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/movenc.c:856: undefined reference to `av_rescale_rnd'
/usr/local/lib/libavformat.a(movenc.o)(.text+0x3509):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/movenc.c:740: undefined reference to `av_rescale_rnd'
/usr/local/lib/libavformat.a(movenc.o)(.text+0x369d):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/movenc.c:787: undefined reference to `av_rescale_rnd'
/usr/local/lib/libavformat.a(asf-enc.o)(.text+0x1687): In function `asf_write_packet':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/asf-enc.c:743: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(rtp.o)(.text+0xcce): In function `rtp_write_packet':
/home/cassio/webcam/motion/tst/ffmpeg/libavformat/rtp.c:765: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(rtp.o)(.text+0x1357):/home/cassio/webcam/motion/tst/ffmpeg/libavformat/rtp.c:740: undefined reference to `av_rescale'
/usr/local/lib/libavcodec.a(utils.o)(.text+0x135f): In function `avcodec_string':
/home/cassio/webcam/motion/tst/ffmpeg/libavcodec/utils.c:1116: undefined reference to `ff_gcd'
/usr/local/lib/libavcodec.a(mpegvideo.o)(.text+0x2a6b): In function `MPV_encode_init':
/home/cassio/webcam/motion/tst/ffmpeg/libavcodec/mpegvideo.c:1104: undefined reference to `ff_gcd'
/usr/local/lib/libavcodec.a(mpegvideo.o)(.text+0x2b20): In function `MPV_encode_init':
/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(mpegvideo.o)(.text+0x4386): In function `draw_arrow':
/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:443: undefined reference to `ff_sqrt_tab'
/usr/local/lib/libavcodec.a(mpegvideo.o)(.text+0x12f92): In function `encode_mb':
/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:443: undefined reference to `ff_sqrt_tab'
/usr/local/lib/libavcodec.a(mpegvideo.o)(.text+0x13511):/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:443: undefined reference to `ff_sqrt_tab'
/usr/local/lib/libavcodec.a(mpegvideo.o)(.text+0x136a2):/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:443: undefined reference to `ff_sqrt_tab'
/usr/local/lib/libavcodec.a(mpegvideo.o)(.text+0x13832):/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:443: undefined reference to `ff_sqrt_tab'
/usr/local/lib/libavcodec.a(mpegvideo.o)(.text+0x139d2):/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:443: more undefined references to `ff_sqrt_tab' follow
/usr/local/lib/libavcodec.a(mpegaudio.o)(.text+0xe40): In function `MPA_encode_frame':
/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(ac3enc.o)(.text+0x20b1): In function `AC3_encode_frame':
/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(ac3enc.o)(.text+0x2621):/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(mjpeg.o)(.text+0x262c): In function `mjpeg_encode_mb':
/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(mjpeg.o)(.text+0x276b):/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:384: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(mjpeg.o)(.text+0x282b):/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:384: more undefined references to `ff_log2_tab' follow
/usr/local/lib/libavcodec.a(motion_est.o)(.text+0x8d): In function `ff_sqrt':
/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:443: undefined reference to `ff_sqrt_tab'
/usr/local/lib/libavcodec.a(mpeg12.o)(.text+0x2a2f): In function `ff_mpeg1_encode_init':
/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(mpeg12.o)(.text+0x2d24): In function `mpeg1_encode_block':
/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:384: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(mpeg12.o)(.text+0x30fa):/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:384: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(mpeg12.o)(.text+0x8a38): In function `mpeg_decode_frame':
/home/cassio/webcam/motion/tst/ffmpeg/libavcodec/mpeg12.c:2112: undefined reference to `av_reduce'
/usr/local/lib/libavcodec.a(mpeg12.o)(.text+0x8a99):/home/cassio/webcam/motion/tst/ffmpeg/libavcodec/mpeg12.c:2130: undefined reference to `av_div_q'
/usr/local/lib/libavcodec.a(mpeg12.o)(.text+0x9708):/home/cassio/webcam/motion/tst/ffmpeg/libavcodec/mpeg12.c:2107: undefined reference to `av_d2q'
/usr/local/lib/libavcodec.a(g726.o)(.text+0x93): In function `g726_init':
/home/cassio/webcam/motion/tst/ffmpeg/libavcodec/g726.c:273: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(g726.o)(.text+0x284): In function `g726_encode_frame':
/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:384: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(g726.o)(.text+0x458):/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:384: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(g726.o)(.text+0x4d1):/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:384: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(g726.o)(.text+0x6a8):/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:384: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(g726.o)(.text+0x858):/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:384: more undefined references to `ff_log2_tab' follow
/usr/local/lib/libavcodec.a(h263.o)(.text+0x166e9): In function `h263_decode_picture_header':
/home/cassio/webcam/motion/tst/ffmpeg/libavcodec/h263.c:5164: undefined reference to `ff_gcd'
/usr/local/lib/libavcodec.a(h263.o)(.text+0x17c66): In function `ff_mpeg4_decode_picture_header':
/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(cook.o)(.text+0x2242): In function `cook_decode_init':
/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(cook.o)(.text+0x227e):/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(ffv1.o)(.text+0x43): In function `put_symbol':
/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(ffv1.o)(.text+0x30be): In function `decode_frame':
/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(ffv1.o)(.text+0x33be):/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:370: more undefined references to `ff_log2_tab' follow
/usr/local/lib/libavcodec.a(h264.o)(.text+0x8a45): In function `decode_slice_header':
/home/cassio/webcam/motion/tst/ffmpeg/libavcodec/h264.c:4342: undefined reference to `av_reduce'
/usr/local/lib/libavcodec.a(loco.o)(.text+0xce): In function `loco_decode_plane':
/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(loco.o)(.text+0x185):/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(loco.o)(.text+0x556):/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(loco.o)(.text+0x60d):/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(loco.o)(.text+0x8a7):/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(loco.o)(.text+0x961):/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:370: more undefined references to `ff_log2_tab' follow
/usr/local/lib/libavcodec.a(snow.o)(.text+0x8144): In function `encode_q_branch':
/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:443: undefined reference to `ff_sqrt_tab'
/usr/local/lib/libavcodec.a(snow.o)(.text+0x8167):/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:443: undefined reference to `ff_sqrt_tab'
/usr/local/lib/libavcodec.a(snow.o)(.text+0x8d3d): In function `encode_q_branch2':
/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(snow.o)(.text+0x8d7d):/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(snow.o)(.text+0x9cfc): In function `decode_q_branch':
/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(snow.o)(.text+0x9d40):/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(snow.o)(.text+0xb2c6): In function `get_block_rd':
/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(snow.o)(.text+0xb307):/home/cassio/webcam/motion/tst/ffmpeg/libavutil/common.h:370: more undefined references to `ff_log2_tab' follow
collect2: ld returned 1 exit status
make: *** [motion] Error 1

Environment

Motion version: 3.2.7
ffmpeg version: ffmpeg-cvs-20060306-certified-with-motion-3.2.5.tar.gz
Libraries: ffmpeg, mysql, postgresql
Server OS: Slackware 11.0

-- CassioFreitas - 18 Feb 2007

Follow Up

I tried to reproduce your error , but i can't reproduce.

Motion builds fine with that version of ffmpeg.

Did you follow the FAQ about how complie ffmpeg ?

Answer

I read Support Requests ( I as I told above ) Answered Questions and FAQ.

But, I just missed this "I got this message when I tried to build motion : "avformat.h: No such file or directory"".

I read the title, but the error was different, so, unfortunately I didnt read the whole topic.

When you talked about FAQ, I read everything again: --enable-shared solved.

Sorry about that and really thank you for your attention.

-- CassioFreitas - 18 Feb 2007

SupportForm edit

TopicTitle motion-3.2.7 does not compile with ffmpeg-cvs-20060306-certified-with-motion-3.2.5.tar.gz
SupportStatus AnsweredQuestions
AssignedQuestionTo
SubmittedBy CassioFreitas
Topic revision: r3 - 18 Feb 2007, CassioFreitas
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.