Another Fedora 14 issue
Posted: Mon Sep 12, 2011 6:57 pm
Hi all,
I'm having trouble compiling 1.25 on fedora 14. I have the zoneminder-1.24.2-6.fc14.x86_64 already installed from one of the repos.
But my laptops' on-board camera doesn't seem to work. So trying to upgrade in hopes of fixing that.
I've tried to include some pertinent information. ANY help would be greatly appreciated.
Thanks in advance.
Here's my ./configure command;
./configure --enable-mmap=no --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-ffmpeg=/usr/share/ffmpeg CPPFLAGS="-D__STDC_CONSTANT_MACROS" --with-webuser=apache --with-webgroup=apache ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zmuser ZM_DB_PASS=zmpass --with-extralibs="-L/usr/lib64 -L/usr/lib64/mysql" CXXFLAGS="-D__STDC_CONSTANT_MACROS"
Here's my ffmpeg version info;
FFmpeg version 0.6.3-rpmfusion, Copyright (c) 2000-2010 the FFmpeg developers
built on May 5 2011 19:20:01 with gcc 4.5.1 20100924 (Red Hat 4.5.1-4)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --extra-version=rpmfusion --enable-bzlib --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
WARNING: library configuration mismatch
libpostproc configuration: --enable-gpl --enable-shared --enable-pthreads
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
FFmpeg 0.6.3-rpmfusion
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
Here's the output of "make";
make all-recursive
make[1]: Entering directory `/home/L0key/Source/ZoneMinder-1.25.0'
Making all in src
make[2]: Entering directory `/home/L0key/Source/ZoneMinder-1.25.0/src'
g++ -D__STDC_CONSTANT_MACROS -L/usr/share/ffmpeg/lib -L/usr/lib/mysql -L/usr/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_logger.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 -lbz2 -lswscale -lavdevice -lavformat -lavcodec -lavutil -lz -lgnutls-openssl -lgcrypt -ldl -lpthread -ljpeg -lmysqlclient
zm_mpeg.o: In function `VideoStream::OpenStream()':
zm_mpeg.cpp:(.text+0x8be): undefined reference to `avio_open'
zm_mpeg.o: In function `VideoStream::~VideoStream()':
zm_mpeg.cpp:(.text+0xb0c): undefined reference to `avio_close'
collect2: ld returned 1 exit status
make[2]: *** [zmc] Error 1
make[2]: Leaving directory `/home/L0key/Source/ZoneMinder-1.25.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/L0key/Source/ZoneMinder-1.25.0'
make: *** [all] Error 2
I'm having trouble compiling 1.25 on fedora 14. I have the zoneminder-1.24.2-6.fc14.x86_64 already installed from one of the repos.
But my laptops' on-board camera doesn't seem to work. So trying to upgrade in hopes of fixing that.
I've tried to include some pertinent information. ANY help would be greatly appreciated.
Thanks in advance.
Here's my ./configure command;
./configure --enable-mmap=no --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-ffmpeg=/usr/share/ffmpeg CPPFLAGS="-D__STDC_CONSTANT_MACROS" --with-webuser=apache --with-webgroup=apache ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zmuser ZM_DB_PASS=zmpass --with-extralibs="-L/usr/lib64 -L/usr/lib64/mysql" CXXFLAGS="-D__STDC_CONSTANT_MACROS"
Here's my ffmpeg version info;
FFmpeg version 0.6.3-rpmfusion, Copyright (c) 2000-2010 the FFmpeg developers
built on May 5 2011 19:20:01 with gcc 4.5.1 20100924 (Red Hat 4.5.1-4)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --extra-version=rpmfusion --enable-bzlib --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
WARNING: library configuration mismatch
libpostproc configuration: --enable-gpl --enable-shared --enable-pthreads
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
FFmpeg 0.6.3-rpmfusion
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
Here's the output of "make";
make all-recursive
make[1]: Entering directory `/home/L0key/Source/ZoneMinder-1.25.0'
Making all in src
make[2]: Entering directory `/home/L0key/Source/ZoneMinder-1.25.0/src'
g++ -D__STDC_CONSTANT_MACROS -L/usr/share/ffmpeg/lib -L/usr/lib/mysql -L/usr/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_logger.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 -lbz2 -lswscale -lavdevice -lavformat -lavcodec -lavutil -lz -lgnutls-openssl -lgcrypt -ldl -lpthread -ljpeg -lmysqlclient
zm_mpeg.o: In function `VideoStream::OpenStream()':
zm_mpeg.cpp:(.text+0x8be): undefined reference to `avio_open'
zm_mpeg.o: In function `VideoStream::~VideoStream()':
zm_mpeg.cpp:(.text+0xb0c): undefined reference to `avio_close'
collect2: ld returned 1 exit status
make[2]: *** [zmc] Error 1
make[2]: Leaving directory `/home/L0key/Source/ZoneMinder-1.25.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/L0key/Source/ZoneMinder-1.25.0'
make: *** [all] Error 2