Page 1 of 1

Compilation error

Posted: Tue Nov 15, 2011 10:58 am
by padawan
I do under the instruction http://www.zoneminder.com/wiki/index.php/CentOS
OS -- Centos 5.5

Code: Select all

./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin --with-ffmpeg=/usr/local/share/ffmpeg CPPFLAGS="-D__STDC_CONSTANT_MACROS"
OK.

Code: Select all

make
...
zm_mpeg.o: In function `~VideoStream':
 /home/foolish/cctv/ZoneMinder-1.25.0/src/zm_mpeg.cpp:293: undefined reference to `avio_close'
 /home/foolish/cctv/ZoneMinder-1.25.0/src/zm_mpeg.cpp:293: undefined reference to `avio_close'
 zm_mpeg.o: In function `VideoStream:penStream()':
 /home/foolish/cctv/ZoneMinder-1.25.0/src/zm_mpeg.cpp:225: undefined reference to `avio_open'
 collect2: выполнение ld завершилось с кодом возврата 1
 make[2]: *** [zmc] Ошибка 1
 make[2]: Leaving directory `/home/foolish/cctv/ZoneMinder-1.25.0/src'
 make[1]: *** [all-recursive] Ошибка 1
 make[1]: Leaving directory `/home/foolish/cctv/ZoneMinder-1.25.0'
 make: *** [all] Ошибка 2

Help me, please.