[Pdns-users] metronome

Keresztes Péter-Zoltán zozo at z0z0.tk
Fri Dec 12 14:56:58 UTC 2014


Hello guy, 

I have tried to get metronome on a server to test it. When I run make I get lots of errors.

# make
g++ -Wall -O3 -ggdb -I. -I yahttp/yahttp  -pthread -MMD -MP  -std=gnu++0x    -c -o metronome.o metronome.cc
In file included from metronome.cc:2:
iputils.hh:36:34: warning: boost/lexical_cast.hpp: No such file or directory
iputils.hh:37:28: warning: boost/format.hpp: No such file or directory
metronome.cc:13:37: warning: boost/program_options.hpp: No such file or directory
In file included from metronome.cc:2:
iputils.hh:47: error: ‘boost’ has not been declared
iputils.hh: In member function ‘std::string ComboAddress::toStringWithPort() const’:
iputils.hh:181: error: ‘lexical_cast’ was not declared in this scope
iputils.hh:181: error: expected primary-expression before ‘>’ token
iputils.hh:183: error: ‘lexical_cast’ was not declared in this scope
iputils.hh:183: error: expected primary-expression before ‘>’ token
iputils.hh: In member function ‘std::string Netmask::toString() const’:
iputils.hh:301: error: ‘lexical_cast’ was not declared in this scope
iputils.hh:301: error: expected primary-expression before ‘>’ token
metronome.cc: At global scope:
metronome.cc:15: error: ‘boost’ has not been declared
metronome.cc:15: error: ‘program_options’ is not a namespace-name
metronome.cc:15: error: expected namespace-name before ‘;’ token
metronome.cc:16: error: ‘po’ has not been declared
metronome.cc:16: error: expected constructor, destructor, or type conversion before ‘g_vm’
metronome.cc: In function ‘void startCarbonThread(int, ComboAddress)’:
metronome.cc:25: error: ‘g_vm’ was not declared in this scope
metronome.cc:25: error: expected primary-expression before ‘>’ token
metronome.cc:25: error: expected primary-expression before ‘)’ token
metronome.cc:26: error: ‘boost’ has not been declared
metronome.cc:26: error: ‘boost’ has not been declared
metronome.cc:42: error: ‘boost’ has not been declared
metronome.cc:42: error: ‘boost’ has not been declared
metronome.cc:47: error: ‘boost’ has not been declared
metronome.cc:47: error: ‘boost’ has not been declared
metronome.cc: In function ‘void dumpRequest(const YaHTTP::Request&)’:
metronome.cc:55: error: expected initializer before ‘:’ token
metronome.cc:59: error: expected primary-expression before ‘for’
metronome.cc:59: error: expected ‘)’ before ‘for’
metronome.cc:59: error: expected initializer before ‘:’ token
metronome.cc:63: error: expected ‘)’ before ‘;’ token
metronome.cc: In function ‘std::pair<double, double> smooth(const std::vector<StatStorage::Datum, std::allocator<StatStorage::Datum> >&, double, int)’:
metronome.cc:122: error: call of overloaded ‘push_back(<brace-enclosed initializer list>)’ is ambiguous
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_vector.h:733: note: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = InterpolateDatum, _Alloc = std::allocator<InterpolateDatum>]
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_vector.h:746: note:                 void std::vector<_Tp, _Alloc>::push_back(_Tp&&) [with _Tp = InterpolateDatum, _Alloc = std::allocator<InterpolateDatum>]
metronome.cc: In function ‘void startWebserverThread(int, ComboAddress)’:
metronome.cc:136: error: ‘boost’ has not been declared
metronome.cc:136: error: ‘boost’ has not been declared
metronome.cc:147: error: ‘boost’ has not been declared
metronome.cc:147: error: ‘boost’ has not been declared
metronome.cc:150: error: ‘boost’ has not been declared
metronome.cc:150: error: ‘boost’ has not been declared
metronome.cc:162: error: ‘g_vm’ was not declared in this scope
metronome.cc:162: error: expected primary-expression before ‘>’ token
metronome.cc:162: error: expected primary-expression before ‘)’ token
metronome.cc:167: error: ‘g_vm’ was not declared in this scope
metronome.cc:167: error: expected primary-expression before ‘>’ token
metronome.cc:167: error: expected primary-expression before ‘)’ token
metronome.cc:173: error: expected initializer before ‘:’ token
metronome.cc:179: error: expected primary-expression before ‘}’ token
metronome.cc:179: error: expected ‘)’ before ‘}’ token
metronome.cc:179: error: expected primary-expression before ‘}’ token
metronome.cc:179: error: expected ‘;’ before ‘}’ token
metronome.cc:181: error: ‘g_vm’ was not declared in this scope
metronome.cc:181: error: expected primary-expression before ‘>’ token
metronome.cc:181: error: expected primary-expression before ‘)’ token
metronome.cc:185: error: expected initializer before ‘:’ token
metronome.cc:189: error: expected primary-expression before ‘}’ token
metronome.cc:189: error: expected ‘;’ before ‘}’ token
metronome.cc:189: error: expected primary-expression before ‘}’ token
metronome.cc:189: error: expected ‘)’ before ‘}’ token
metronome.cc:189: error: expected primary-expression before ‘}’ token
metronome.cc:189: error: expected ‘;’ before ‘}’ token
metronome.cc:192: error: ‘g_vm’ was not declared in this scope
metronome.cc:192: error: expected primary-expression before ‘>’ token
metronome.cc:192: error: expected primary-expression before ‘)’ token
metronome.cc:209: error: expected initializer before ‘:’ token
metronome.cc:369: error: expected primary-expression at end of input
metronome.cc:369: error: expected ‘;’ at end of input
metronome.cc:369: error: expected primary-expression at end of input
metronome.cc:369: error: expected ‘)’ at end of input
metronome.cc:369: error: expected statement at end of input
metronome.cc:200: warning: unused variable ‘begin’
metronome.cc:201: warning: unused variable ‘end’
metronome.cc:207: warning: unused variable ‘first’
metronome.cc:369: error: expected ‘}’ at end of input
metronome.cc:369: error: expected ‘}’ at end of input
metronome.cc:369: error: expected ‘}’ at end of input
metronome.cc:369: error: expected ‘catch’ at end of input
metronome.cc:369: error: expected ‘(’ at end of input
metronome.cc:369: error: expected type-specifier at end of input
metronome.cc:369: error: expected ‘)’ at end of input
metronome.cc:369: error: expected ‘{’ at end of input
metronome.cc: At global scope:
metronome.cc:67: warning: ‘void daemonize()’ defined but not used
make: *** [metronome.o] Error 1

is there anything I missed?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20141212/c95ffcb9/attachment.html>


More information about the Pdns-users mailing list