Compiling 1.24.2 on Mandriva
Posted: Mon Jul 20, 2009 10:36 am
Hi!
Is searched and searched but haven't find any reference on this error.
When i "make install" I get follogin error:
g++ -frepo -g -O2 -L/usr/local/lib/lib64 -L/usr/lib64/mysql -o zmc zmc.o zm_box.o zm_buffer.o zm_camera.o zm_comms.o zm_config.o zm_coord.o zm.o zm_db.o zm_debug.o zm_event.o zm_exception.o zm_file_camera.o zm_ffmpeg_camera.o zm_image.o zm_jpeg.o zm_local_camera.o zm_monitor.o zm_ffmpeg.o zm_mpeg.o zm_poly.o zm_regexp.o zm_remote_camera.o zm_remote_camera_http.o zm_remote_camera_rtsp.o zm_rtp.o zm_rtp_ctrl.o zm_rtp_data.o zm_rtp_source.o zm_rtsp.o zm_sdp.o zm_signal.o zm_stream.o zm_thread.o zm_time.o zm_timer.o zm_user.o zm_utils.o zm_zone.o -lz -lswscale -lavformat -lavcodec -lavutil -lpcre -lgnutls-openssl -ldl -lpthread -ljpeg -lmysqlclient
zm_sdp.o: In function `SessionDescriptor::generateFormatContext() const':
/usr/src/ZoneMinder-1.24.2/src/zm_sdp.cpp:290: undefined reference to `avformat_alloc_context'
collect2: ld returned 1 exit status
make[1]: *** [zmc] Error 1
make[1]: Leaving directory `/usr/src/ZoneMinder-1.24.2/src'
make: *** [install-recursive] Error 1
Any ideas? It was configured like this:
./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-ffmpeg=/usr/local/lib --with-libarch=lib64
Thanks for all the help!!!
Is searched and searched but haven't find any reference on this error.
When i "make install" I get follogin error:
g++ -frepo -g -O2 -L/usr/local/lib/lib64 -L/usr/lib64/mysql -o zmc zmc.o zm_box.o zm_buffer.o zm_camera.o zm_comms.o zm_config.o zm_coord.o zm.o zm_db.o zm_debug.o zm_event.o zm_exception.o zm_file_camera.o zm_ffmpeg_camera.o zm_image.o zm_jpeg.o zm_local_camera.o zm_monitor.o zm_ffmpeg.o zm_mpeg.o zm_poly.o zm_regexp.o zm_remote_camera.o zm_remote_camera_http.o zm_remote_camera_rtsp.o zm_rtp.o zm_rtp_ctrl.o zm_rtp_data.o zm_rtp_source.o zm_rtsp.o zm_sdp.o zm_signal.o zm_stream.o zm_thread.o zm_time.o zm_timer.o zm_user.o zm_utils.o zm_zone.o -lz -lswscale -lavformat -lavcodec -lavutil -lpcre -lgnutls-openssl -ldl -lpthread -ljpeg -lmysqlclient
zm_sdp.o: In function `SessionDescriptor::generateFormatContext() const':
/usr/src/ZoneMinder-1.24.2/src/zm_sdp.cpp:290: undefined reference to `avformat_alloc_context'
collect2: ld returned 1 exit status
make[1]: *** [zmc] Error 1
make[1]: Leaving directory `/usr/src/ZoneMinder-1.24.2/src'
make: *** [install-recursive] Error 1
Any ideas? It was configured like this:
./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-ffmpeg=/usr/local/lib --with-libarch=lib64
Thanks for all the help!!!