I recently attempted to install Zoneminder on a fully patched copy of Kubuntu (Ubuntu) V5.10. I seearched the forums and found some info which I followed. I ended up getting to this point and I cannot get any further. I'm not a programmer, so I have no idea what this is telling me.
Can someone give me a suggestion on how to compile, OR does anyone know where I can find a package to install on a Debian based system. Thanks in advance for any assistance you can offer!
: undefined reference to `gsm_create'
/usr/lib/libavcodec.a(libgsm.o): In function `libgsm_close':
: undefined reference to `gsm_destroy'
/usr/lib/libavcodec.a(libgsm.o): In function `libgsm_encode_frame':
: undefined reference to `gsm_encode'
/usr/lib/libavcodec.a(libgsm.o): In function `libgsm_decode_frame':
: undefined reference to `gsm_decode'
collect2: ld returned 1 exit status
make[2]: *** [zmc] Error 1
make[2]: Leaving directory `/home/ccurtis/Desktop/zm/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ccurtis/Desktop/zm'
make: *** [all] Error 2
root@pc-00102:~/Desktop/zm#
compile error under Kubuntu 5.10 (Debian)
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 11
- Joined: Fri Dec 31, 2004 7:49 pm
[quote="zoneminder"]You probably need to post a bit more of your build log as I can only see the last bit. But it looks like a problem with ffmpeg. Which version do you on there?[/quote]
Thanks for getting back to me. I copied the entire make output, I hope this helps. Thank you for your time. Also, I'm asking so I will learn something.
What told you I had an ffmpeg issue. Again, I'm just trying to understand this type of problem.
Also, you may not know the answer, but where can I "commission" someone to create a debian package for Zoneminder. I'm willing to pay for this service!
Thanks again.
Chris Curtis
root@pc-00102:~/Desktop/zm# make
make all-recursive
make[1]: Entering directory `/home/ccurtis/Desktop/zm'
Making all in src
make[2]: Entering directory `/home/ccurtis/Desktop/zm/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/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 -I/usr/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 -I/usr/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 -I/usr/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 -I/usr/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 -I/usr/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 -I/usr/include -g -O2 -MT zm_poly.o -MD -MP -MF ".deps/zm_poly.Tpo" -c -o zm_poly.o zm_poly.cpp; \
then mv -f ".deps/zm_poly.Tpo" ".deps/zm_poly.Po"; else rm -f ".deps/zm_poly.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/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 -I/usr/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 -I/usr/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 -I/usr/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 -I/usr/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 -I/usr/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 -I/usr/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 -I/usr/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 -I/usr/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 -I/usr/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 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/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 -I/usr/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
g++ -g -O2 -L/usr/lib -L/usr/lib/mysql -o zmc zmc.o zm.o zm_db.o zm_config.o zm_coord.o zm_box.o zm_poly.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 -lavformat -lavcodec -lavutil -lpcre -lcrypto -lmysqlclient -ldl -lz -ljpeg
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header':
: undefined reference to `dc1394_create_handle'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header':
: undefined reference to `dc1394_get_camera_nodes'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header':
: undefined reference to `dc1394_dma_setup_capture'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header':
: undefined reference to `dc1394_destroy_handle'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header':
: undefined reference to `dc1394_start_iso_transmission'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header':
: undefined reference to `dc1394_dma_unlisten'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header':
: undefined reference to `dc1394_dma_release_camera'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_packet':
: undefined reference to `dc1394_dma_done_with_buffer'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_packet':
: undefined reference to `dc1394_dma_single_capture'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_close':
: undefined reference to `dc1394_stop_iso_transmission'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_close':
: undefined reference to `dc1394_dma_unlisten'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_close':
: undefined reference to `dc1394_dma_release_camera'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_close':
: undefined reference to `dc1394_destroy_handle'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_header':
: undefined reference to `ogg_stream_init'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_header':
: undefined reference to `ogg_stream_packetin'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_packet':
: undefined reference to `ogg_stream_packetin'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_packet':
: undefined reference to `ogg_stream_pageout'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_packet':
: undefined reference to `ogg_stream_flush'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_trailer':
: undefined reference to `ogg_stream_flush'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_trailer':
: undefined reference to `ogg_stream_clear'
/usr/lib/libavcodec.a(dtsdec.o): In function `dts_decode_init':
: undefined reference to `dts_init'
/usr/lib/libavcodec.a(dtsdec.o): In function `dts_decode_frame':
: undefined reference to `dts_frame'
/usr/lib/libavcodec.a(dtsdec.o): In function `dts_decode_frame':
: undefined reference to `dts_blocks_num'
/usr/lib/libavcodec.a(dtsdec.o): In function `dts_decode_frame':
: undefined reference to `dts_block'
/usr/lib/libavcodec.a(dtsdec.o): In function `dts_decode_frame':
: undefined reference to `dts_samples'
/usr/lib/libavcodec.a(dtsdec.o): In function `dts_decode_frame':
: undefined reference to `dts_blocks_num'
/usr/lib/libavcodec.a(dtsdec.o): In function `dts_decode_frame':
: undefined reference to `dts_syncinfo'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_info_init'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_encode_init_vbr'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_analysis_init'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_block_init'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_comment_init'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_comment_add_tag'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_analysis_headerout'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_comment_clear'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_encode_init'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_analysis_buffer'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_analysis_wrote'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_analysis_blockout'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_analysis'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_bitrate_addblock'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_bitrate_flushpacket'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_bitrate_flushpacket'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_analysis_blockout'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_close':
: undefined reference to `vorbis_analysis_wrote'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_close':
: undefined reference to `vorbis_block_clear'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_close':
: undefined reference to `vorbis_dsp_clear'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_close':
: undefined reference to `vorbis_info_clear'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_init':
: undefined reference to `vorbis_info_init'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_init':
: undefined reference to `vorbis_comment_init'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_init':
: undefined reference to `vorbis_synthesis_headerin'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_init':
: undefined reference to `vorbis_synthesis_init'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_init':
: undefined reference to `vorbis_block_init'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_frame':
: undefined reference to `vorbis_synthesis'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_frame':
: undefined reference to `vorbis_synthesis_pcmout'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_frame':
: undefined reference to `vorbis_synthesis_read'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_frame':
: undefined reference to `vorbis_synthesis_pcmout'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_frame':
: undefined reference to `vorbis_synthesis_blockin'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_close':
: undefined reference to `vorbis_info_clear'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_close':
: undefined reference to `vorbis_comment_clear'
/usr/lib/libavcodec.a(oggtheora.o): In function `Theora_decode_frame':
: undefined reference to `theora_decode_packetin'
/usr/lib/libavcodec.a(oggtheora.o): In function `Theora_decode_frame':
: undefined reference to `theora_decode_YUVout'
/usr/lib/libavcodec.a(oggtheora.o): In function `Theora_decode_end':
: undefined reference to `theora_info_clear'
/usr/lib/libavcodec.a(oggtheora.o): In function `Theora_decode_end':
: undefined reference to `theora_comment_clear'
/usr/lib/libavcodec.a(oggtheora.o): In function `Theora_decode_init':
: undefined reference to `theora_info_init'
/usr/lib/libavcodec.a(oggtheora.o): In function `Theora_decode_init':
: undefined reference to `theora_decode_header'
/usr/lib/libavcodec.a(oggtheora.o): In function `Theora_decode_init':
: undefined reference to `theora_decode_init'
/usr/lib/libavcodec.a(libgsm.o): In function `libgsm_init':
: undefined reference to `gsm_create'
/usr/lib/libavcodec.a(libgsm.o): In function `libgsm_close':
: undefined reference to `gsm_destroy'
/usr/lib/libavcodec.a(libgsm.o): In function `libgsm_encode_frame':
: undefined reference to `gsm_encode'
/usr/lib/libavcodec.a(libgsm.o): In function `libgsm_decode_frame':
: undefined reference to `gsm_decode'
collect2: ld returned 1 exit status
make[2]: *** [zmc] Error 1
make[2]: Leaving directory `/home/ccurtis/Desktop/zm/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ccurtis/Desktop/zm'
make: *** [all] Error 2
root@pc-00102:~/Desktop/zm#
Thanks for getting back to me. I copied the entire make output, I hope this helps. Thank you for your time. Also, I'm asking so I will learn something.
What told you I had an ffmpeg issue. Again, I'm just trying to understand this type of problem.
Also, you may not know the answer, but where can I "commission" someone to create a debian package for Zoneminder. I'm willing to pay for this service!
Thanks again.
Chris Curtis
root@pc-00102:~/Desktop/zm# make
make all-recursive
make[1]: Entering directory `/home/ccurtis/Desktop/zm'
Making all in src
make[2]: Entering directory `/home/ccurtis/Desktop/zm/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/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 -I/usr/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 -I/usr/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 -I/usr/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 -I/usr/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 -I/usr/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 -I/usr/include -g -O2 -MT zm_poly.o -MD -MP -MF ".deps/zm_poly.Tpo" -c -o zm_poly.o zm_poly.cpp; \
then mv -f ".deps/zm_poly.Tpo" ".deps/zm_poly.Po"; else rm -f ".deps/zm_poly.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/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 -I/usr/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 -I/usr/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 -I/usr/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 -I/usr/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 -I/usr/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 -I/usr/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 -I/usr/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 -I/usr/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 -I/usr/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 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/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 -I/usr/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
g++ -g -O2 -L/usr/lib -L/usr/lib/mysql -o zmc zmc.o zm.o zm_db.o zm_config.o zm_coord.o zm_box.o zm_poly.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 -lavformat -lavcodec -lavutil -lpcre -lcrypto -lmysqlclient -ldl -lz -ljpeg
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header':
: undefined reference to `dc1394_create_handle'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header':
: undefined reference to `dc1394_get_camera_nodes'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header':
: undefined reference to `dc1394_dma_setup_capture'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header':
: undefined reference to `dc1394_destroy_handle'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header':
: undefined reference to `dc1394_start_iso_transmission'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header':
: undefined reference to `dc1394_dma_unlisten'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header':
: undefined reference to `dc1394_dma_release_camera'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_packet':
: undefined reference to `dc1394_dma_done_with_buffer'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_packet':
: undefined reference to `dc1394_dma_single_capture'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_close':
: undefined reference to `dc1394_stop_iso_transmission'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_close':
: undefined reference to `dc1394_dma_unlisten'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_close':
: undefined reference to `dc1394_dma_release_camera'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_close':
: undefined reference to `dc1394_destroy_handle'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_header':
: undefined reference to `ogg_stream_init'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_header':
: undefined reference to `ogg_stream_packetin'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_packet':
: undefined reference to `ogg_stream_packetin'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_packet':
: undefined reference to `ogg_stream_pageout'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_packet':
: undefined reference to `ogg_stream_flush'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_trailer':
: undefined reference to `ogg_stream_flush'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_trailer':
: undefined reference to `ogg_stream_clear'
/usr/lib/libavcodec.a(dtsdec.o): In function `dts_decode_init':
: undefined reference to `dts_init'
/usr/lib/libavcodec.a(dtsdec.o): In function `dts_decode_frame':
: undefined reference to `dts_frame'
/usr/lib/libavcodec.a(dtsdec.o): In function `dts_decode_frame':
: undefined reference to `dts_blocks_num'
/usr/lib/libavcodec.a(dtsdec.o): In function `dts_decode_frame':
: undefined reference to `dts_block'
/usr/lib/libavcodec.a(dtsdec.o): In function `dts_decode_frame':
: undefined reference to `dts_samples'
/usr/lib/libavcodec.a(dtsdec.o): In function `dts_decode_frame':
: undefined reference to `dts_blocks_num'
/usr/lib/libavcodec.a(dtsdec.o): In function `dts_decode_frame':
: undefined reference to `dts_syncinfo'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_info_init'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_encode_init_vbr'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_analysis_init'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_block_init'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_comment_init'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_comment_add_tag'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_analysis_headerout'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_comment_clear'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_encode_init'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_analysis_buffer'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_analysis_wrote'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_analysis_blockout'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_analysis'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_bitrate_addblock'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_bitrate_flushpacket'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_bitrate_flushpacket'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_analysis_blockout'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_close':
: undefined reference to `vorbis_analysis_wrote'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_close':
: undefined reference to `vorbis_block_clear'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_close':
: undefined reference to `vorbis_dsp_clear'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_encode_close':
: undefined reference to `vorbis_info_clear'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_init':
: undefined reference to `vorbis_info_init'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_init':
: undefined reference to `vorbis_comment_init'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_init':
: undefined reference to `vorbis_synthesis_headerin'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_init':
: undefined reference to `vorbis_synthesis_init'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_init':
: undefined reference to `vorbis_block_init'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_frame':
: undefined reference to `vorbis_synthesis'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_frame':
: undefined reference to `vorbis_synthesis_pcmout'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_frame':
: undefined reference to `vorbis_synthesis_read'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_frame':
: undefined reference to `vorbis_synthesis_pcmout'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_frame':
: undefined reference to `vorbis_synthesis_blockin'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_close':
: undefined reference to `vorbis_info_clear'
/usr/lib/libavcodec.a(oggvorbis.o): In function `oggvorbis_decode_close':
: undefined reference to `vorbis_comment_clear'
/usr/lib/libavcodec.a(oggtheora.o): In function `Theora_decode_frame':
: undefined reference to `theora_decode_packetin'
/usr/lib/libavcodec.a(oggtheora.o): In function `Theora_decode_frame':
: undefined reference to `theora_decode_YUVout'
/usr/lib/libavcodec.a(oggtheora.o): In function `Theora_decode_end':
: undefined reference to `theora_info_clear'
/usr/lib/libavcodec.a(oggtheora.o): In function `Theora_decode_end':
: undefined reference to `theora_comment_clear'
/usr/lib/libavcodec.a(oggtheora.o): In function `Theora_decode_init':
: undefined reference to `theora_info_init'
/usr/lib/libavcodec.a(oggtheora.o): In function `Theora_decode_init':
: undefined reference to `theora_decode_header'
/usr/lib/libavcodec.a(oggtheora.o): In function `Theora_decode_init':
: undefined reference to `theora_decode_init'
/usr/lib/libavcodec.a(libgsm.o): In function `libgsm_init':
: undefined reference to `gsm_create'
/usr/lib/libavcodec.a(libgsm.o): In function `libgsm_close':
: undefined reference to `gsm_destroy'
/usr/lib/libavcodec.a(libgsm.o): In function `libgsm_encode_frame':
: undefined reference to `gsm_encode'
/usr/lib/libavcodec.a(libgsm.o): In function `libgsm_decode_frame':
: undefined reference to `gsm_decode'
collect2: ld returned 1 exit status
make[2]: *** [zmc] Error 1
make[2]: Leaving directory `/home/ccurtis/Desktop/zm/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ccurtis/Desktop/zm'
make: *** [all] Error 2
root@pc-00102:~/Desktop/zm#
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
This looks like quite a common problem where you have built ffmpeg with support for other libraries and codecs, e.g. Ogg Vorbis etc. In this case you need to supply those libraries via the ZM_EXTRA_LIBS option to configure. Otherwise ZM doesn't know anything about them and so you get the undefined references as you are seeing.
Debian-wise I'm not an expert. However I'm sure someone will volunteer if there is money involved I can put a message up on one of the other forums if you like.
Debian-wise I'm not an expert. However I'm sure someone will volunteer if there is money involved I can put a message up on one of the other forums if you like.
Phil