zm_mpeg.o(.text+0xa0b): In function `VideoStream::EncodeFrame(unsigned char*, int, bool, unsigned)':
/ZoneMinder-1.22.3/src/zm_mpeg.cpp:308: undefined reference to `img_convert'
collect2: ld returned 1 exit status
make[2]: *** [zmc] Error 1
make[2]: Leaving directory `/ZoneMinder-1.22.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/ZoneMinder-1.22.3'
make: *** [all] Error 2
[root@video /ZoneMinder-1.22.3]#
what can I do with this ?????
zm_mpeg.cpp:308: undefined reference to `img_convert'
* apache2
* apache2-worker
* apache2-mod_perl
* apache2-mod_php5
* apache2-mod-apparmor
* php5
* php5-mysql
* mysql
* mysql-devel
* gcc
* gcc-c++
* libmpeg2
* libmpeg2-devel
* ffmpeg
* libffmpeg0
* libffmpeg0-devel
* libjpeg
* libjpeg-devel
* pcre-devel
* xawtv
* openssl-devel
Is everithing installed?
Sorry my english is not very good
* apache2-worker
* apache2-mod_perl
* apache2-mod_php5
* apache2-mod-apparmor
* php5
* php5-mysql
* mysql
* mysql-devel
* gcc
* gcc-c++
* libmpeg2
* libmpeg2-devel
* ffmpeg
* libffmpeg0
* libffmpeg0-devel
* libjpeg
* libjpeg-devel
* pcre-devel
* xawtv
* openssl-devel
Is everithing installed?
Sorry my english is not very good
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Hi.
It seems as the img_* functions were deprecated by swscaler functions, and package maintainers began to use the "--enable-swscale" switch during compilations:
http://article.gmane.org/gmane.comp.vid ... mg+convert
A patch can be probably done to resolve this, but manual FFMPEG compilation (without the "--enable-swscale" switch) seems to be the best option so far.
It seems as the img_* functions were deprecated by swscaler functions, and package maintainers began to use the "--enable-swscale" switch during compilations:
http://article.gmane.org/gmane.comp.vid ... mg+convert
A patch can be probably done to resolve this, but manual FFMPEG compilation (without the "--enable-swscale" switch) seems to be the best option so far.
I had exacty the same issue when doing a fresh install of Zoneminder on Fedora 6.
Version 0.4.9-0.34.20070204 of the ffmpeg fixed the problem introduced with the "swcaler' previously. After fooling around downloading and building the latest ffmpeg from svn, I reverted to rpm building the src rpm and installing.
Here is a snipit from the ffmpeg changelog:
%changelog
* Sun Feb 4 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.34.20070204
- 2007-02-04 snapshot, enable libtheora.
- Make swscaler optional, disabled again by default (#1379).
Version 0.4.9-0.34.20070204 of the ffmpeg fixed the problem introduced with the "swcaler' previously. After fooling around downloading and building the latest ffmpeg from svn, I reverted to rpm building the src rpm and installing.
Here is a snipit from the ffmpeg changelog:
%changelog
* Sun Feb 4 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.4.9-0.34.20070204
- 2007-02-04 snapshot, enable libtheora.
- Make swscaler optional, disabled again by default (#1379).