Error compiling Zoneminder
Posted: Wed Jan 09, 2008 2:24 pm
Hi all! I'm trying to install zoneminder 1.23 from source but i'll keep having error messages The "configure" part goes well, but when i "make" here it is what i get:
What could it be??
Thankx to anyone
Code: Select all
make all-recursive
make[1]: Entering directory `/home/justin/Desktop/ZoneMinder-1.23.0'
Making all in src
make[2]: Entering directory `/home/justin/Desktop/ZoneMinder-1.23.0/src'
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/mysql/include -I/usr/lib/include -g -O2 -MT zmc.o -MD -MP -MF .deps/zmc.Tpo -c -o zmc.o zmc.cpp
mv -f .deps/zmc.Tpo .deps/zmc.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/mysql/include -I/usr/lib/include -g -O2 -MT zm.o -MD -MP -MF .deps/zm.Tpo -c -o zm.o zm.cpp
mv -f .deps/zm.Tpo .deps/zm.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/mysql/include -I/usr/lib/include -g -O2 -MT zm_db.o -MD -MP -MF .deps/zm_db.Tpo -c -o zm_db.o zm_db.cpp
mv -f .deps/zm_db.Tpo .deps/zm_db.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/mysql/include -I/usr/lib/include -g -O2 -MT zm_config.o -MD -MP -MF .deps/zm_config.Tpo -c -o zm_config.o zm_config.cpp
zm_config.cpp:27: warning: deprecated conversion from string constant to ‘char*’
zm_config.cpp:27: warning: deprecated conversion from string constant to ‘char*’
zm_config.cpp:27: warning: deprecated conversion from string constant to ‘char*’
zm_config.cpp:27: warning: deprecated conversion from string constant to ‘char*’
zm_config.cpp:27: warning: deprecated conversion from string constant to ‘char*’
mv -f .deps/zm_config.Tpo .deps/zm_config.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/mysql/include -I/usr/lib/include -g -O2 -MT zm_coord.o -MD -MP -MF .deps/zm_coord.Tpo -c -o zm_coord.o zm_coord.cpp
mv -f .deps/zm_coord.Tpo .deps/zm_coord.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/mysql/include -I/usr/lib/include -g -O2 -MT zm_box.o -MD -MP -MF .deps/zm_box.Tpo -c -o zm_box.o zm_box.cpp
mv -f .deps/zm_box.Tpo .deps/zm_box.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/mysql/include -I/usr/lib/include -g -O2 -MT zm_poly.o -MD -MP -MF .deps/zm_poly.Tpo -c -o zm_poly.o zm_poly.cpp
mv -f .deps/zm_poly.Tpo .deps/zm_poly.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/mysql/include -I/usr/lib/include -g -O2 -MT zm_image.o -MD -MP -MF .deps/zm_image.Tpo -c -o zm_image.o zm_image.cpp
mv -f .deps/zm_image.Tpo .deps/zm_image.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/mysql/include -I/usr/lib/include -g -O2 -MT zm_stream.o -MD -MP -MF .deps/zm_stream.Tpo -c -o zm_stream.o zm_stream.cpp
mv -f .deps/zm_stream.Tpo .deps/zm_stream.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/mysql/include -I/usr/lib/include -g -O2 -MT zm_event.o -MD -MP -MF .deps/zm_event.Tpo -c -o zm_event.o zm_event.cpp
mv -f .deps/zm_event.Tpo .deps/zm_event.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/mysql/include -I/usr/lib/include -g -O2 -MT zm_zone.o -MD -MP -MF .deps/zm_zone.Tpo -c -o zm_zone.o zm_zone.cpp
mv -f .deps/zm_zone.Tpo .deps/zm_zone.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/mysql/include -I/usr/lib/include -g -O2 -MT zm_camera.o -MD -MP -MF .deps/zm_camera.Tpo -c -o zm_camera.o zm_camera.cpp
mv -f .deps/zm_camera.Tpo .deps/zm_camera.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/mysql/include -I/usr/lib/include -g -O2 -MT zm_local_camera.o -MD -MP -MF .deps/zm_local_camera.Tpo -c -o zm_local_camera.o zm_local_camera.cpp
mv -f .deps/zm_local_camera.Tpo .deps/zm_local_camera.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/mysql/include -I/usr/lib/include -g -O2 -MT zm_remote_camera.o -MD -MP -MF .deps/zm_remote_camera.Tpo -c -o zm_remote_camera.o zm_remote_camera.cpp
mv -f .deps/zm_remote_camera.Tpo .deps/zm_remote_camera.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/mysql/include -I/usr/lib/include -g -O2 -MT zm_file_camera.o -MD -MP -MF .deps/zm_file_camera.Tpo -c -o zm_file_camera.o zm_file_camera.cpp
mv -f .deps/zm_file_camera.Tpo .deps/zm_file_camera.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/mysql/include -I/usr/lib/include -g -O2 -MT zm_monitor.o -MD -MP -MF .deps/zm_monitor.Tpo -c -o zm_monitor.o zm_monitor.cpp
mv -f .deps/zm_monitor.Tpo .deps/zm_monitor.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/mysql/include -I/usr/lib/include -g -O2 -MT zm_user.o -MD -MP -MF .deps/zm_user.Tpo -c -o zm_user.o zm_user.cpp
mv -f .deps/zm_user.Tpo .deps/zm_user.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/mysql/include -I/usr/lib/include -g -O2 -MT zm_mpeg.o -MD -MP -MF .deps/zm_mpeg.Tpo -c -o zm_mpeg.o zm_mpeg.cpp
zm_mpeg.cpp: In destructor ‘VideoStream::~VideoStream()’:
zm_mpeg.cpp:281: error: cannot convert ‘ByteIOContext’ to ‘ByteIOContext*’ for argument ‘1’ to ‘int url_fclose(ByteIOContext*)’
zm_mpeg.cpp: In member function ‘double VideoStream::EncodeFrame(uint8_t*, int, bool, unsigned int)’:
zm_mpeg.cpp:325: warning: ‘img_convert’ is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2636)
zm_mpeg.cpp:325: warning: ‘img_convert’ is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2636)
make[2]: *** [zm_mpeg.o] Error 1
make[2]: Leaving directory `/home/justin/Desktop/ZoneMinder-1.23.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/justin/Desktop/ZoneMinder-1.23.0'
make: *** [all] Error 2
Thankx to anyone