Motion - Bug Report 2007x 05x 23x 145436
You are here: Foswiki>Motion Web>BugReports>BugReport2007x05x23x145436 (19 Nov 2007, AngelCarpintero)Edit Attach

BUG: Can't compile with ffmpeg support

Compilation on SUSE 10.1 with last ffmpeg or ffmpeg-cvs-20060306 exit with errors

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

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

CFLAGS:  -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DHAVE_PGSQL -I/usr/include/pgsql -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=pentium4 -mfpmath=sse -msse2  -mmmx
LIBS: -lm  -lpthread -ljpeg -L/usr/local/lib -lavformat -lavcodec -lm -lz -L/usr/lib -lmysqlclient -lz -L/usr/lib -lpq
LDFLAGS:   -L/usr/local/lib

Install prefix:       /usr/local

worker:/home/denis/temp2/motion/motion-3.2.8_beta1 # make
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.8
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 -DHAVE_PGSQL -I/usr/include/pgsql -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=pentium4 -mfpmath=sse -msse2  -mmmx -Wall -DVERSION=\"3.2.8\" -D_REENTRANT -Dsysconfdir=\"/usr/local/etc\"   -c -o motion.o motion.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DHAVE_PGSQL -I/usr/include/pgsql -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=pentium4 -mfpmath=sse -msse2  -mmmx -Wall -DVERSION=\"3.2.8\" -D_REENTRANT -Dsysconfdir=\"/usr/local/etc\"   -c -o conf.o conf.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DHAVE_PGSQL -I/usr/include/pgsql -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=pentium4 -mfpmath=sse -msse2  -mmmx -Wall -DVERSION=\"3.2.8\" -D_REENTRANT -Dsysconfdir=\"/usr/local/etc\"   -c -o draw.o draw.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DHAVE_PGSQL -I/usr/include/pgsql -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=pentium4 -mfpmath=sse -msse2  -mmmx -Wall -DVERSION=\"3.2.8\" -D_REENTRANT -Dsysconfdir=\"/usr/local/etc\"   -c -o video.o video.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DHAVE_PGSQL -I/usr/include/pgsql -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=pentium4 -mfpmath=sse -msse2  -mmmx -Wall -DVERSION=\"3.2.8\" -D_REENTRANT -Dsysconfdir=\"/usr/local/etc\"   -c -o video2.o video2.c
video2.c:51:17: warning: #warning **************************************************
video2.c:52:4: warning: #warning Using experimental V4L2 support
video2.c:53:17: warning: #warning **************************************************
video2.c:398: warning: ‘v4l2_set_fps’ defined but not used
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DHAVE_PGSQL -I/usr/include/pgsql -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=pentium4 -mfpmath=sse -msse2  -mmmx -Wall -DVERSION=\"3.2.8\" -D_REENTRANT -Dsysconfdir=\"/usr/local/etc\"   -c -o video_common.o video_common.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DHAVE_PGSQL -I/usr/include/pgsql -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=pentium4 -mfpmath=sse -msse2  -mmmx -Wall -DVERSION=\"3.2.8\" -D_REENTRANT -Dsysconfdir=\"/usr/local/etc\"   -c -o netcam.o netcam.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DHAVE_PGSQL -I/usr/include/pgsql -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=pentium4 -mfpmath=sse -msse2  -mmmx -Wall -DVERSION=\"3.2.8\" -D_REENTRANT -Dsysconfdir=\"/usr/local/etc\"   -c -o netcam_ftp.o netcam_ftp.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DHAVE_PGSQL -I/usr/include/pgsql -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=pentium4 -mfpmath=sse -msse2  -mmmx -Wall -DVERSION=\"3.2.8\" -D_REENTRANT -Dsysconfdir=\"/usr/local/etc\"   -c -o netcam_jpeg.o netcam_jpeg.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DHAVE_PGSQL -I/usr/include/pgsql -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=pentium4 -mfpmath=sse -msse2  -mmmx -Wall -DVERSION=\"3.2.8\" -D_REENTRANT -Dsysconfdir=\"/usr/local/etc\"   -c -o netcam_wget.o netcam_wget.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DHAVE_PGSQL -I/usr/include/pgsql -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=pentium4 -mfpmath=sse -msse2  -mmmx -Wall -DVERSION=\"3.2.8\" -D_REENTRANT -Dsysconfdir=\"/usr/local/etc\"   -c -o track.o track.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DHAVE_PGSQL -I/usr/include/pgsql -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=pentium4 -mfpmath=sse -msse2  -mmmx -Wall -DVERSION=\"3.2.8\" -D_REENTRANT -Dsysconfdir=\"/usr/local/etc\"   -c -o alg.o alg.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DHAVE_PGSQL -I/usr/include/pgsql -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=pentium4 -mfpmath=sse -msse2  -mmmx -Wall -DVERSION=\"3.2.8\" -D_REENTRANT -Dsysconfdir=\"/usr/local/etc\"   -c -o event.o event.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DHAVE_PGSQL -I/usr/include/pgsql -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=pentium4 -mfpmath=sse -msse2  -mmmx -Wall -DVERSION=\"3.2.8\" -D_REENTRANT -Dsysconfdir=\"/usr/local/etc\"   -c -o picture.o picture.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DHAVE_PGSQL -I/usr/include/pgsql -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=pentium4 -mfpmath=sse -msse2  -mmmx -Wall -DVERSION=\"3.2.8\" -D_REENTRANT -Dsysconfdir=\"/usr/local/etc\"   -c -o rotate.o rotate.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DHAVE_PGSQL -I/usr/include/pgsql -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=pentium4 -mfpmath=sse -msse2  -mmmx -Wall -DVERSION=\"3.2.8\" -D_REENTRANT -Dsysconfdir=\"/usr/local/etc\"   -c -o webhttpd.o webhttpd.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DHAVE_PGSQL -I/usr/include/pgsql -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=pentium4 -mfpmath=sse -msse2  -mmmx -Wall -DVERSION=\"3.2.8\" -D_REENTRANT -Dsysconfdir=\"/usr/local/etc\"   -c -o webcam.o webcam.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DHAVE_PGSQL -I/usr/include/pgsql -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=pentium4 -mfpmath=sse -msse2  -mmmx -Wall -DVERSION=\"3.2.8\" -D_REENTRANT -Dsysconfdir=\"/usr/local/etc\"   -c -o mjpeg.o mjpeg.c
gcc -g -O2 -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_MYSQL -I/usr/include/mysql -DHAVE_PGSQL -I/usr/include/pgsql -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=pentium4 -mfpmath=sse -msse2  -mmmx -Wall -DVERSION=\"3.2.8\" -D_REENTRANT -Dsysconfdir=\"/usr/local/etc\"   -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 video2.o video_common.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 mjpeg.o ffmpeg.o -lm  -lpthread -ljpeg -L/usr/local/lib -lavformat -lavcodec -lm -lz -L/usr/lib -lmysqlclient -lz -L/usr/lib -lpq
/usr/local/lib/libavformat.a(utils.o): In function `dump_format':
/home/denis/temp2/ffmpeg/libavformat/utils.c:2621: undefined reference to `ff_gcd'
/home/denis/temp2/ffmpeg/libavformat/utils.c:2608: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(utils.o): In function `compute_pkt_fields':
/home/denis/temp2/ffmpeg/libavformat/utils.c:774: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(utils.o): In function `av_update_cur_dts':
/home/denis/temp2/ffmpeg/libavformat/utils.c:1122: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(utils.o): In function `av_seek_frame_binary':
/home/denis/temp2/ffmpeg/libavformat/utils.c:1371: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(utils.o): In function `compute_pkt_fields2':
/home/denis/temp2/ffmpeg/libavformat/utils.c:2317: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(utils.o):/home/denis/temp2/ffmpeg/libavformat/utils.c:1508: more undefined references to `av_rescale' follow
/usr/local/lib/libavformat.a(utils.o): In function `av_find_stream_info':
/home/denis/temp2/ffmpeg/libavformat/utils.c:2011: undefined reference to `av_rescale_q'
/usr/local/lib/libavformat.a(utils.o): In function `av_update_stream_timings':
/home/denis/temp2/ffmpeg/libavformat/utils.c:1564: undefined reference to `av_rescale_q'
/home/denis/temp2/ffmpeg/libavformat/utils.c:1568: undefined reference to `av_rescale_q'
/usr/local/lib/libavformat.a(utils.o): In function `av_find_stream_info':
/home/denis/temp2/ffmpeg/libavformat/utils.c:2041: undefined reference to `av_reduce'
/home/denis/temp2/ffmpeg/libavformat/utils.c:1972: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(utils.o): In function `av_update_stream_timings':
/home/denis/temp2/ffmpeg/libavformat/utils.c:1564: undefined reference to `av_rescale_q'
/home/denis/temp2/ffmpeg/libavformat/utils.c:1568: undefined reference to `av_rescale_q'
/usr/local/lib/libavformat.a(utils.o): In function `fill_all_stream_timings':
/home/denis/temp2/ffmpeg/libavformat/utils.c:1599: undefined reference to `av_rescale_q'
/home/denis/temp2/ffmpeg/libavformat/utils.c:1601: undefined reference to `av_rescale_q'
/usr/local/lib/libavformat.a(utils.o): In function `av_estimate_timings_from_bit_rate':
/home/denis/temp2/ffmpeg/libavformat/utils.c:1630: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(utils.o): In function `av_find_stream_info':
/home/denis/temp2/ffmpeg/libavformat/utils.c:2048: undefined reference to `av_reduce'
/home/denis/temp2/ffmpeg/libavformat/utils.c:2048: undefined reference to `av_reduce'
/usr/local/lib/libavformat.a(utils.o): In function `av_update_stream_timings':
/home/denis/temp2/ffmpeg/libavformat/utils.c:1564: undefined reference to `av_rescale_q'
/home/denis/temp2/ffmpeg/libavformat/utils.c:1568: undefined reference to `av_rescale_q'
/usr/local/lib/libavformat.a(utils.o): In function `fill_all_stream_timings':
/home/denis/temp2/ffmpeg/libavformat/utils.c:1599: undefined reference to `av_rescale_q'
/home/denis/temp2/ffmpeg/libavformat/utils.c:1601: undefined reference to `av_rescale_q'
/usr/local/lib/libavformat.a(mpeg.o): In function `output_packet':
/home/denis/temp2/ffmpeg/libavformat/mpeg.c:1062: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(mpeg.o): In function `mpeg_mux_write_packet':
/home/denis/temp2/ffmpeg/libavformat/mpeg.c:1185: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(ffm.o): In function `ffm_write_header':
/home/denis/temp2/ffmpeg/libavformat/ffm.c:186: undefined reference to `av_dbl2int'
/home/denis/temp2/ffmpeg/libavformat/ffm.c:187: undefined reference to `av_dbl2int'
/home/denis/temp2/ffmpeg/libavformat/ffm.c:188: undefined reference to `av_dbl2int'
/home/denis/temp2/ffmpeg/libavformat/ffm.c:189: undefined reference to `av_dbl2int'
/home/denis/temp2/ffmpeg/libavformat/ffm.c:201: undefined reference to `av_dbl2int'
/usr/local/lib/libavformat.a(ffm.o): In function `ffm_read_header':
/home/denis/temp2/ffmpeg/libavformat/ffm.c:519: undefined reference to `av_int2dbl'
/home/denis/temp2/ffmpeg/libavformat/ffm.c:520: undefined reference to `av_int2dbl'
/home/denis/temp2/ffmpeg/libavformat/ffm.c:521: undefined reference to `av_int2dbl'
/home/denis/temp2/ffmpeg/libavformat/ffm.c:522: undefined reference to `av_int2dbl'
/home/denis/temp2/ffmpeg/libavformat/ffm.c:534: undefined reference to `av_int2dbl'
/usr/local/lib/libavformat.a(img.o): In function `img_read_packet':
/home/denis/temp2/ffmpeg/libavformat/img.c:235: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(raw.o): In function `pcm_read_seek':
/home/denis/temp2/ffmpeg/libavformat/raw.c:198: undefined reference to `av_rescale_rnd'
/home/denis/temp2/ffmpeg/libavformat/raw.c:205: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(avienc.o): In function `ff_parse_specific_params':
/home/denis/temp2/ffmpeg/libavformat/avienc.c:299: undefined reference to `ff_gcd'
/home/denis/temp2/ffmpeg/libavformat/avienc.c:299: undefined reference to `ff_gcd'
/home/denis/temp2/ffmpeg/libavformat/avienc.c:299: undefined reference to `ff_gcd'
/usr/local/lib/libavformat.a(avidec.o): In function `avi_read_seek':
/home/denis/temp2/ffmpeg/libavformat/avidec.c:858: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(avidec.o): In function `avi_read_packet':
/home/denis/temp2/ffmpeg/libavformat/avidec.c:489: undefined reference to `av_rescale'
/home/denis/temp2/ffmpeg/libavformat/avidec.c:499: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(mov.o): In function `mov_read_packet':
/home/denis/temp2/ffmpeg/libavformat/mov.c:1681: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(mov.o): In function `mov_read_stts':
/home/denis/temp2/ffmpeg/libavformat/mov.c:1218: undefined reference to `ff_gcd'
/usr/local/lib/libavformat.a(mov.o): In function `mov_read_stsd':
/home/denis/temp2/ffmpeg/libavformat/mov.c:1068: undefined reference to `av_int2dbl'
/usr/local/lib/libavformat.a(dv.o): In function `dv_read_seek':
/home/denis/temp2/ffmpeg/libavformat/dv.c:895: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(dv.o): In function `dv_read_header':
/home/denis/temp2/ffmpeg/libavformat/dv.c:858: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(yuv4mpeg.o): In function `yuv4_generate_header':
/home/denis/temp2/ffmpeg/libavformat/yuv4mpeg.c:44: undefined reference to `av_reduce'
/usr/local/lib/libavformat.a(yuv4mpeg.o): In function `yuv4_read_header':
/home/denis/temp2/ffmpeg/libavformat/yuv4mpeg.c:333: undefined reference to `av_reduce'
/usr/local/lib/libavformat.a(4xm.o): In function `fourxm_read_header':
/home/denis/temp2/ffmpeg/libavformat/4xm.c:130: undefined reference to `av_int2flt'
/usr/local/lib/libavformat.a(flvdec.o): In function `flv_read_packet':
/home/denis/temp2/ffmpeg/libavformat/flvdec.c:95: undefined reference to `av_int2dbl'
/home/denis/temp2/ffmpeg/libavformat/flvdec.c:105: undefined reference to `av_int2dbl'
/usr/local/lib/libavformat.a(nut.o): In function `reset':
/home/denis/temp2/ffmpeg/libavformat/nut.c:133: undefined reference to `av_rescale'
/home/denis/temp2/ffmpeg/libavformat/nut.c:133: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(nut.o): In function `nut_write_packet':
/home/denis/temp2/ffmpeg/libavformat/nut.c:723: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(nut.o): In function `reset':
/home/denis/temp2/ffmpeg/libavformat/nut.c:133: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(matroska.o): In function `ebml_read_float':
/home/denis/temp2/ffmpeg/libavformat/matroska.c:614: undefined reference to `av_int2flt'
/home/denis/temp2/ffmpeg/libavformat/matroska.c:616: undefined reference to `av_int2dbl'
/usr/local/lib/libavformat.a(nsvdec.o): In function `nsv_parse_NSVs_header':
/home/denis/temp2/ffmpeg/libavformat/nsvdec.c:452: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(aiff.o): In function `aiff_write_header':
/home/denis/temp2/ffmpeg/libavformat/aiff.c:217: undefined reference to `av_dbl2ext'
/usr/local/lib/libavformat.a(aiff.o): In function `get_aiff_header':
/home/denis/temp2/ffmpeg/libavformat/aiff.c:130: undefined reference to `av_ext2dbl'
/usr/local/lib/libavformat.a(movenc.o): In function `mov_write_mvhd_tag':
/home/denis/temp2/ffmpeg/libavformat/movenc.c:856: undefined reference to `av_rescale_rnd'
/usr/local/lib/libavformat.a(movenc.o): In function `mov_write_tkhd_tag':
/home/denis/temp2/ffmpeg/libavformat/movenc.c:740: undefined reference to `av_rescale_rnd'
/usr/local/lib/libavformat.a(movenc.o): In function `mov_write_edts_tag':
/home/denis/temp2/ffmpeg/libavformat/movenc.c:787: undefined reference to `av_rescale_rnd'
/usr/local/lib/libavformat.a(asf-enc.o): In function `asf_write_packet':
/home/denis/temp2/ffmpeg/libavformat/asf-enc.c:743: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(rtp.o): In function `rtp_send_raw':
/home/denis/temp2/ffmpeg/libavformat/rtp.c:765: undefined reference to `av_rescale'
/usr/local/lib/libavformat.a(rtp.o): In function `rtp_send_mpegvideo':
/home/denis/temp2/ffmpeg/libavformat/rtp.c:740: undefined reference to `av_rescale'
/usr/local/lib/libavcodec.a(utils.o): In function `avcodec_string':
/home/denis/temp2/ffmpeg/libavcodec/utils.c:1116: undefined reference to `ff_gcd'
/usr/local/lib/libavcodec.a(mpegvideo.o): In function `ff_sqrt':
/home/denis/temp2/ffmpeg/libavutil/common.h:443: undefined reference to `ff_sqrt_tab'
/usr/local/lib/libavcodec.a(mpegvideo.o): In function `MPV_encode_init':
/home/denis/temp2/ffmpeg/libavcodec/mpegvideo.c:1104: undefined reference to `ff_gcd'
/home/denis/temp2/ffmpeg/libavcodec/mpegvideo.c:1134: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(mpegvideo.o): In function `ff_sqrt':
/home/denis/temp2/ffmpeg/libavutil/common.h:443: undefined reference to `ff_sqrt_tab'
/home/denis/temp2/ffmpeg/libavutil/common.h:443: undefined reference to `ff_sqrt_tab'
/home/denis/temp2/ffmpeg/libavutil/common.h:443: undefined reference to `ff_sqrt_tab'
/home/denis/temp2/ffmpeg/libavutil/common.h:443: undefined reference to `ff_sqrt_tab'
/home/denis/temp2/ffmpeg/libavutil/common.h:443: undefined reference to `ff_sqrt_tab'
/usr/local/lib/libavcodec.a(mpegvideo.o):/home/denis/temp2/ffmpeg/libavutil/common.h:443: more undefined references to `ff_sqrt_tab' follow
/usr/local/lib/libavcodec.a(mpegaudio.o): In function `compute_scale_factors':
/home/denis/temp2/ffmpeg/libavcodec/mpegaudio.c:390: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(ac3enc.o): In function `AC3_encode_frame':
/home/denis/temp2/ffmpeg/libavcodec/ac3enc.c:1403: undefined reference to `ff_log2_tab'
/home/denis/temp2/ffmpeg/libavcodec/ac3enc.c:1420: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(mjpeg.o): In function `av_log2':
/home/denis/temp2/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/home/denis/temp2/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(mjpeg.o):/home/denis/temp2/ffmpeg/libavutil/common.h:370: more undefined references to `ff_log2_tab' follow
/usr/local/lib/libavcodec.a(motion_est.o): In function `ff_sqrt':
/home/denis/temp2/ffmpeg/libavutil/common.h:443: undefined reference to `ff_sqrt_tab'
/home/denis/temp2/ffmpeg/libavutil/common.h:443: undefined reference to `ff_sqrt_tab'
/home/denis/temp2/ffmpeg/libavutil/common.h:443: undefined reference to `ff_sqrt_tab'
/usr/local/lib/libavcodec.a(motion_est.o): In function `ff_sqrt':
/home/denis/temp2/ffmpeg/libavcodec/motion_est.c:1180: undefined reference to `ff_sqrt_tab'
/usr/local/lib/libavcodec.a(motion_est.o): In function `ff_sqrt':
/home/denis/temp2/ffmpeg/libavutil/common.h:443: undefined reference to `ff_sqrt_tab'
/usr/local/lib/libavcodec.a(motion_est.o):/home/denis/temp2/ffmpeg/libavutil/common.h:443: more undefined references to `ff_sqrt_tab' follow
/usr/local/lib/libavcodec.a(mpeg12.o): In function `av_log2':
/home/denis/temp2/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(mpeg12.o): In function `mpeg_decode_postinit':
/home/denis/temp2/ffmpeg/libavcodec/mpeg12.c:2112: undefined reference to `av_reduce'
/home/denis/temp2/ffmpeg/libavcodec/mpeg12.c:2121: undefined reference to `av_div_q'
/home/denis/temp2/ffmpeg/libavcodec/mpeg12.c:2107: undefined reference to `av_d2q'
/home/denis/temp2/ffmpeg/libavcodec/mpeg12.c:2127: undefined reference to `av_div_q'
/usr/local/lib/libavcodec.a(mpeg12.o): In function `av_log2_16bit':
/home/denis/temp2/ffmpeg/libavutil/common.h:384: undefined reference to `ff_log2_tab'
/home/denis/temp2/ffmpeg/libavutil/common.h:384: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(g726.o): In function `av_log2_16bit':
/home/denis/temp2/ffmpeg/libavutil/common.h:384: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(g726.o): In function `i2f':
/home/denis/temp2/ffmpeg/libavcodec/g726.c:44: undefined reference to `ff_log2_tab'
/home/denis/temp2/ffmpeg/libavcodec/g726.c:44: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(g726.o):/home/denis/temp2/ffmpeg/libavcodec/g726.c:44: more undefined references to `ff_log2_tab' follow
/usr/local/lib/libavcodec.a(h263.o): In function `h263_decode_picture_header':
/home/denis/temp2/ffmpeg/libavcodec/h263.c:5164: undefined reference to `ff_gcd'
/usr/local/lib/libavcodec.a(h263.o): In function `init_mv_penalty_and_fcode':
/home/denis/temp2/ffmpeg/libavcodec/h263.c:1768: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(cook.o): In function `init_cook_mlt':
/home/denis/temp2/ffmpeg/libavcodec/cook.c:267: undefined reference to `ff_log2_tab'
/home/denis/temp2/ffmpeg/libavcodec/cook.c:268: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(ffv1.o): In function `av_log2':
/home/denis/temp2/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/home/denis/temp2/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(ffv1.o):/home/denis/temp2/ffmpeg/libavutil/common.h:370: more undefined references to `ff_log2_tab' follow
/usr/local/lib/libavcodec.a(h264.o): In function `decode_slice_header':
/home/denis/temp2/ffmpeg/libavcodec/h264.c:4342: undefined reference to `av_reduce'
/usr/local/lib/libavcodec.a(h264.o): In function `get_ue_golomb':
/home/denis/temp2/ffmpeg/libavcodec/golomb.h:59: undefined reference to `ff_log2_tab'
/home/denis/temp2/ffmpeg/libavcodec/golomb.h:59: undefined reference to `ff_log2_tab'
/home/denis/temp2/ffmpeg/libavcodec/golomb.h:59: undefined reference to `ff_log2_tab'
/home/denis/temp2/ffmpeg/libavcodec/golomb.h:59: undefined reference to `ff_log2_tab'
/home/denis/temp2/ffmpeg/libavcodec/golomb.h:59: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(h264.o):/home/denis/temp2/ffmpeg/libavcodec/golomb.h:142: more undefined references to `ff_log2_tab' follow
/usr/local/lib/libavcodec.a(snow.o): In function `ff_sqrt':
/home/denis/temp2/ffmpeg/libavutil/common.h:443: undefined reference to `ff_sqrt_tab'
/usr/local/lib/libavcodec.a(snow.o): In function `ff_sqrt':
/home/denis/temp2/ffmpeg/libavcodec/snow.c:2211: undefined reference to `ff_sqrt_tab'
/usr/local/lib/libavcodec.a(snow.o): In function `encode_subband_c0run':
/home/denis/temp2/ffmpeg/libavcodec/snow.c:1747: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(snow.o): In function `av_log2':
/home/denis/temp2/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/home/denis/temp2/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/home/denis/temp2/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/home/denis/temp2/ffmpeg/libavutil/common.h:370: undefined reference to `ff_log2_tab'
/usr/local/lib/libavcodec.a(snow.o):/home/denis/temp2/ffmpeg/libavcodec/snow.c:3077: more undefined references to `ff_log2_tab' follow
collect2: ld returned 1 exit status
make: *** [motion] Ошибка 1

Environment

Motion version: 3.2.7 or 3.2.8 beta1
ffmpeg version:  
Shared libraries: ffmpeg, mysql, postgresql
Server OS: SUSE 10.1, kernel 2.6.16.27-0.9-default

-- MaxK - 23 May 2007

Follow up

Looks like it cannot find ffmpeg header files.

Exactly how did you install ffmpeg?

I need the exact configure line you used. Did you remember --enable-shared?

-- KennethLavrsen - 23 May 2007

Thanks. That's Ok. I miss this option. smile

-- MaxK - 24 May 2007
 

Fix record

Problem seems problem was related to ffmpeg install.

-- AngelCarpintero - 19 Nov 2007
Topic revision: r4 - 19 Nov 2007, 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.