this is a great work....I hope I can try this software...
When I try to install Zoneminder following this guide http://www.zoneminder.com/wiki/index.php/CentOS
I'll get an error.
My configuration is CentOS 5.5 64bit
the error is:
Code: Select all
[root@localhost ZoneMinder-1.24.2]# make
make all-recursive
make[1]: Entering directory `/root/ZoneMinder-1.24.2'
Making all in src
make[2]: Entering directory `/root/ZoneMinder-1.24.2/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -frepo -g -O2 -MT zmc.o -MD -MP -MF ".deps/zmc.Tpo" -c -o zmc.o zmc.cpp; \
then mv -f ".deps/zmc.Tpo" ".deps/zmc.Po"; else rm -f ".deps/zmc.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -frepo -g -O2 -MT zm_box.o -MD -MP -MF ".deps/zm_box.Tpo" -c -o zm_box.o zm_box.cpp; \
then mv -f ".deps/zm_box.Tpo" ".deps/zm_box.Po"; else rm -f ".deps/zm_box.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -frepo -g -O2 -MT zm_buffer.o -MD -MP -MF ".deps/zm_buffer.Tpo" -c -o zm_buffer.o zm_buffer.cpp; \
then mv -f ".deps/zm_buffer.Tpo" ".deps/zm_buffer.Po"; else rm -f ".deps/zm_buffer.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -frepo -g -O2 -MT zm_camera.o -MD -MP -MF ".deps/zm_camera.Tpo" -c -o zm_camera.o zm_camera.cpp; \
then mv -f ".deps/zm_camera.Tpo" ".deps/zm_camera.Po"; else rm -f ".deps/zm_camera.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -frepo -g -O2 -MT zm_comms.o -MD -MP -MF
".deps/zm_comms.Tpo" -c -o zm_comms.o zm_comms.cpp; \
then mv -f ".deps/zm_comms.Tpo" ".deps/zm_comms.Po"; else rm -f ".deps/zm_comms.Tpo"; exit 1; fi
zm_comms.h: In member function ?virtual int Socket::send(const std::string&) const?:
zm_comms.h:323: warning: format ?%d? expects type ?int?, but argument 7 has type ?size_t?
zm_comms.h: In member function ?virtual int Socket::recv(std::string&) const?:
zm_comms.h:332: warning: format ?%d? expects type ?int?, but argument 6 has type ?long unsigned int?
zm_comms.h: In member function ?virtual int Socket::recv(std::string&, size_t) const?:
zm_comms.h:345: warning: format ?%d? expects type ?int?, but argument 6 has type ?size_t?
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -frepo -g -O2 -MT zm_config.o -MD -MP -MF ".deps/zm_config.Tpo" -c -o zm_config.o zm_config.cpp; \
then mv -f ".deps/zm_config.Tpo" ".deps/zm_config.Po"; else rm -f ".deps/zm_config.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -frepo -g -O2 -MT zm_coord.o -MD -MP -MF ".deps/zm_coord.Tpo" -c -o zm_coord.o zm_coord.cpp; \
then mv -f ".deps/zm_coord.Tpo" ".deps/zm_coord.Po"; else rm -f ".deps/zm_coord.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -frepo -g -O2 -MT zm.o -MD -MP -MF ".deps/zm.Tpo" -c -o zm.o zm.cpp; \
then mv -f ".deps/zm.Tpo" ".deps/zm.Po"; else rm -f ".deps/zm.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -frepo -g -O2 -MT zm_db.o -MD -MP -MF ".deps/zm_db.Tpo" -c -o zm_db.o zm_db.cpp; \
then mv -f ".deps/zm_db.Tpo" ".deps/zm_db.Po"; else rm -f ".deps/zm_db.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -frepo -g -O2 -MT zm_event.o -MD -MP -MF ".deps/zm_event.Tpo" -c -o zm_event.o zm_event.cpp; \
then mv -f ".deps/zm_event.Tpo" ".deps/zm_event.Po"; else rm -f ".deps/zm_event.Tpo"; exit 1; fi
zm_event.cpp: In member function ?bool Event::SendFrameImage(const Image*, bool)?:
zm_event.cpp:318: warning: format ?%d? expects type ?int?, but argument 6 has type ?ssize_t?
zm_event.cpp:318: warning: format ?%d? expects type ?int?, but argument 7 has type ?ssize_t?
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -frepo -g -O2 -MT zm_exception.o -MD -MP -MF ".deps/zm_exception.Tpo" -c -o zm_exception.o zm_exception.cpp; \
then mv -f ".deps/zm_exception.Tpo" ".deps/zm_exception.Po"; else rm -f ".deps/zm_exception.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -frepo -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; \
then mv -f ".deps/zm_file_camera.Tpo" ".deps/zm_file_camera.Po"; else rm -f ".deps/zm_file_camera.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -frepo -g -O2 -MT zm_ffmpeg_camera.o -MD -MP -MF ".deps/zm_ffmpeg_camera.Tpo" -c -o zm_ffmpeg_camera.o zm_ffmpeg_camera.cpp; \
then mv -f ".deps/zm_ffmpeg_camera.Tpo" ".deps/zm_ffmpeg_camera.Po"; else rm -f ".deps/zm_ffmpeg_camera.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -frepo -g -O2 -MT zm_image.o -MD -MP -MF ".deps/zm_image.Tpo" -c -o zm_image.o zm_image.cpp; \
then mv -f ".deps/zm_image.Tpo" ".deps/zm_image.Po"; else rm -f ".deps/zm_image.Tpo"; exit 1; fi
zm_image.cpp: In member function ?void Image::Blend(const Image&, int) const?:
zm_image.cpp:779: warning: operation on ?pdest? may be undefined
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -frepo -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;\
then mv -f ".deps/zm_local_camera.Tpo" ".deps/zm_local_camera.Po"; else rm -f ".deps/zm_local_camera.Tpo"; exit 1; fi
zm_local_camera.h:96: error: ?PixelFormat? does not name a type
zm_local_camera.h:97: error: ?PixelFormat? does not name a type
zm_local_camera.h:98: error: ISO C++ forbids declaration of ?AVFrame? with no type
zm_local_camera.h:98: error: expected ?;? before ?*? token
zm_local_camera.cpp:40: error: ?PixelFormat? does not name a type
zm_local_camera.cpp:252: error: expected constructor, destructor, or type conversion before ?*? token
zm_local_camera.cpp: In constructor ?LocalCamera::LocalCamera(int, const std::string&, int, int, const std::string&, int, int, int, int, int, int, int, bool)?:
zm_local_camera.cpp:319: error: ?imagePixFormat? was not declared in this scope
zm_local_camera.cpp:319: error: ?PIX_FMT_GRAY8? was not declared in this scope
zm_local_camera.cpp:319: error: ?PIX_FMT_RGB24? was not declared in this scope
zm_local_camera.cpp:320: error: ?capturePixFormat? was not declared in this scope
zm_local_camera.cpp:320: error: ?getFfPixFormatFromV4lPalette? was not declared in this scope
zm_local_camera.cpp: In member function ?void LocalCamera::Initialise()?:
zm_local_camera.cpp:336: error: ?AV_LOG_DEBUG? was not declared in this scope
zm_local_camera.cpp:336: error: ?av_log_set_level? was not declared in this scope
zm_local_camera.cpp:338: error: ?AV_LOG_QUIET? was not declared in this scope
zm_local_camera.cpp:338: error: ?av_log_set_level? was not declared in this scope
zm_local_camera.cpp:431: error: ?capturePictures? was not declared in this scope
zm_local_camera.cpp:431: error: expected type-specifier before ?AVFrame?
zm_local_camera.cpp:431: error: expected `;' before ?AVFrame?
zm_local_camera.cpp:455: error: ?imagePixFormat? was not declared in this scope
zm_local_camera.cpp:455: error: ?capturePixFormat? was not declared in this scope
zm_local_camera.cpp:457: error: ?avcodec_alloc_frame? was not declared in this scope
zm_local_camera.cpp:460: error: ?AVPicture? was not declared in this scope
zm_local_camera.cpp:460: error: expected primary-expression before ?)? token
zm_local_camera.cpp:460: error: ?avpicture_fill? was not declared in this scope
zm_local_camera.cpp:594: error: ?capturePictures? was not declared in this scope
zm_local_camera.cpp:594: error: expected type-specifier before ?AVFrame?
zm_local_camera.cpp:594: error: expected `;' before ?AVFrame?
zm_local_camera.cpp:602: error: ?imagePixFormat? was not declared in this scope
zm_local_camera.cpp:602: error: ?capturePixFormat? was not declared in this scope
zm_local_camera.cpp:604: error: ?avcodec_alloc_frame? was not declared in this scope
zm_local_camera.cpp:607: error: ?AVPicture? was not declared in this scope
zm_local_camera.cpp:607: error: expected primary-expression before ?)? token
zm_local_camera.cpp:607: error: ?avpicture_fill? was not declared in this scope
zm_local_camera.cpp: In member function ?virtual int LocalCamera::Capture(Image&)?:
zm_local_camera.cpp:1576: error: expected initializer before ?*? token
zm_local_camera.cpp:1578: error: ?imagePixFormat? was not declared in this scope
zm_local_camera.cpp:1578: error: ?capturePixFormat? was not declared in this scope
zm_local_camera.cpp:1582: error: ?SWS_BICUBIC? was not declared in this scope
zm_local_camera.cpp:1582: error: ?sws_getContext? was not declared in this scope
zm_local_camera.cpp:1586: error: ?tmpPicture? was not declared in this scope
zm_local_camera.cpp:1586: error: ?avcodec_alloc_frame? was not declared in this scope
zm_local_camera.cpp:1589: error: ?avpicture_get_size? was not declared in this scope
zm_local_camera.cpp:1590: error: ?av_malloc? was not declared in this scope
zm_local_camera.cpp:1593: error: ?AVPicture? was not declared in this scope
zm_local_camera.cpp:1593: error: expected primary-expression before ?)? token
zm_local_camera.cpp:1593: error: ?avpicture_fill? was not declared in this scope
zm_local_camera.cpp:1595: error: ?capturePictures? was not declared in this scope
zm_local_camera.cpp:1595: error: ?tmpPicture? was not declared in this scope
zm_local_camera.cpp:1595: error: ?sws_scale? was not declared in this scope
make[2]: *** [zm_local_camera.o] Error 1
make[2]: Leaving directory `/root/ZoneMinder-1.24.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/ZoneMinder-1.24.2'
make: *** [all] Error 2
[root@localhost ZoneMinder-1.24.2]#
Thanks in advance
Andrea