Make problem, says undnefined reference
Posted: Thu Dec 29, 2005 10:27 pm
i have followed every step but when i compile "type make" it give th following errors
make[2]: Entering directory `/home/rcs/Programas/zm-1.21.4/src'
g++ -g -O2 -L/usr -L/usr/lib -L/usr/lib/mysql -o zmc zmc.o zm.o zm_db.o zm_c
onfig.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 z
m_jpeg.o zm_regexp.o zm_buffer.o zm_debug.o -lavformat -lavcodec -lavutil -lpcr
e -lmysqlclient -ldl -lz -ljpeg
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header': undefined re
ference to `dc1394_create_handle'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header': undefined re
ference to `dc1394_get_camera_nodes'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header': undefined re
ference to `dc1394_dma_setup_capture'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header': undefined re
ference to `dc1394_destroy_handle'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header': undefined re
ference to `dc1394_start_iso_transmission'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header': undefined re
ference to `dc1394_dma_unlisten'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header': undefined re
ference to `dc1394_dma_release_camera'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_packet': undefined re
ference to `dc1394_dma_done_with_buffer'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_packet': undefined re
ference to `dc1394_dma_single_capture'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_close': undefined referenc
e to `dc1394_stop_iso_transmission'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_close': undefined referenc
e to `dc1394_dma_unlisten'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_close': undefined referenc
e to `dc1394_dma_release_camera'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_close': undefined referenc
e to `dc1394_destroy_handle'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_header': undefined referen
ce to `ogg_stream_init'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_header': undefined referen
ce to `ogg_stream_packetin'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_packet': undefined referen
ce to `ogg_stream_flush'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_packet': undefined referen
ce to `ogg_stream_packetin'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_packet': undefined referen
ce to `ogg_stream_pageout'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_trailer': undefined refere
nce to `ogg_stream_flush'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_trailer': undefined refere
and others similar to these, i have reinstalled everything but it keeps giving me the same problems
any idea of what to do?
make[2]: Entering directory `/home/rcs/Programas/zm-1.21.4/src'
g++ -g -O2 -L/usr -L/usr/lib -L/usr/lib/mysql -o zmc zmc.o zm.o zm_db.o zm_c
onfig.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 z
m_jpeg.o zm_regexp.o zm_buffer.o zm_debug.o -lavformat -lavcodec -lavutil -lpcr
e -lmysqlclient -ldl -lz -ljpeg
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header': undefined re
ference to `dc1394_create_handle'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header': undefined re
ference to `dc1394_get_camera_nodes'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header': undefined re
ference to `dc1394_dma_setup_capture'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header': undefined re
ference to `dc1394_destroy_handle'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header': undefined re
ference to `dc1394_start_iso_transmission'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header': undefined re
ference to `dc1394_dma_unlisten'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_header': undefined re
ference to `dc1394_dma_release_camera'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_packet': undefined re
ference to `dc1394_dma_done_with_buffer'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_read_packet': undefined re
ference to `dc1394_dma_single_capture'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_close': undefined referenc
e to `dc1394_stop_iso_transmission'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_close': undefined referenc
e to `dc1394_dma_unlisten'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_close': undefined referenc
e to `dc1394_dma_release_camera'
/usr/lib/libavformat.a(dc1394.o): In function `dc1394_close': undefined referenc
e to `dc1394_destroy_handle'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_header': undefined referen
ce to `ogg_stream_init'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_header': undefined referen
ce to `ogg_stream_packetin'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_packet': undefined referen
ce to `ogg_stream_flush'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_packet': undefined referen
ce to `ogg_stream_packetin'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_packet': undefined referen
ce to `ogg_stream_pageout'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_trailer': undefined refere
nce to `ogg_stream_flush'
/usr/lib/libavformat.a(ogg.o): In function `ogg_write_trailer': undefined refere
and others similar to these, i have reinstalled everything but it keeps giving me the same problems
any idea of what to do?