Build error
Posted: Fri Aug 19, 2011 10:27 pm
Can anyone suggest what may be cause of this error building Zoneminder 1.24.4 in Mageia x86_64?
The source at zm_rtsp.cpp:314 is :-
Code: Select all
-------snip----------
x86_64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -D__STDC_CONSTANT_MACROS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -MT zm_rtsp.o -MD -MP -MF .deps/zm_rtsp.Tpo -c -o zm_rtsp.o zm_rtsp.cpp
zm_rtsp.cpp: In member function ‘virtual int RtspThread::run()’:
zm_rtsp.cpp:314:9: error: format not a string literal and no format arguments
Code: Select all
catch( const Exception &e )
{
Error( e.getMessage().c_str() ); // line 314
return( -1 );
}