Page 1 of 1

Make error

Posted: Fri Nov 13, 2009 9:36 am
by craver84
Hi everyone,
I've got this make error and I don't know how to solve it. Can you help me please?

Code: Select all

....
....
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include  -frepo -g -O2 -MT zm_utils.o -MD -MP -MF .deps/zm_utils.Tpo -c -o zm_utils.o zm_utils.cpp
zm_utils.cpp: In function ‘const std::string stringtf(const char*, ...)’:
zm_utils.cpp:32: error: ‘vsnprintf’ was not declared in this scope
zm_utils.cpp: In function ‘const std::string stringtf(const std::string&, ...)’:
zm_utils.cpp:47: error: ‘vsnprintf’ was not declared in this scope
make[2]: *** [zm_utils.o] Errore 1
make[2]: uscita dalla directory «/usr/src/zm/src»
make[1]: *** [all-recursive] Errore 1
make[1]: uscita dalla directory «/usr/src/zm»
make: *** [all] Errore 2

Posted: Sun Nov 15, 2009 1:51 pm
by craver84
no one?

Posted: Sun Nov 15, 2009 5:51 pm
by joshuanekl
I posted a patch for this yesterday
http://www.zoneminder.com/forums/viewtopic.php?t=14851