ffmpeg and libavcodec problem.

Support and queries relating to all previous versions of ZoneMinder
Locked
julianopillati
Posts: 15
Joined: Tue May 31, 2005 10:30 pm
Contact:

ffmpeg and libavcodec problem.

Post by julianopillati »

Hello, I am have problem im make. This is my configure:
root@viza:/packages/zm-1.21.4# ./configure --with-mysql=/usr/include/mysql/ --with-webdir=/var/www/svd/ --with-cgidir=/usr/lib/cgi-bin/ --with-webuser=www-data --with-webgroup=www-data --with-ffmpeg=/usr/include/ffmpeg/ --with-lame=/usr/include/lame/
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
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 style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
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 how to run the C++ preprocessor... g++ -E
checking pcre/pcre.h usability... no
checking pcre/pcre.h presence... no
checking for pcre/pcre.h... no
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking whether round is declared... yes
checking whether strsignal is declared... yes
checking whether MD5 is declared... no
checking for jpeg_start_compress in -ljpeg... yes
checking for compress in -lz... yes
checking for dlsym in -ldl... yes
checking for mysql_init in -lmysqlclient... yes
checking for MD5 in -lcrypto... no
configure: WARNING: libcrypto.a is required for authenticated streaming
checking for pcre_compile in -lpcre... yes
checking for ff_gcd in -lavutil... yes
checking for avcodec_init in -lavcodec... yes
checking for av_new_stream in -lavformat... yes
checking for lame_init in -lmp3lame... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating web/Makefile
config.status: creating web/graphics/Makefile
config.status: creating scripts/Makefile
config.status: creating db/Makefile
config.status: creating zmconfig.pl
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
checking for zmconfig.txt... yes
root@viza:/packages/zm-1.21.4# make
make all-recursive
make[1]: Entrando no diretório `/packages/zm-1.21.4'
Making all in src
make[2]: Entrando no diretório `/packages/zm-1.21.4/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql//include -I/usr/include/ffmpeg//include -g -O2 -MT zmc.o -MD -MP -MF ".deps/zmc.Tpo" -c -o zmc.o zmc.cpp; \
then mv -f ".deps/zmc.Tpo" ".deps/zmc.Po"; else rm -f ".deps/zmc.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql//include -I/usr/include/ffmpeg//include -g -O2 -MT zm.o -MD -MP -MF ".deps/zm.Tpo" -c -o zm.o zm.cpp; \
then mv -f ".deps/zm.Tpo" ".deps/zm.Po"; else rm -f ".deps/zm.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql//include -I/usr/include/ffmpeg//include -g -O2 -MT zm_db.o -MD -MP -MF ".deps/zm_db.Tpo" -c -o zm_db.o zm_db.cpp; \
then mv -f ".deps/zm_db.Tpo" ".deps/zm_db.Po"; else rm -f ".deps/zm_db.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql//include -I/usr/include/ffmpeg//include -g -O2 -MT zm_config.o -MD -MP -MF ".deps/zm_config.Tpo" -c -o zm_config.o zm_config.cpp; \
then mv -f ".deps/zm_config.Tpo" ".deps/zm_config.Po"; else rm -f ".deps/zm_config.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql//include -I/usr/include/ffmpeg//include -g -O2 -MT zm_coord.o -MD -MP -MF ".deps/zm_coord.Tpo" -c -o zm_coord.o zm_coord.cpp; \
then mv -f ".deps/zm_coord.Tpo" ".deps/zm_coord.Po"; else rm -f ".deps/zm_coord.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql//include -I/usr/include/ffmpeg//include -g -O2 -MT zm_box.o -MD -MP -MF ".deps/zm_box.Tpo" -c -o zm_box.o zm_box.cpp; \
then mv -f ".deps/zm_box.Tpo" ".deps/zm_box.Po"; else rm -f ".deps/zm_box.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql//include -I/usr/include/ffmpeg//include -g -O2 -MT zm_image.o -MD -MP -MF ".deps/zm_image.Tpo" -c -o zm_image.o zm_image.cpp; \
then mv -f ".deps/zm_image.Tpo" ".deps/zm_image.Po"; else rm -f ".deps/zm_image.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql//include -I/usr/include/ffmpeg//include -g -O2 -MT zm_event.o -MD -MP -MF ".deps/zm_event.Tpo" -c -o zm_event.o zm_event.cpp; \
then mv -f ".deps/zm_event.Tpo" ".deps/zm_event.Po"; else rm -f ".deps/zm_event.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql//include -I/usr/include/ffmpeg//include -g -O2 -MT zm_zone.o -MD -MP -MF ".deps/zm_zone.Tpo" -c -o zm_zone.o zm_zone.cpp; \
then mv -f ".deps/zm_zone.Tpo" ".deps/zm_zone.Po"; else rm -f ".deps/zm_zone.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql//include -I/usr/include/ffmpeg//include -g -O2 -MT zm_camera.o -MD -MP -MF ".deps/zm_camera.Tpo" -c -o zm_camera.o zm_camera.cpp; \
then mv -f ".deps/zm_camera.Tpo" ".deps/zm_camera.Po"; else rm -f ".deps/zm_camera.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql//include -I/usr/include/ffmpeg//include -g -O2 -MT zm_local_camera.o -MD -MP -MF ".deps/zm_local_camera.Tpo" -c -o zm_local_camera.o zm_local_camera.cpp; \
then mv -f ".deps/zm_local_camera.Tpo" ".deps/zm_local_camera.Po"; else rm -f ".deps/zm_local_camera.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql//include -I/usr/include/ffmpeg//include -g -O2 -MT zm_remote_camera.o -MD -MP -MF ".deps/zm_remote_camera.Tpo" -c -o zm_remote_camera.o zm_remote_camera.cpp; \
then mv -f ".deps/zm_remote_camera.Tpo" ".deps/zm_remote_camera.Po"; else rm -f ".deps/zm_remote_camera.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql//include -I/usr/include/ffmpeg//include -g -O2 -MT zm_file_camera.o -MD -MP -MF ".deps/zm_file_camera.Tpo" -c -o zm_file_camera.o zm_file_camera.cpp; \
then mv -f ".deps/zm_file_camera.Tpo" ".deps/zm_file_camera.Po"; else rm -f ".deps/zm_file_camera.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql//include -I/usr/include/ffmpeg//include -g -O2 -MT zm_monitor.o -MD -MP -MF ".deps/zm_monitor.Tpo" -c -o zm_monitor.o zm_monitor.cpp; \
then mv -f ".deps/zm_monitor.Tpo" ".deps/zm_monitor.Po"; else rm -f ".deps/zm_monitor.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql//include -I/usr/include/ffmpeg//include -g -O2 -MT zm_user.o -MD -MP -MF ".deps/zm_user.Tpo" -c -o zm_user.o zm_user.cpp; \
then mv -f ".deps/zm_user.Tpo" ".deps/zm_user.Po"; else rm -f ".deps/zm_user.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql//include -I/usr/include/ffmpeg//include -g -O2 -MT zm_mpeg.o -MD -MP -MF ".deps/zm_mpeg.Tpo" -c -o zm_mpeg.o zm_mpeg.cpp; \
then mv -f ".deps/zm_mpeg.Tpo" ".deps/zm_mpeg.Po"; else rm -f ".deps/zm_mpeg.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql//include -I/usr/include/ffmpeg//include -g -O2 -MT zm_jpeg.o -MD -MP -MF ".deps/zm_jpeg.Tpo" -c -o zm_jpeg.o zm_jpeg.c; \
then mv -f ".deps/zm_jpeg.Tpo" ".deps/zm_jpeg.Po"; else rm -f ".deps/zm_jpeg.Tpo"; exit 1; fi
zm_jpeg.c: In function ‘zm_jpeg_error_exit’:
zm_jpeg.c:40: warning: incompatible implicit declaration of built-in function ‘exit’
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql//include -I/usr/include/ffmpeg//include -g -O2 -MT zm_regexp.o -MD -MP -MF ".deps/zm_regexp.Tpo" -c -o zm_regexp.o zm_regexp.cpp; \
then mv -f ".deps/zm_regexp.Tpo" ".deps/zm_regexp.Po"; else rm -f ".deps/zm_regexp.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql//include -I/usr/include/ffmpeg//include -g -O2 -MT zm_buffer.o -MD -MP -MF ".deps/zm_buffer.Tpo" -c -o zm_buffer.o zm_buffer.cpp; \
then mv -f ".deps/zm_buffer.Tpo" ".deps/zm_buffer.Po"; else rm -f ".deps/zm_buffer.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql//include -I/usr/include/ffmpeg//include -g -O2 -MT zm_debug.o -MD -MP -MF ".deps/zm_debug.Tpo" -c -o zm_debug.o zm_debug.c; \
then mv -f ".deps/zm_debug.Tpo" ".deps/zm_debug.Po"; else rm -f ".deps/zm_debug.Tpo"; exit 1; fi
g++ -g -O2 -L/usr/include/lame/ -L/usr/include/ffmpeg//lib -L/usr/include/mysql//lib/mysql -o zmc zmc.o zm.o zm_db.o zm_config.o zm_coord.o zm_box.o zm_image.o zm_event.o zm_zone.o zm_camera.o zm_local_camera.o zm_remote_camera.o zm_file_camera.o zm_monitor.o zm_user.o zm_mpeg.o zm_jpeg.o zm_regexp.o zm_buffer.o zm_debug.o -lmp3lame -lavformat -lavcodec -lavutil -lpcre -lmysqlclient -ldl -lz -ljpeg
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavformat.a(dc1394.o): In function `dc1394_read_header':
: undefined reference to `dc1394_create_handle'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavformat.a(dc1394.o): In function `dc1394_read_header':
: undefined reference to `dc1394_get_camera_nodes'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavformat.a(dc1394.o): In function `dc1394_read_header':
: undefined reference to `dc1394_dma_setup_capture'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavformat.a(dc1394.o): In function `dc1394_read_header':
: undefined reference to `dc1394_destroy_handle'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavformat.a(dc1394.o): In function `dc1394_read_header':
: undefined reference to `dc1394_start_iso_transmission'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavformat.a(dc1394.o): In function `dc1394_read_header':
: undefined reference to `dc1394_dma_unlisten'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavformat.a(dc1394.o): In function `dc1394_read_header':
: undefined reference to `dc1394_dma_release_camera'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavformat.a(dc1394.o): In function `dc1394_read_packet':
: undefined reference to `dc1394_dma_done_with_buffer'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavformat.a(dc1394.o): In function `dc1394_read_packet':
: undefined reference to `dc1394_dma_single_capture'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavformat.a(dc1394.o): In function `dc1394_close':
: undefined reference to `dc1394_stop_iso_transmission'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavformat.a(dc1394.o): In function `dc1394_close':
: undefined reference to `dc1394_dma_unlisten'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavformat.a(dc1394.o): In function `dc1394_close':
: undefined reference to `dc1394_dma_release_camera'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavformat.a(dc1394.o): In function `dc1394_close':
: undefined reference to `dc1394_destroy_handle'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavformat.a(ogg.o): In function `ogg_write_header':
: undefined reference to `ogg_stream_init'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavformat.a(ogg.o): In function `ogg_write_header':
: undefined reference to `ogg_stream_packetin'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavformat.a(ogg.o): In function `ogg_write_packet':
: undefined reference to `ogg_stream_packetin'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavformat.a(ogg.o): In function `ogg_write_packet':
: undefined reference to `ogg_stream_pageout'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavformat.a(ogg.o): In function `ogg_write_packet':
: undefined reference to `ogg_stream_flush'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavformat.a(ogg.o): In function `ogg_write_trailer':
: undefined reference to `ogg_stream_flush'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavformat.a(ogg.o): In function `ogg_write_trailer':
: undefined reference to `ogg_stream_clear'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(dtsdec.o): In function `dts_decode_init':
: undefined reference to `dts_init'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(dtsdec.o): In function `dts_decode_frame':
: undefined reference to `dts_frame'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(dtsdec.o): In function `dts_decode_frame':
: undefined reference to `dts_blocks_num'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(dtsdec.o): In function `dts_decode_frame':
: undefined reference to `dts_block'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(dtsdec.o): In function `dts_decode_frame':
: undefined reference to `dts_samples'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(dtsdec.o): In function `dts_decode_frame':
: undefined reference to `dts_blocks_num'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(dtsdec.o): In function `dts_decode_frame':
: undefined reference to `dts_syncinfo'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_info_init'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_encode_init_vbr'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_analysis_init'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_block_init'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_comment_init'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_comment_add_tag'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_analysis_headerout'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_comment_clear'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_encode_init'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_analysis_buffer'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_analysis_wrote'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_analysis_blockout'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_analysis'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_bitrate_addblock'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_bitrate_flushpacket'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_bitrate_flushpacket'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_analysis_blockout'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_close':
: undefined reference to `vorbis_analysis_wrote'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_close':
: undefined reference to `vorbis_block_clear'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_close':
: undefined reference to `vorbis_dsp_clear'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_close':
: undefined reference to `vorbis_info_clear'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_init':
: undefined reference to `vorbis_info_init'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_init':
: undefined reference to `vorbis_comment_init'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_init':
: undefined reference to `vorbis_synthesis_headerin'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_init':
: undefined reference to `vorbis_synthesis_init'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_init':
: undefined reference to `vorbis_block_init'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_frame':
: undefined reference to `vorbis_synthesis'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_frame':
: undefined reference to `vorbis_synthesis_pcmout'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_frame':
: undefined reference to `vorbis_synthesis_read'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_frame':
: undefined reference to `vorbis_synthesis_pcmout'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_frame':
: undefined reference to `vorbis_synthesis_blockin'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_close':
: undefined reference to `vorbis_info_clear'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_close':
: undefined reference to `vorbis_comment_clear'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggtheora.o): In function `Theora_decode_frame':
: undefined reference to `theora_decode_packetin'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggtheora.o): In function `Theora_decode_frame':
: undefined reference to `theora_decode_YUVout'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggtheora.o): In function `Theora_decode_end':
: undefined reference to `theora_info_clear'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggtheora.o): In function `Theora_decode_end':
: undefined reference to `theora_comment_clear'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggtheora.o): In function `Theora_decode_init':
: undefined reference to `theora_info_init'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggtheora.o): In function `Theora_decode_init':
: undefined reference to `theora_decode_header'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(oggtheora.o): In function `Theora_decode_init':
: undefined reference to `theora_decode_init'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(libgsm.o): In function `libgsm_init':
: undefined reference to `gsm_create'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(libgsm.o): In function `libgsm_close':
: undefined reference to `gsm_destroy'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(libgsm.o): In function `libgsm_encode_frame':
: undefined reference to `gsm_encode'
/usr/lib/gcc/x86_64-linux-gnu/4.0.2/../../../../lib64/libavcodec.a(libgsm.o): In function `libgsm_decode_frame':
: undefined reference to `gsm_decode'
collect2: ld returned 1 exit status
make[2]: ** [zmc] Erro 1
make[2]: Saindo do diretório `/packages/zm-1.21.4/src'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/packages/zm-1.21.4'
make: ** [all] Erro 2
root@viza:/packages/zm-1.21.4#


root@viza:/packages/zm-1.21.4# ffmpeg -version
ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --build x86_64-linux-gnu --enable-gpl --enable-pp --enable-zlib --enable-vorbis --enable-libogg --enable-theora --enable-a52 --enable-dts --enable-dc1394 --enable-libgsm --disable-debug --prefix=/usr
built on Sep 29 2005 03:18:55, gcc: 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)
ffmpeg CVS
libavcodec 3276800
libavformat 3211520
root@viza:/packages/zm-1.21.4#
root@viza:/packages/zm-1.21.4# uname -a
Linux viza 2.6.12-9-amd64-generic #1 Mon Oct 10 13:27:39 BST 2005 x86_64 GNU/Linux
root@viza:/packages/zm-1.21.4#

Is ubuntu Linux 5.10 AMD64 instal.

Thank you
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

It looks like you have compiled ffmpeg with ogg support plus some other non standard options. Anytime you build ZM (or anything that uses ffmpeg libraries) you will have to manually tweak your Makefile to include the additional libraries as well as the ffmpeg ones.

Phil
julianopillati
Posts: 15
Joined: Tue May 31, 2005 10:30 pm
Contact:

solution.

Post by julianopillati »

I get ffmpeg from cvs version and works fine :-)
Locked