build failure with gcc 4.3.3
build failure with gcc 4.3.3
Does it build with such gcc for anyone?
[...]
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_ffmpeg.o -MD -MP -MF .deps/zm_ffmpeg.Tpo -c -o zm_ffmpeg.o zm_ffmpeg.cpp
mv -f .deps/zm_ffmpeg.Tpo .deps/zm_ffmpeg.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_mpeg.o -MD -MP -MF .deps/zm_mpeg.Tpo -c -o zm_mpeg.o zm_mpeg.cpp
mv -f .deps/zm_mpeg.Tpo .deps/zm_mpeg.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -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
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_regexp.o -MD -MP -MF .deps/zm_regexp.Tpo -c -o zm_regexp.o zm_regexp.cpp
mv -f .deps/zm_regexp.Tpo .deps/zm_regexp.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -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
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_remote_camera_http.o -MD -MP -MF .deps/zm_remote_camera_http.Tpo -c -o zm_remote_camera_http.o zm_remote_camera_http.cpp
mv -f .deps/zm_remote_camera_http.Tpo .deps/zm_remote_camera_http.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_remote_camera_rtsp.o -MD -MP -MF .deps/zm_remote_camera_rtsp.Tpo -c -o zm_remote_camera_rtsp.o zm_remote_camera_rtsp.cpp
In file included from zm_rtsp.h:25,
from zm_remote_camera_rtsp.h:27,
from zm_remote_camera_rtsp.cpp:24:
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'
mv -f .deps/zm_remote_camera_rtsp.Tpo .deps/zm_remote_camera_rtsp.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_rtp.o -MD -MP -MF .deps/zm_rtp.Tpo -c -o zm_rtp.o zm_rtp.cpp
mv -f .deps/zm_rtp.Tpo .deps/zm_rtp.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_rtp_ctrl.o -MD -MP -MF .deps/zm_rtp_ctrl.Tpo -c -o zm_rtp_ctrl.o zm_rtp_ctrl.cpp
In file included from zm_rtp_ctrl.h:24,
from zm_rtp_ctrl.cpp:24:
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'
zm_rtp_ctrl.cpp: In member function 'int RtpCtrlThread::recvPacket(const unsigned char*, ssize_t)':
zm_rtp_ctrl.cpp:87: warning: format '%d' expects type 'int', but argument 6 has type 'ssize_t'
zm_rtp_ctrl.cpp: In member function 'virtual int RtpCtrlThread::run()':
zm_rtp_ctrl.cpp:297: warning: format '%d' expects type 'int', but argument 6 has type 'ssize_t'
zm_rtp_ctrl.cpp:308: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
mv -f .deps/zm_rtp_ctrl.Tpo .deps/zm_rtp_ctrl.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_rtp_data.o -MD -MP -MF .deps/zm_rtp_data.Tpo -c -o zm_rtp_data.o zm_rtp_data.cpp
In file included from zm_rtsp.h:25,
from zm_rtp_data.cpp:26:
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'
mv -f .deps/zm_rtp_data.Tpo .deps/zm_rtp_data.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_rtp_source.o -MD -MP -MF .deps/zm_rtp_source.Tpo -c -o zm_rtp_source.o zm_rtp_source.cpp
mv -f .deps/zm_rtp_source.Tpo .deps/zm_rtp_source.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_rtsp.o -MD -MP -MF .deps/zm_rtsp.Tpo -c -o zm_rtsp.o zm_rtsp.cpp
In file included from zm_rtsp.h:25,
from zm_rtsp.cpp:24:
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'
zm_rtsp.cpp: In member function 'bool RtspThread::recvResponse(std::string&)':
zm_rtsp.cpp:70: warning: format '%d' expects type 'int', but argument 7 has type 'size_t'
zm_rtsp.cpp:82: warning: format '%d' expects type 'int', but argument 6 has type 'size_t'
zm_rtsp.cpp: In member function 'virtual int RtspThread::run()':
zm_rtsp.cpp:246: warning: format '%d' expects type 'int', but argument 7 has type 'size_t'
zm_rtsp.cpp:258: warning: format '%d' expects type 'int', but argument 6 has type 'size_t'
zm_rtsp.cpp:546: warning: format '%d' expects type 'int', but argument 6 has type 'ssize_t'
zm_rtsp.cpp:558: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
zm_rtsp.cpp:571: warning: format '%d' expects type 'int', but argument 6 has type 'ssize_t'
mv -f .deps/zm_rtsp.Tpo .deps/zm_rtsp.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_signal.o -MD -MP -MF .deps/zm_signal.Tpo -c -o zm_signal.o zm_signal.cpp
zm_signal.cpp: In function 'void zm_die_handler(int, sigcontext)':
zm_signal.cpp:90: warning: format '%p' expects type 'void*', but argument 6 has type 'long unsigned int'
mv -f .deps/zm_signal.Tpo .deps/zm_signal.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -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
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_thread.o -MD -MP -MF .deps/zm_thread.Tpo -c -o zm_thread.o zm_thread.cpp
mv -f .deps/zm_thread.Tpo .deps/zm_thread.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_time.o -MD -MP -MF .deps/zm_time.Tpo -c -o zm_time.o zm_time.cpp
mv -f .deps/zm_time.Tpo .deps/zm_time.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_timer.o -MD -MP -MF .deps/zm_timer.Tpo -c -o zm_timer.o zm_timer.cpp
mv -f .deps/zm_timer.Tpo .deps/zm_timer.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -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
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_utils.o -MD -MP -MF .deps/zm_utils.Tpo -c -o zm_utils.o zm_utils.cpp
mv -f .deps/zm_utils.Tpo .deps/zm_utils.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -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
x86_64-pld-linux-g++ -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -Lyes/lib64 -L/usr/lib64/mysql -Wl,--as-needed -Wl,-z,relro -Wl,-z,combreloc -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_debug.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_signal.o zm_stream.o zm_thread.o zm_time.o zm_timer.o zm_user.o zm_utils.o zm_zone.o -lbz2 -lswscale -lavformat -lavcodec -lavutil -lpcre -lgnutls-openssl -lmysqlclient -lpthread -ldl -lz -ljpeg
collect: recompiling zm_utils.cpp
collect: recompiling zm_rtsp.cpp
In file included from zm_rtsp.h:25,
from zm_rtsp.cpp:24:
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'
zm_rtsp.cpp: In member function 'bool RtspThread::recvResponse(std::string&)':
zm_rtsp.cpp:70: warning: format '%d' expects type 'int', but argument 7 has type 'size_t'
zm_rtsp.cpp:82: warning: format '%d' expects type 'int', but argument 6 has type 'size_t'
zm_rtsp.cpp: In member function 'virtual int RtspThread::run()':
zm_rtsp.cpp:246: warning: format '%d' expects type 'int', but argument 7 has type 'size_t'
zm_rtsp.cpp:258: warning: format '%d' expects type 'int', but argument 6 has type 'size_t'
zm_rtsp.cpp:546: warning: format '%d' expects type 'int', but argument 6 has type 'ssize_t'
zm_rtsp.cpp:558: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
zm_rtsp.cpp:571: warning: format '%d' expects type 'int', but argument 6 has type 'ssize_t'
collect: recompiling zm_thread.cpp
collect: recompiling zm_rtp_source.cpp
collect: recompiling zm_rtp_ctrl.cpp
In file included from zm_rtp_ctrl.h:24,
from zm_rtp_ctrl.cpp:24:
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'
zm_rtp_ctrl.cpp: In member function 'int RtpCtrlThread::recvPacket(const unsigned char*, ssize_t)':
zm_rtp_ctrl.cpp:87: warning: format '%d' expects type 'int', but argument 6 has type 'ssize_t'
zm_rtp_ctrl.cpp: In member function 'virtual int RtpCtrlThread::run()':
zm_rtp_ctrl.cpp:297: warning: format '%d' expects type 'int', but argument 6 has type 'ssize_t'
zm_rtp_ctrl.cpp:308: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
collect: recompiling zm_monitor.cpp
In file included from zm_rtsp.h:25,
from zm_remote_camera_rtsp.h:27,
from zm_monitor.cpp:35:
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'
zm_monitor.cpp: In member function 'bool MonitorStream::sendFrame(const char*, timeval*)':
zm_monitor.cpp:3224: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
zm_monitor.cpp: In member function 'bool MonitorStream::sendFrame(Image*, timeval*)':
zm_monitor.cpp:3295: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
zm_monitor.cpp: In member function 'void Monitor::SingleImage(int)':
zm_monitor.cpp:3624: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
zm_monitor.cpp: In member function 'void Monitor::SingleImageRaw(int)':
zm_monitor.cpp:3647: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
zm_monitor.cpp: In member function 'void Monitor::SingleImageZip(int)':
zm_monitor.cpp:3673: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
collect: recompiling zm_local_camera.cpp
collect: recompiling zm_event.cpp
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'
zm_event.cpp: In member function 'bool EventStream::sendFrame(int)':
zm_event.cpp:1238: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
collect: recompiling zm_comms.cpp
In file included from zm_comms.cpp:20:
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'
collect: relinking
collect: recompiling zm_utils.cpp
collect: recompiling zm_rtsp.cpp
In file included from zm_rtsp.h:25,
from zm_rtsp.cpp:24:
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'
zm_rtsp.cpp: In member function 'bool RtspThread::recvResponse(std::string&)':
zm_rtsp.cpp:70: warning: format '%d' expects type 'int', but argument 7 has type 'size_t'
zm_rtsp.cpp:82: warning: format '%d' expects type 'int', but argument 6 has type 'size_t'
zm_rtsp.cpp: In member function 'virtual int RtspThread::run()':
zm_rtsp.cpp:246: warning: format '%d' expects type 'int', but argument 7 has type 'size_t'
zm_rtsp.cpp:258: warning: format '%d' expects type 'int', but argument 6 has type 'size_t'
zm_rtsp.cpp:546: warning: format '%d' expects type 'int', but argument 6 has type 'ssize_t'
zm_rtsp.cpp:558: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
zm_rtsp.cpp:571: warning: format '%d' expects type 'int', but argument 6 has type 'ssize_t'
collect: recompiling zm_rtp_ctrl.cpp
In file included from zm_rtp_ctrl.h:24,
from zm_rtp_ctrl.cpp:24:
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'
zm_rtp_ctrl.cpp: In member function 'int RtpCtrlThread::recvPacket(const unsigned char*, ssize_t)':
zm_rtp_ctrl.cpp:87: warning: format '%d' expects type 'int', but argument 6 has type 'ssize_t'
zm_rtp_ctrl.cpp: In member function 'virtual int RtpCtrlThread::run()':
zm_rtp_ctrl.cpp:297: warning: format '%d' expects type 'int', but argument 6 has type 'ssize_t'
zm_rtp_ctrl.cpp:308: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
collect: recompiling zm_monitor.cpp
In file included from zm_rtsp.h:25,
from zm_remote_camera_rtsp.h:27,
from zm_monitor.cpp:35:
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'
zm_monitor.cpp: In member function 'bool MonitorStream::sendFrame(const char*, timeval*)':
zm_monitor.cpp:3224: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
zm_monitor.cpp: In member function 'bool MonitorStream::sendFrame(Image*, timeval*)':
zm_monitor.cpp:3295: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
zm_monitor.cpp: In member function 'void Monitor::SingleImage(int)':
zm_monitor.cpp:3624: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
zm_monitor.cpp: In member function 'void Monitor::SingleImageRaw(int)':
zm_monitor.cpp:3647: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
zm_monitor.cpp: In member function 'void Monitor::SingleImageZip(int)':
zm_monitor.cpp:3673: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
collect: recompiling zm_event.cpp
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'
zm_event.cpp: In member function 'bool EventStream::sendFrame(int)':
zm_event.cpp:1238: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
collect: recompiling zm_comms.cpp
In file included from zm_comms.cpp:20:
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'
collect: relinking
collect2: '_ZNSt12_Vector_baseIP9CommsBaseSaIS1_EED1Ev' was assigned to 'zm_comms.rpo', but was not defined during recompilation, or vice versa
zm_comms.o: In function `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_M_erase(std::_Rb_tree_node<CommsBase>*)':
/usr/include/c++/4.3.3/bits/stl_tree.h:941: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_S_right(std::_Rb_tree_node_base*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:942: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_S_left(std::_Rb_tree_node_base*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:943: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_M_destroy_node(std::_Rb_tree_node<CommsBase>*)'
zm_comms.o: In function `~_Vector_base':
/usr/include/c++/4.3.3/bits/stl_vector.h:136: undefined reference to `std::_Vector_base<CommsBase*, std::allocator<CommsBase> >::_M_deallocate(CommsBase**, unsigned long)'
zm_comms.o: In function `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::end() const':
/usr/include/c++/4.3.3/bits/stl_tree.h:617: undefined reference to `std::_Rb_tree_const_iterator<CommsBase>::_Rb_tree_const_iterator(std::_Rb_tree_node<CommsBase> const*)'
zm_comms.o: In function `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::begin() const':
/usr/include/c++/4.3.3/bits/stl_tree.h:606: undefined reference to `std::_Rb_tree_const_iterator<CommsBase>::_Rb_tree_const_iterator(std::_Rb_tree_node<CommsBase> const*)'
zm_comms.o: In function `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::clear()':
/usr/include/c++/4.3.3/bits/stl_tree.h:698: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_M_leftmost()'
/usr/include/c++/4.3.3/bits/stl_tree.h:698: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_M_end()'
/usr/include/c++/4.3.3/bits/stl_tree.h:699: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_M_root()'
/usr/include/c++/4.3.3/bits/stl_tree.h:700: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_M_rightmost()'
/usr/include/c++/4.3.3/bits/stl_tree.h:700: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_M_end()'
zm_comms.o: In function `~vector':
/usr/include/c++/4.3.3/bits/stl_vector.h:300: undefined reference to `std::_Vector_base<CommsBase*, std::allocator<CommsBase> >::~_Vector_base()'
zm_comms.o: In function `std::vector<CommsBase*, std::allocator<CommsBase> >::_M_insert_aux(__gnu_cxx::__normal_iterator<CommsBase**, std::vector<CommsBase*, std::allocator<CommsBase> > >, CommsBase* const&)':
/usr/include/c++/4.3.3/bits/vector.tcc:295: undefined reference to `CommsBase** std::copy_backward<CommsBase>(CommsBase**, CommsBase**, CommsBase**)'
/usr/include/c++/4.3.3/bits/vector.tcc:307: undefined reference to `std::vector<CommsBase*, std::allocator<CommsBase> >::_M_check_len(unsigned long, char const*) const'
/usr/include/c++/4.3.3/bits/vector.tcc:308: undefined reference to `std::_Vector_base<CommsBase*, std::allocator<CommsBase> >::_M_allocate(unsigned long)'
/usr/include/c++/4.3.3/bits/vector.tcc:316: undefined reference to `CommsBase** std::__uninitialized_move_a<CommsBase**, CommsBase**, std::allocator<CommsBase> >(CommsBase**, CommsBase**, CommsBase**, std::allocator<CommsBase>&)'
/usr/include/c++/4.3.3/bits/vector.tcc:324: undefined reference to `CommsBase** std::__uninitialized_move_a<CommsBase**, CommsBase**, std::allocator<CommsBase> >(CommsBase**, CommsBase**, CommsBase**, std::allocator<CommsBase>&)'
/usr/include/c++/4.3.3/bits/vector.tcc:338: undefined reference to `std::_Vector_base<CommsBase*, std::allocator<CommsBase> >::_M_deallocate(CommsBase**, unsigned long)'
/usr/include/c++/4.3.3/bits/vector.tcc:333: undefined reference to `std::_Vector_base<CommsBase*, std::allocator<CommsBase> >::_M_deallocate(CommsBase**, unsigned long)'
zm_comms.o: In function `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::erase(CommsBase* const&)':
/usr/include/c++/4.3.3/bits/stl_tree.h:1343: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::equal_range(CommsBase* const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1344: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::size() const'
/usr/include/c++/4.3.3/bits/stl_tree.h:1345: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::erase(std::_Rb_tree_iterator<CommsBase>, std::_Rb_tree_iterator<CommsBase>)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1346: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::size() const'
zm_comms.o: In function `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_M_insert_unique(CommsBase* const&)':
/usr/include/c++/4.3.3/bits/stl_tree.h:1136: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_M_end()'
/usr/include/c++/4.3.3/bits/stl_tree.h:1142: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_S_left(std::_Rb_tree_node_base*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1141: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_S_key(std::_Rb_tree_node<CommsBase> const*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1141: undefined reference to `std::_Identity<CommsBase>::operator()(CommsBase* const&) const'
/usr/include/c++/4.3.3/bits/stl_tree.h:1141: undefined reference to `std::less<CommsBase>::operator()(CommsBase* const&, CommsBase* const&) const'
/usr/include/c++/4.3.3/bits/stl_tree.h:1142: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_S_right(std::_Rb_tree_node_base*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1144: undefined reference to `std::_Rb_tree_iterator<CommsBase>::_Rb_tree_iterator(std::_Rb_tree_node<CommsBase>*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1152: undefined reference to `std::_Identity<CommsBase>::operator()(CommsBase* const&) const'
/usr/include/c++/4.3.3/bits/stl_tree.h:1152: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_S_key(std::_Rb_tree_node_base const*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1152: undefined reference to `std::less<CommsBase>::operator()(CommsBase* const&, CommsBase* const&) const'
/usr/include/c++/4.3.3/bits/stl_tree.h:1154: undefined reference to `std::pair<std::_Rb_tree_iterator<CommsBase>, bool>::pair(std::_Rb_tree_iterator<CommsBase> const&, bool const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1153: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, CommsBase* const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1153: undefined reference to `std::pair<std::_Rb_tree_iterator<CommsBase>, bool>::pair(std::_Rb_tree_iterator<CommsBase> const&, bool const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1147: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::begin()'
/usr/include/c++/4.3.3/bits/stl_tree.h:1147: undefined reference to `std::_Rb_tree_iterator<CommsBase>::operator==(std::_Rb_tree_iterator<CommsBase> const&) const'
/usr/include/c++/4.3.3/bits/stl_tree.h:1150: undefined reference to `std::_Rb_tree_iterator<CommsBase>::operator--()'
/usr/include/c++/4.3.3/bits/stl_tree.h:1148: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, CommsBase* const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1148: undefined reference to `std::pair<std::_Rb_tree_iterator<CommsBase>, bool>::pair(std::_Rb_tree_iterator<CommsBase> const&, bool const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1144: undefined reference to `std::_Rb_tree_iterator<CommsBase>::_Rb_tree_iterator(std::_Rb_tree_node<CommsBase>*)'
zm_comms.o: In function `vector':
/usr/include/c++/4.3.3/bits/stl_vector.h:213: undefined reference to `std::_Vector_base<CommsBase*, std::allocator<CommsBase> >::_Vector_base()'
zm_comms.o: In function `_Rb_tree':
/usr/include/c++/4.3.3/bits/stl_tree.h:562: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_Rb_tree_impl<std::less<CommsBase>, false>::_Rb_tree_impl()'
zm_comms.o: In function `~allocator':
/usr/include/c++/4.3.3/bits/allocator.h:106: undefined reference to `__gnu_cxx::new_allocator<std::_Rb_tree_node<CommsBase> >::~new_allocator()'
zm_comms.o: In function `_Vector_base':
/usr/include/c++/4.3.3/bits/stl_vector.h:108: undefined reference to `std::_Vector_base<CommsBase*, std::allocator<CommsBase> >::_Vector_impl::_Vector_impl()'
zm_comms.o: In function `void std::_Destroy<CommsBase>(CommsBase**, CommsBase**, std::allocator<CommsBase>&)':
/usr/include/c++/4.3.3/bits/stl_construct.h:126: undefined reference to `void std::_Destroy<CommsBase>(CommsBase**, CommsBase**)'
zm_comms.o: In function `~vector':
/usr/include/c++/4.3.3/bits/stl_vector.h:300: undefined reference to `std::_Vector_base<CommsBase*, std::allocator<CommsBase> >::~_Vector_base()'
zm_comms.o: In function `~_Rb_tree_impl':
/usr/include/c++/4.3.3/bits/stl_tree.h:398: undefined reference to `std::allocator<std::_Rb_tree_node<CommsBase> >::~allocator()'
zm_comms.o: In function `~_Vector_impl':
/usr/include/c++/4.3.3/bits/stl_vector.h:79: undefined reference to `std::allocator<CommsBase>::~allocator()'
zm_event.o: In function `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_erase(std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >*)':
/usr/include/c++/4.3.3/bits/stl_tree.h:941: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_S_right(std::_Rb_tree_node_base*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:942: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_S_left(std::_Rb_tree_node_base*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:943: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_destroy_node(std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >*)'
zm_event.o: In function `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::end()':
/usr/include/c++/4.3.3/bits/stl_tree.h:611: undefined reference to `std::_Rb_tree_iterator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >::_Rb_tree_iterator(std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >*)'
zm_event.o: In function `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::begin()':
/usr/include/c++/4.3.3/bits/stl_tree.h:599: undefined reference to `std::_Rb_tree_iterator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >::_Rb_tree_iterator(std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >*)'
zm_event.o: In function `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::end() const':
/usr/include/c++/4.3.3/bits/stl_tree.h:617: undefined reference to `std::_Rb_tree_const_iterator<std>::_Rb_tree_const_iterator(std::_Rb_tree_node<std> const*)'
zm_event.o: In function `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::begin() const':
/usr/include/c++/4.3.3/bits/stl_tree.h:606: undefined reference to `std::_Rb_tree_const_iterator<std>::_Rb_tree_const_iterator(std::_Rb_tree_node<std> const*)'
zm_event.o: In function `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::end() const':
/usr/include/c++/4.3.3/bits/stl_tree.h:617: undefined reference to `std::_Rb_tree_const_iterator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >::_Rb_tree_const_iterator(std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > const*)'
zm_event.o: In function `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::begin() const':
/usr/include/c++/4.3.3/bits/stl_tree.h:606: undefined reference to `std::_Rb_tree_const_iterator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >::_Rb_tree_const_iterator(std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > const*)'
zm_event.o: In function `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_M_erase(std::_Rb_tree_node<std>*)':
/usr/include/c++/4.3.3/bits/stl_tree.h:941: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_S_right(std::_Rb_tree_node_base*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:942: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_S_left(std::_Rb_tree_node_base*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:943: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_M_destroy_node(std::_Rb_tree_node<std>*)'
zm_event.o: In function `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_M_insert_unique(std::string const&)':
/usr/include/c++/4.3.3/bits/stl_tree.h:1136: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_M_end()'
/usr/include/c++/4.3.3/bits/stl_tree.h:1142: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_S_left(std::_Rb_tree_node_base*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1141: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_S_key(std::_Rb_tree_node<std> const*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1141: undefined reference to `std::_Identity<std>::operator()(std::string const&) const'
/usr/include/c++/4.3.3/bits/stl_tree.h:1142: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_S_right(std::_Rb_tree_node_base*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1144: undefined reference to `std::_Rb_tree_iterator<std>::_Rb_tree_iterator(std::_Rb_tree_node<std>*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1152: undefined reference to `std::_Identity<std>::operator()(std::string const&) const'
/usr/include/c++/4.3.3/bits/stl_tree.h:1152: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_S_key(std::_Rb_tree_node_base const*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1154: undefined reference to `std::pair<std::_Rb_tree_iterator<std>, bool>::pair(std::_Rb_tree_iterator<std> const&, bool const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1153: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, std::string const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1153: undefined reference to `std::pair<std::_Rb_tree_iterator<std>, bool>::pair(std::_Rb_tree_iterator<std> const&, bool const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1147: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::begin()'
/usr/include/c++/4.3.3/bits/stl_tree.h:1147: undefined reference to `std::_Rb_tree_iterator<std>::operator==(std::_Rb_tree_iterator<std> const&) const'
/usr/include/c++/4.3.3/bits/stl_tree.h:1150: undefined reference to `std::_Rb_tree_iterator<std>::operator--()'
/usr/include/c++/4.3.3/bits/stl_tree.h:1148: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, std::string const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1148: undefined reference to `std::pair<std::_Rb_tree_iterator<std>, bool>::pair(std::_Rb_tree_iterator<std> const&, bool const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1144: undefined reference to `std::_Rb_tree_iterator<std>::_Rb_tree_iterator(std::_Rb_tree_node<std>*)'
zm_event.o: In function `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::find(std::string const&)':
/usr/include/c++/4.3.3/bits/stl_tree.h:1392: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_M_end()'
/usr/include/c++/4.3.3/bits/stl_tree.h:1392: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_M_lower_bound(std::_Rb_tree_node<std>*, std::_Rb_tree_node<std>*, std::string const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1395: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::end()'
/usr/include/c++/4.3.3/bits/stl_tree.h:1395: undefined reference to `std::_Rb_tree_iterator<std>::operator==(std::_Rb_tree_iterator<std> const&) const'
/usr/include/c++/4.3.3/bits/stl_tree.h:1395: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_S_key(std::_Rb_tree_node_base const*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1395: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::end()'
zm_event.o: In function `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_insert_unique(std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > const&)':
/usr/include/c++/4.3.3/bits/stl_tree.h:1136: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_end()'
/usr/include/c++/4.3.3/bits/stl_tree.h:1142: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_S_left(std::_Rb_tree_node_base*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1141: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_S_key(std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > const*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1141: undefined reference to `std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >::operator()(std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > const&) const'
/usr/include/c++/4.3.3/bits/stl_tree.h:1142: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_S_right(std::_Rb_tree_node_base*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1144: undefined reference to `std::_Rb_tree_iterator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >::_Rb_tree_iterator(std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1152: undefined reference to `std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >::operator()(std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > const&) const'
/usr/include/c++/4.3.3/bits/stl_tree.h:1152: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_S_key(std::_Rb_tree_node_base const*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1154: undefined reference to `std::pair<std::_Rb_tree_iterator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, bool>::pair(std::_Rb_tree_iterator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > const&, bool const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1153: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1153: undefined reference to `std::pair<std::_Rb_tree_iterator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, bool>::pair(std::_Rb_tree_iterator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > const&, bool const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1150: undefined reference to `std::_Rb_tree_iterator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >::operator--()'
/usr/include/c++/4.3.3/bits/stl_tree.h:1148: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1148: undefined reference to `std::pair<std::_Rb_tree_iterator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, bool>::pair(std::_Rb_tree_iterator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > const&, bool const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1144: undefined reference to `std::_Rb_tree_iterator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >::_Rb_tree_iterator(std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >*)'
zm_event.o: In function `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::find(std::string const&)':
/usr/include/c++/4.3.3/bits/stl_tree.h:1392: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_end()'
/usr/include/c++/4.3.3/bits/stl_tree.h:1392: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_lower_bound(std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >*, std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >*, std::string const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1395: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_S_key(std::_Rb_tree_node_base const*)'
zm_event.o: In function `_Rb_tree':
/usr/include/c++/4.3.3/bits/stl_tree.h:569: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_get_Node_allocator() const'
/usr/include/c++/4.3.3/bits/stl_tree.h:569: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_Rb_tree_impl<std::less<std>, false>::_Rb_tree_impl(std::less<std> const&, std::allocator<std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > > const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:571: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_root() const'
/usr/include/c++/4.3.3/bits/stl_tree.h:573: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_root()'
/usr/include/c++/4.3.3/bits/stl_tree.h:573: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_end()'
/usr/include/c++/4.3.3/bits/stl_tree.h:573: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_begin() const'
/usr/include/c++/4.3.3/bits/stl_tree.h:573: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_copy(std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > const*, std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:574: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_leftmost()'
/usr/include/c++/4.3.3/bits/stl_tree.h:574: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_root()'
/usr/include/c++/4.3.3/bits/stl_tree.h:574: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_S_minimum(std::_Rb_tree_node_base*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:575: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_rightmost()'
/usr/include/c++/4.3.3/bits/stl_tree.h:575: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_root()'
[...]
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_ffmpeg.o -MD -MP -MF .deps/zm_ffmpeg.Tpo -c -o zm_ffmpeg.o zm_ffmpeg.cpp
mv -f .deps/zm_ffmpeg.Tpo .deps/zm_ffmpeg.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_mpeg.o -MD -MP -MF .deps/zm_mpeg.Tpo -c -o zm_mpeg.o zm_mpeg.cpp
mv -f .deps/zm_mpeg.Tpo .deps/zm_mpeg.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -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
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_regexp.o -MD -MP -MF .deps/zm_regexp.Tpo -c -o zm_regexp.o zm_regexp.cpp
mv -f .deps/zm_regexp.Tpo .deps/zm_regexp.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -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
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_remote_camera_http.o -MD -MP -MF .deps/zm_remote_camera_http.Tpo -c -o zm_remote_camera_http.o zm_remote_camera_http.cpp
mv -f .deps/zm_remote_camera_http.Tpo .deps/zm_remote_camera_http.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_remote_camera_rtsp.o -MD -MP -MF .deps/zm_remote_camera_rtsp.Tpo -c -o zm_remote_camera_rtsp.o zm_remote_camera_rtsp.cpp
In file included from zm_rtsp.h:25,
from zm_remote_camera_rtsp.h:27,
from zm_remote_camera_rtsp.cpp:24:
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'
mv -f .deps/zm_remote_camera_rtsp.Tpo .deps/zm_remote_camera_rtsp.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_rtp.o -MD -MP -MF .deps/zm_rtp.Tpo -c -o zm_rtp.o zm_rtp.cpp
mv -f .deps/zm_rtp.Tpo .deps/zm_rtp.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_rtp_ctrl.o -MD -MP -MF .deps/zm_rtp_ctrl.Tpo -c -o zm_rtp_ctrl.o zm_rtp_ctrl.cpp
In file included from zm_rtp_ctrl.h:24,
from zm_rtp_ctrl.cpp:24:
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'
zm_rtp_ctrl.cpp: In member function 'int RtpCtrlThread::recvPacket(const unsigned char*, ssize_t)':
zm_rtp_ctrl.cpp:87: warning: format '%d' expects type 'int', but argument 6 has type 'ssize_t'
zm_rtp_ctrl.cpp: In member function 'virtual int RtpCtrlThread::run()':
zm_rtp_ctrl.cpp:297: warning: format '%d' expects type 'int', but argument 6 has type 'ssize_t'
zm_rtp_ctrl.cpp:308: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
mv -f .deps/zm_rtp_ctrl.Tpo .deps/zm_rtp_ctrl.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_rtp_data.o -MD -MP -MF .deps/zm_rtp_data.Tpo -c -o zm_rtp_data.o zm_rtp_data.cpp
In file included from zm_rtsp.h:25,
from zm_rtp_data.cpp:26:
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'
mv -f .deps/zm_rtp_data.Tpo .deps/zm_rtp_data.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_rtp_source.o -MD -MP -MF .deps/zm_rtp_source.Tpo -c -o zm_rtp_source.o zm_rtp_source.cpp
mv -f .deps/zm_rtp_source.Tpo .deps/zm_rtp_source.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_rtsp.o -MD -MP -MF .deps/zm_rtsp.Tpo -c -o zm_rtsp.o zm_rtsp.cpp
In file included from zm_rtsp.h:25,
from zm_rtsp.cpp:24:
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'
zm_rtsp.cpp: In member function 'bool RtspThread::recvResponse(std::string&)':
zm_rtsp.cpp:70: warning: format '%d' expects type 'int', but argument 7 has type 'size_t'
zm_rtsp.cpp:82: warning: format '%d' expects type 'int', but argument 6 has type 'size_t'
zm_rtsp.cpp: In member function 'virtual int RtspThread::run()':
zm_rtsp.cpp:246: warning: format '%d' expects type 'int', but argument 7 has type 'size_t'
zm_rtsp.cpp:258: warning: format '%d' expects type 'int', but argument 6 has type 'size_t'
zm_rtsp.cpp:546: warning: format '%d' expects type 'int', but argument 6 has type 'ssize_t'
zm_rtsp.cpp:558: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
zm_rtsp.cpp:571: warning: format '%d' expects type 'int', but argument 6 has type 'ssize_t'
mv -f .deps/zm_rtsp.Tpo .deps/zm_rtsp.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_signal.o -MD -MP -MF .deps/zm_signal.Tpo -c -o zm_signal.o zm_signal.cpp
zm_signal.cpp: In function 'void zm_die_handler(int, sigcontext)':
zm_signal.cpp:90: warning: format '%p' expects type 'void*', but argument 6 has type 'long unsigned int'
mv -f .deps/zm_signal.Tpo .deps/zm_signal.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -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
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_thread.o -MD -MP -MF .deps/zm_thread.Tpo -c -o zm_thread.o zm_thread.cpp
mv -f .deps/zm_thread.Tpo .deps/zm_thread.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_time.o -MD -MP -MF .deps/zm_time.Tpo -c -o zm_time.o zm_time.cpp
mv -f .deps/zm_time.Tpo .deps/zm_time.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_timer.o -MD -MP -MF .deps/zm_timer.Tpo -c -o zm_timer.o zm_timer.cpp
mv -f .deps/zm_timer.Tpo .deps/zm_timer.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -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
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -MT zm_utils.o -MD -MP -MF .deps/zm_utils.Tpo -c -o zm_utils.o zm_utils.cpp
mv -f .deps/zm_utils.Tpo .deps/zm_utils.Po
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -D_FORTIFY_SOURCE=2 -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -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
x86_64-pld-linux-g++ -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -Lyes/lib64 -L/usr/lib64/mysql -Wl,--as-needed -Wl,-z,relro -Wl,-z,combreloc -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_debug.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_signal.o zm_stream.o zm_thread.o zm_time.o zm_timer.o zm_user.o zm_utils.o zm_zone.o -lbz2 -lswscale -lavformat -lavcodec -lavutil -lpcre -lgnutls-openssl -lmysqlclient -lpthread -ldl -lz -ljpeg
collect: recompiling zm_utils.cpp
collect: recompiling zm_rtsp.cpp
In file included from zm_rtsp.h:25,
from zm_rtsp.cpp:24:
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'
zm_rtsp.cpp: In member function 'bool RtspThread::recvResponse(std::string&)':
zm_rtsp.cpp:70: warning: format '%d' expects type 'int', but argument 7 has type 'size_t'
zm_rtsp.cpp:82: warning: format '%d' expects type 'int', but argument 6 has type 'size_t'
zm_rtsp.cpp: In member function 'virtual int RtspThread::run()':
zm_rtsp.cpp:246: warning: format '%d' expects type 'int', but argument 7 has type 'size_t'
zm_rtsp.cpp:258: warning: format '%d' expects type 'int', but argument 6 has type 'size_t'
zm_rtsp.cpp:546: warning: format '%d' expects type 'int', but argument 6 has type 'ssize_t'
zm_rtsp.cpp:558: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
zm_rtsp.cpp:571: warning: format '%d' expects type 'int', but argument 6 has type 'ssize_t'
collect: recompiling zm_thread.cpp
collect: recompiling zm_rtp_source.cpp
collect: recompiling zm_rtp_ctrl.cpp
In file included from zm_rtp_ctrl.h:24,
from zm_rtp_ctrl.cpp:24:
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'
zm_rtp_ctrl.cpp: In member function 'int RtpCtrlThread::recvPacket(const unsigned char*, ssize_t)':
zm_rtp_ctrl.cpp:87: warning: format '%d' expects type 'int', but argument 6 has type 'ssize_t'
zm_rtp_ctrl.cpp: In member function 'virtual int RtpCtrlThread::run()':
zm_rtp_ctrl.cpp:297: warning: format '%d' expects type 'int', but argument 6 has type 'ssize_t'
zm_rtp_ctrl.cpp:308: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
collect: recompiling zm_monitor.cpp
In file included from zm_rtsp.h:25,
from zm_remote_camera_rtsp.h:27,
from zm_monitor.cpp:35:
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'
zm_monitor.cpp: In member function 'bool MonitorStream::sendFrame(const char*, timeval*)':
zm_monitor.cpp:3224: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
zm_monitor.cpp: In member function 'bool MonitorStream::sendFrame(Image*, timeval*)':
zm_monitor.cpp:3295: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
zm_monitor.cpp: In member function 'void Monitor::SingleImage(int)':
zm_monitor.cpp:3624: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
zm_monitor.cpp: In member function 'void Monitor::SingleImageRaw(int)':
zm_monitor.cpp:3647: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
zm_monitor.cpp: In member function 'void Monitor::SingleImageZip(int)':
zm_monitor.cpp:3673: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
collect: recompiling zm_local_camera.cpp
collect: recompiling zm_event.cpp
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'
zm_event.cpp: In member function 'bool EventStream::sendFrame(int)':
zm_event.cpp:1238: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
collect: recompiling zm_comms.cpp
In file included from zm_comms.cpp:20:
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'
collect: relinking
collect: recompiling zm_utils.cpp
collect: recompiling zm_rtsp.cpp
In file included from zm_rtsp.h:25,
from zm_rtsp.cpp:24:
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'
zm_rtsp.cpp: In member function 'bool RtspThread::recvResponse(std::string&)':
zm_rtsp.cpp:70: warning: format '%d' expects type 'int', but argument 7 has type 'size_t'
zm_rtsp.cpp:82: warning: format '%d' expects type 'int', but argument 6 has type 'size_t'
zm_rtsp.cpp: In member function 'virtual int RtspThread::run()':
zm_rtsp.cpp:246: warning: format '%d' expects type 'int', but argument 7 has type 'size_t'
zm_rtsp.cpp:258: warning: format '%d' expects type 'int', but argument 6 has type 'size_t'
zm_rtsp.cpp:546: warning: format '%d' expects type 'int', but argument 6 has type 'ssize_t'
zm_rtsp.cpp:558: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
zm_rtsp.cpp:571: warning: format '%d' expects type 'int', but argument 6 has type 'ssize_t'
collect: recompiling zm_rtp_ctrl.cpp
In file included from zm_rtp_ctrl.h:24,
from zm_rtp_ctrl.cpp:24:
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'
zm_rtp_ctrl.cpp: In member function 'int RtpCtrlThread::recvPacket(const unsigned char*, ssize_t)':
zm_rtp_ctrl.cpp:87: warning: format '%d' expects type 'int', but argument 6 has type 'ssize_t'
zm_rtp_ctrl.cpp: In member function 'virtual int RtpCtrlThread::run()':
zm_rtp_ctrl.cpp:297: warning: format '%d' expects type 'int', but argument 6 has type 'ssize_t'
zm_rtp_ctrl.cpp:308: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
collect: recompiling zm_monitor.cpp
In file included from zm_rtsp.h:25,
from zm_remote_camera_rtsp.h:27,
from zm_monitor.cpp:35:
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'
zm_monitor.cpp: In member function 'bool MonitorStream::sendFrame(const char*, timeval*)':
zm_monitor.cpp:3224: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
zm_monitor.cpp: In member function 'bool MonitorStream::sendFrame(Image*, timeval*)':
zm_monitor.cpp:3295: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
zm_monitor.cpp: In member function 'void Monitor::SingleImage(int)':
zm_monitor.cpp:3624: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
zm_monitor.cpp: In member function 'void Monitor::SingleImageRaw(int)':
zm_monitor.cpp:3647: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
zm_monitor.cpp: In member function 'void Monitor::SingleImageZip(int)':
zm_monitor.cpp:3673: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
collect: recompiling zm_event.cpp
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'
zm_event.cpp: In member function 'bool EventStream::sendFrame(int)':
zm_event.cpp:1238: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
collect: recompiling zm_comms.cpp
In file included from zm_comms.cpp:20:
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'
collect: relinking
collect2: '_ZNSt12_Vector_baseIP9CommsBaseSaIS1_EED1Ev' was assigned to 'zm_comms.rpo', but was not defined during recompilation, or vice versa
zm_comms.o: In function `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_M_erase(std::_Rb_tree_node<CommsBase>*)':
/usr/include/c++/4.3.3/bits/stl_tree.h:941: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_S_right(std::_Rb_tree_node_base*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:942: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_S_left(std::_Rb_tree_node_base*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:943: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_M_destroy_node(std::_Rb_tree_node<CommsBase>*)'
zm_comms.o: In function `~_Vector_base':
/usr/include/c++/4.3.3/bits/stl_vector.h:136: undefined reference to `std::_Vector_base<CommsBase*, std::allocator<CommsBase> >::_M_deallocate(CommsBase**, unsigned long)'
zm_comms.o: In function `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::end() const':
/usr/include/c++/4.3.3/bits/stl_tree.h:617: undefined reference to `std::_Rb_tree_const_iterator<CommsBase>::_Rb_tree_const_iterator(std::_Rb_tree_node<CommsBase> const*)'
zm_comms.o: In function `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::begin() const':
/usr/include/c++/4.3.3/bits/stl_tree.h:606: undefined reference to `std::_Rb_tree_const_iterator<CommsBase>::_Rb_tree_const_iterator(std::_Rb_tree_node<CommsBase> const*)'
zm_comms.o: In function `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::clear()':
/usr/include/c++/4.3.3/bits/stl_tree.h:698: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_M_leftmost()'
/usr/include/c++/4.3.3/bits/stl_tree.h:698: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_M_end()'
/usr/include/c++/4.3.3/bits/stl_tree.h:699: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_M_root()'
/usr/include/c++/4.3.3/bits/stl_tree.h:700: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_M_rightmost()'
/usr/include/c++/4.3.3/bits/stl_tree.h:700: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_M_end()'
zm_comms.o: In function `~vector':
/usr/include/c++/4.3.3/bits/stl_vector.h:300: undefined reference to `std::_Vector_base<CommsBase*, std::allocator<CommsBase> >::~_Vector_base()'
zm_comms.o: In function `std::vector<CommsBase*, std::allocator<CommsBase> >::_M_insert_aux(__gnu_cxx::__normal_iterator<CommsBase**, std::vector<CommsBase*, std::allocator<CommsBase> > >, CommsBase* const&)':
/usr/include/c++/4.3.3/bits/vector.tcc:295: undefined reference to `CommsBase** std::copy_backward<CommsBase>(CommsBase**, CommsBase**, CommsBase**)'
/usr/include/c++/4.3.3/bits/vector.tcc:307: undefined reference to `std::vector<CommsBase*, std::allocator<CommsBase> >::_M_check_len(unsigned long, char const*) const'
/usr/include/c++/4.3.3/bits/vector.tcc:308: undefined reference to `std::_Vector_base<CommsBase*, std::allocator<CommsBase> >::_M_allocate(unsigned long)'
/usr/include/c++/4.3.3/bits/vector.tcc:316: undefined reference to `CommsBase** std::__uninitialized_move_a<CommsBase**, CommsBase**, std::allocator<CommsBase> >(CommsBase**, CommsBase**, CommsBase**, std::allocator<CommsBase>&)'
/usr/include/c++/4.3.3/bits/vector.tcc:324: undefined reference to `CommsBase** std::__uninitialized_move_a<CommsBase**, CommsBase**, std::allocator<CommsBase> >(CommsBase**, CommsBase**, CommsBase**, std::allocator<CommsBase>&)'
/usr/include/c++/4.3.3/bits/vector.tcc:338: undefined reference to `std::_Vector_base<CommsBase*, std::allocator<CommsBase> >::_M_deallocate(CommsBase**, unsigned long)'
/usr/include/c++/4.3.3/bits/vector.tcc:333: undefined reference to `std::_Vector_base<CommsBase*, std::allocator<CommsBase> >::_M_deallocate(CommsBase**, unsigned long)'
zm_comms.o: In function `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::erase(CommsBase* const&)':
/usr/include/c++/4.3.3/bits/stl_tree.h:1343: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::equal_range(CommsBase* const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1344: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::size() const'
/usr/include/c++/4.3.3/bits/stl_tree.h:1345: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::erase(std::_Rb_tree_iterator<CommsBase>, std::_Rb_tree_iterator<CommsBase>)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1346: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::size() const'
zm_comms.o: In function `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_M_insert_unique(CommsBase* const&)':
/usr/include/c++/4.3.3/bits/stl_tree.h:1136: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_M_end()'
/usr/include/c++/4.3.3/bits/stl_tree.h:1142: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_S_left(std::_Rb_tree_node_base*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1141: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_S_key(std::_Rb_tree_node<CommsBase> const*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1141: undefined reference to `std::_Identity<CommsBase>::operator()(CommsBase* const&) const'
/usr/include/c++/4.3.3/bits/stl_tree.h:1141: undefined reference to `std::less<CommsBase>::operator()(CommsBase* const&, CommsBase* const&) const'
/usr/include/c++/4.3.3/bits/stl_tree.h:1142: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_S_right(std::_Rb_tree_node_base*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1144: undefined reference to `std::_Rb_tree_iterator<CommsBase>::_Rb_tree_iterator(std::_Rb_tree_node<CommsBase>*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1152: undefined reference to `std::_Identity<CommsBase>::operator()(CommsBase* const&) const'
/usr/include/c++/4.3.3/bits/stl_tree.h:1152: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_S_key(std::_Rb_tree_node_base const*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1152: undefined reference to `std::less<CommsBase>::operator()(CommsBase* const&, CommsBase* const&) const'
/usr/include/c++/4.3.3/bits/stl_tree.h:1154: undefined reference to `std::pair<std::_Rb_tree_iterator<CommsBase>, bool>::pair(std::_Rb_tree_iterator<CommsBase> const&, bool const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1153: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, CommsBase* const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1153: undefined reference to `std::pair<std::_Rb_tree_iterator<CommsBase>, bool>::pair(std::_Rb_tree_iterator<CommsBase> const&, bool const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1147: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::begin()'
/usr/include/c++/4.3.3/bits/stl_tree.h:1147: undefined reference to `std::_Rb_tree_iterator<CommsBase>::operator==(std::_Rb_tree_iterator<CommsBase> const&) const'
/usr/include/c++/4.3.3/bits/stl_tree.h:1150: undefined reference to `std::_Rb_tree_iterator<CommsBase>::operator--()'
/usr/include/c++/4.3.3/bits/stl_tree.h:1148: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, CommsBase* const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1148: undefined reference to `std::pair<std::_Rb_tree_iterator<CommsBase>, bool>::pair(std::_Rb_tree_iterator<CommsBase> const&, bool const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1144: undefined reference to `std::_Rb_tree_iterator<CommsBase>::_Rb_tree_iterator(std::_Rb_tree_node<CommsBase>*)'
zm_comms.o: In function `vector':
/usr/include/c++/4.3.3/bits/stl_vector.h:213: undefined reference to `std::_Vector_base<CommsBase*, std::allocator<CommsBase> >::_Vector_base()'
zm_comms.o: In function `_Rb_tree':
/usr/include/c++/4.3.3/bits/stl_tree.h:562: undefined reference to `std::_Rb_tree<CommsBase*, CommsBase*, std::_Identity<CommsBase>, std::less<CommsBase>, std::allocator<CommsBase> >::_Rb_tree_impl<std::less<CommsBase>, false>::_Rb_tree_impl()'
zm_comms.o: In function `~allocator':
/usr/include/c++/4.3.3/bits/allocator.h:106: undefined reference to `__gnu_cxx::new_allocator<std::_Rb_tree_node<CommsBase> >::~new_allocator()'
zm_comms.o: In function `_Vector_base':
/usr/include/c++/4.3.3/bits/stl_vector.h:108: undefined reference to `std::_Vector_base<CommsBase*, std::allocator<CommsBase> >::_Vector_impl::_Vector_impl()'
zm_comms.o: In function `void std::_Destroy<CommsBase>(CommsBase**, CommsBase**, std::allocator<CommsBase>&)':
/usr/include/c++/4.3.3/bits/stl_construct.h:126: undefined reference to `void std::_Destroy<CommsBase>(CommsBase**, CommsBase**)'
zm_comms.o: In function `~vector':
/usr/include/c++/4.3.3/bits/stl_vector.h:300: undefined reference to `std::_Vector_base<CommsBase*, std::allocator<CommsBase> >::~_Vector_base()'
zm_comms.o: In function `~_Rb_tree_impl':
/usr/include/c++/4.3.3/bits/stl_tree.h:398: undefined reference to `std::allocator<std::_Rb_tree_node<CommsBase> >::~allocator()'
zm_comms.o: In function `~_Vector_impl':
/usr/include/c++/4.3.3/bits/stl_vector.h:79: undefined reference to `std::allocator<CommsBase>::~allocator()'
zm_event.o: In function `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_erase(std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >*)':
/usr/include/c++/4.3.3/bits/stl_tree.h:941: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_S_right(std::_Rb_tree_node_base*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:942: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_S_left(std::_Rb_tree_node_base*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:943: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_destroy_node(std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >*)'
zm_event.o: In function `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::end()':
/usr/include/c++/4.3.3/bits/stl_tree.h:611: undefined reference to `std::_Rb_tree_iterator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >::_Rb_tree_iterator(std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >*)'
zm_event.o: In function `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::begin()':
/usr/include/c++/4.3.3/bits/stl_tree.h:599: undefined reference to `std::_Rb_tree_iterator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >::_Rb_tree_iterator(std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >*)'
zm_event.o: In function `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::end() const':
/usr/include/c++/4.3.3/bits/stl_tree.h:617: undefined reference to `std::_Rb_tree_const_iterator<std>::_Rb_tree_const_iterator(std::_Rb_tree_node<std> const*)'
zm_event.o: In function `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::begin() const':
/usr/include/c++/4.3.3/bits/stl_tree.h:606: undefined reference to `std::_Rb_tree_const_iterator<std>::_Rb_tree_const_iterator(std::_Rb_tree_node<std> const*)'
zm_event.o: In function `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::end() const':
/usr/include/c++/4.3.3/bits/stl_tree.h:617: undefined reference to `std::_Rb_tree_const_iterator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >::_Rb_tree_const_iterator(std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > const*)'
zm_event.o: In function `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::begin() const':
/usr/include/c++/4.3.3/bits/stl_tree.h:606: undefined reference to `std::_Rb_tree_const_iterator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >::_Rb_tree_const_iterator(std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > const*)'
zm_event.o: In function `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_M_erase(std::_Rb_tree_node<std>*)':
/usr/include/c++/4.3.3/bits/stl_tree.h:941: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_S_right(std::_Rb_tree_node_base*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:942: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_S_left(std::_Rb_tree_node_base*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:943: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_M_destroy_node(std::_Rb_tree_node<std>*)'
zm_event.o: In function `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_M_insert_unique(std::string const&)':
/usr/include/c++/4.3.3/bits/stl_tree.h:1136: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_M_end()'
/usr/include/c++/4.3.3/bits/stl_tree.h:1142: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_S_left(std::_Rb_tree_node_base*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1141: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_S_key(std::_Rb_tree_node<std> const*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1141: undefined reference to `std::_Identity<std>::operator()(std::string const&) const'
/usr/include/c++/4.3.3/bits/stl_tree.h:1142: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_S_right(std::_Rb_tree_node_base*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1144: undefined reference to `std::_Rb_tree_iterator<std>::_Rb_tree_iterator(std::_Rb_tree_node<std>*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1152: undefined reference to `std::_Identity<std>::operator()(std::string const&) const'
/usr/include/c++/4.3.3/bits/stl_tree.h:1152: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_S_key(std::_Rb_tree_node_base const*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1154: undefined reference to `std::pair<std::_Rb_tree_iterator<std>, bool>::pair(std::_Rb_tree_iterator<std> const&, bool const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1153: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, std::string const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1153: undefined reference to `std::pair<std::_Rb_tree_iterator<std>, bool>::pair(std::_Rb_tree_iterator<std> const&, bool const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1147: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::begin()'
/usr/include/c++/4.3.3/bits/stl_tree.h:1147: undefined reference to `std::_Rb_tree_iterator<std>::operator==(std::_Rb_tree_iterator<std> const&) const'
/usr/include/c++/4.3.3/bits/stl_tree.h:1150: undefined reference to `std::_Rb_tree_iterator<std>::operator--()'
/usr/include/c++/4.3.3/bits/stl_tree.h:1148: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, std::string const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1148: undefined reference to `std::pair<std::_Rb_tree_iterator<std>, bool>::pair(std::_Rb_tree_iterator<std> const&, bool const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1144: undefined reference to `std::_Rb_tree_iterator<std>::_Rb_tree_iterator(std::_Rb_tree_node<std>*)'
zm_event.o: In function `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::find(std::string const&)':
/usr/include/c++/4.3.3/bits/stl_tree.h:1392: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_M_end()'
/usr/include/c++/4.3.3/bits/stl_tree.h:1392: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_M_lower_bound(std::_Rb_tree_node<std>*, std::_Rb_tree_node<std>*, std::string const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1395: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::end()'
/usr/include/c++/4.3.3/bits/stl_tree.h:1395: undefined reference to `std::_Rb_tree_iterator<std>::operator==(std::_Rb_tree_iterator<std> const&) const'
/usr/include/c++/4.3.3/bits/stl_tree.h:1395: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::_S_key(std::_Rb_tree_node_base const*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1395: undefined reference to `std::_Rb_tree<std::string, std::string, std::_Identity<std>, std::less<std>, std::allocator<std> >::end()'
zm_event.o: In function `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_insert_unique(std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > const&)':
/usr/include/c++/4.3.3/bits/stl_tree.h:1136: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_end()'
/usr/include/c++/4.3.3/bits/stl_tree.h:1142: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_S_left(std::_Rb_tree_node_base*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1141: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_S_key(std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > const*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1141: undefined reference to `std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >::operator()(std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > const&) const'
/usr/include/c++/4.3.3/bits/stl_tree.h:1142: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_S_right(std::_Rb_tree_node_base*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1144: undefined reference to `std::_Rb_tree_iterator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >::_Rb_tree_iterator(std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1152: undefined reference to `std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >::operator()(std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > const&) const'
/usr/include/c++/4.3.3/bits/stl_tree.h:1152: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_S_key(std::_Rb_tree_node_base const*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1154: undefined reference to `std::pair<std::_Rb_tree_iterator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, bool>::pair(std::_Rb_tree_iterator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > const&, bool const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1153: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1153: undefined reference to `std::pair<std::_Rb_tree_iterator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, bool>::pair(std::_Rb_tree_iterator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > const&, bool const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1150: undefined reference to `std::_Rb_tree_iterator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >::operator--()'
/usr/include/c++/4.3.3/bits/stl_tree.h:1148: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1148: undefined reference to `std::pair<std::_Rb_tree_iterator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, bool>::pair(std::_Rb_tree_iterator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > const&, bool const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1144: undefined reference to `std::_Rb_tree_iterator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >::_Rb_tree_iterator(std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >*)'
zm_event.o: In function `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::find(std::string const&)':
/usr/include/c++/4.3.3/bits/stl_tree.h:1392: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_end()'
/usr/include/c++/4.3.3/bits/stl_tree.h:1392: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_lower_bound(std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >*, std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >*, std::string const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:1395: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_S_key(std::_Rb_tree_node_base const*)'
zm_event.o: In function `_Rb_tree':
/usr/include/c++/4.3.3/bits/stl_tree.h:569: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_get_Node_allocator() const'
/usr/include/c++/4.3.3/bits/stl_tree.h:569: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_Rb_tree_impl<std::less<std>, false>::_Rb_tree_impl(std::less<std> const&, std::allocator<std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > > const&)'
/usr/include/c++/4.3.3/bits/stl_tree.h:571: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_root() const'
/usr/include/c++/4.3.3/bits/stl_tree.h:573: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_root()'
/usr/include/c++/4.3.3/bits/stl_tree.h:573: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_end()'
/usr/include/c++/4.3.3/bits/stl_tree.h:573: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_begin() const'
/usr/include/c++/4.3.3/bits/stl_tree.h:573: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_copy(std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > const*, std::_Rb_tree_node<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:574: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_leftmost()'
/usr/include/c++/4.3.3/bits/stl_tree.h:574: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_root()'
/usr/include/c++/4.3.3/bits/stl_tree.h:574: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_S_minimum(std::_Rb_tree_node_base*)'
/usr/include/c++/4.3.3/bits/stl_tree.h:575: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_rightmost()'
/usr/include/c++/4.3.3/bits/stl_tree.h:575: undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > >, std::_Select1st<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > >, std::less<std>, std::allocator<std::pair<std::string const, std::set<std::string, std::less<std>, std::allocator<std> > > > >::_M_root()'
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Are you able to compile a simple test program using some of the c++ STL functions?
Something like which can be compiled with assuming you call the file test.cpp
Something like
Code: Select all
#include <vector>
#include <map>
#include <string>
int main( int argc, const char *argv[] )
{
std::map<int> intMap;
std::vector<float> floatVect;
intMap[1] = "String 1";
intMap[2] = "String 2";
intMap[3] = "String 3";
floatVect.push_back( 1.25 );
floatVect.push_back( 1.33 );
floatVect.push_back( 1.5 );
}
Code: Select all
g++ -o test test.cpp
Last edited by zoneminder on Thu Feb 26, 2009 9:54 am, edited 1 time in total.
Phil
Code: Select all
$ g++ -o test a.cpp
a.cpp: In function ‘int main(int, const char**)’:
a.cpp:7: error: wrong number of template arguments (1, should be 4)
/usr/include/c++/4.3.3/bits/stl_map.h:91: error: provided for ‘template<class> class std::map’
a.cpp:7: error: invalid type in declaration before ‘;’ token
a.cpp:10: error: invalid types ‘int[int]’ for array subscript
a.cpp:11: error: invalid types ‘int[int]’ for array subscript
a.cpp:12: error: invalid types ‘int[int]’ for array subscript
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Sorry, I think the BB ate some of the code. Let's see if this works!
Code: Select all
#include <vector>
#include <map>
#include <string>
int main( int argc, const char *argv[] )
{
std::map<int,std::string> intMap;
std::vector<float> floatVect;
intMap[1] = "String 1";
intMap[2] = "String 2";
intMap[3] = "String 3";
floatVect.push_back( 1.25 );
floatVect.push_back( 1.33 );
floatVect.push_back( 1.5 );
}
Phil
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Did you try it using your compile command from the ZM build? E.g.
Code: Select all
x86_64-pld-linux-g++ -frepo -O2 -fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2 -Lyes/lib64 -L/usr/lib64/mysql -Wl,--as-needed -Wl,-z,relro -Wl,-z,combreloc
Phil
Looks like -frepo without "-c" is a reason of the failure.
Code: Select all
[arekm@carme-pld ~]$ x86_64-pld-linux-g++ -frepo a2.cpp -c
[arekm@carme-pld ~]$ x86_64-pld-linux-g++ -frepo a2.cpp
In file included from a2.cpp:1:
a2.cpp:1: warning: -frepo must be used with -c
/home/users/arekm/tmp/ccotgHLC.o: In function `std::_Rb_tree<int, std::pair<int>, std::_Select1st<std::pair<int> >, std::less<int>, std::allocator<std::pair<int> > >::~_Rb_tree()':
a2.cpp:(.text._ZNSt8_Rb_treeIiSt4pairIKiSsESt10_Select1stIS2_ESt4lessIiESaIS2_EED1Ev[_ZNSt8_Rb_treeIiSt4pairIKiSsESt10_Select1stIS2_ESt4lessIiESaIS2_EED1Ev]+0x20): undefined reference to `std::_Rb_tree<int, std::pair<int>, std::_Select1st<std::pair<int> >, std::less<int>, std::allocator<std::pair<int> > >::_M_erase(std::_Rb_tree_node<std::pair<int> >*)'
/home/users/arekm/tmp/ccotgHLC.o: In function `std::map<int, std::string, std::less<int>, std::allocator<std::pair<int> > >::insert(std::_Rb_tree_iterator<std::pair<int> >, std::pair<int> const&)':
a2.cpp:(.text._ZNSt3mapIiSsSt4lessIiESaISt4pairIKiSsEEE6insertESt17_Rb_tree_iteratorIS4_ERKS4_[_ZNSt3mapIiSsSt4lessIiESaISt4pairIKiSsEEE6insertESt17_Rb_tree_iteratorIS4_ERKS4_]+0x2e): undefined reference to `std::_Rb_tree<int, std::pair<int>, std::_Select1st<std::pair<int> >, std::less<int>, std::allocator<std::pair<int> > >::_M_insert_unique_(std::_Rb_tree_const_iterator<std::pair<int> >, std::pair<int> const&)'
/home/users/arekm/tmp/ccotgHLC.o: In function `std::vector<float, std::allocator<float> >::push_back(float const&)':
a2.cpp:(.text._ZNSt6vectorIfSaIfEE9push_backERKf[_ZNSt6vectorIfSaIfEE9push_backERKf]+0x68): undefined reference to `std::vector<float, std::allocator<float> >::_M_insert_aux(__gnu_cxx::__normal_iterator<float*, std::vector<float, std::allocator<float> > >, float const&)'
/home/users/arekm/tmp/ccotgHLC.o: In function `std::_Rb_tree<int, std::pair<int>, std::_Select1st<std::pair<int> >, std::less<int>, std::allocator<std::pair<int> > >::lower_bound(int const&)':
a2.cpp:(.text._ZNSt8_Rb_treeIiSt4pairIKiSsESt10_Select1stIS2_ESt4lessIiESaIS2_EE11lower_boundERS1_[_ZNSt8_Rb_treeIiSt4pairIKiSsESt10_Select1stIS2_ESt4lessIiESaIS2_EE11lower_boundERS1_]+0x35): undefined reference to `std::_Rb_tree<int, std::pair<int>, std::_Select1st<std::pair<int> >, std::less<int>, std::allocator<std::pair<int> > >::_M_lower_bound(std::_Rb_tree_node<std::pair<int> >*, std::_Rb_tree_node<std::pair<int> >*, int const&)'
collect2: ld returned 1 exit status
zsh: exit 1 x86_64-pld-linux-g++ -frepo a2.cpp
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact: