Another Fedora 14 issue

Forum for questions and support relating to the 1.25.x releases only.
Locked
L0key
Posts: 4
Joined: Sun Nov 29, 2009 3:03 am
Location: The Gathering Place

Another Fedora 14 issue

Post by L0key »

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. :D

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
"Knowledge, without action, is useless. It's not what you learn, it's what you live."

Dr Kyla Dillard
Miru
Posts: 17
Joined: Thu Sep 01, 2011 12:23 pm

Re: Another Fedora 14 issue

Post by Miru »

Hi all,

same problem here with ubuntu 11.04 64-bit.

Any hints ? Thanks in advance :)

Regards
Michael
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: Another Fedora 14 issue

Post by mastertheknife »

Have you tried upgrading ffmpeg? I believe those two are only found in recent versions of ffmpeg.

mastertheknife
Kfir Itzhak.
Miru
Posts: 17
Joined: Thu Sep 01, 2011 12:23 pm

Re: Another Fedora 14 issue

Post by Miru »

Yes, I tried it ... ffmpeg-0.8.3 ... same error with correct path to ffmpeg and libs :(
sasha1grate
Posts: 1
Joined: Tue Sep 13, 2011 6:44 pm

Re: Another Fedora 14 issue

Post by sasha1grate »

Miru wrote:Yes, I tried it ... ffmpeg-0.8.3 ... same error with correct path to ffmpeg and libs :(
Miru
Posts: 17
Joined: Thu Sep 01, 2011 12:23 pm

Re: Another Fedora 14 issue

Post by Miru »

OK ... I'm thinking, that I understood the last post.

ffmpeg in the last test and the output:

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
Hyper fast Audio and Video encoder

... I'll try tomorrow a new configuration/installation of ffmpeg and libs.

Now it's too late for me in Germany.

Thanks and regards

Michael
Locked