root@elite:/usr/local/src/bzflag/plugins/bzfscron# make g++ -g -fPIC -frtti -I../../include -O -c -o bzfscron.o bzfscron.cpp In file included from bzfscron.h:13, from bzfscron.cpp:16: ../../include/common.h:24:21: config.h: No such file or directory In file included from /usr/include/c++/3.3/memory:54, from /usr/include/c++/3.3/string:48, from bzfscron.h:15, from bzfscron.cpp:16: /usr/include/c++/3.3/bits/stl_algobase.h:149: error: redefinition of ` template const _Tp& std::min(const _Tp&, const _Tp&)' ../../include/common.h:221: error: `template const comparable& std::min(const comparable&, const comparable&)' previously declared here /usr/include/c++/3.3/bits/stl_algobase.h:169: error: redefinition of ` template const _Tp& std::max(const _Tp&, const _Tp&)' ../../include/common.h:207: error: `template const comparable& std::max(const comparable&, const comparable&)' previously declared here /usr/include/c++/3.3/bits/stl_algobase.h: In function `bool std::lexicographical_compare(const unsigned char*, const unsigned char*, const unsigned char*, const unsigned char*)': /usr/include/c++/3.3/bits/stl_algobase.h:793: error: call of overloaded `min( const size_t&, const size_t&)' is ambiguous ../../include/common.h:221: error: candidates are: const comparable& std::min(const comparable&, const comparable&) [with comparable = size_t] /usr/include/c++/3.3/bits/stl_algobase.h:149: error: const _Tp& std::min(const _Tp&, const _Tp&) [with _Tp = size_t] In file included from /usr/include/c++/3.3/bits/locale_facets.tcc:41, from /usr/include/c++/3.3/locale:47, from /usr/include/c++/3.3/bits/ostream.tcc:37, from /usr/include/c++/3.3/ostream:535, from /usr/include/c++/3.3/iostream:45, from ../../include/StateDatabase.h:22, from ../../include/global.h:26, from SynchroServerLink.h:30, from bzfscron.h:20, from bzfscron.cpp:16: /usr/include/c++/3.3/cmath: At global scope: /usr/include/c++/3.3/cmath:110: error: parse error before `float' /usr/include/c++/3.3/cmath:113: error: parse error before `float' /usr/include/c++/3.3/cmath:116: error: parse error before `float' /usr/include/c++/3.3/cmath:125: error: parse error before `float' /usr/include/c++/3.3/cmath:128: error: parse error before `float' /usr/include/c++/3.3/cmath:131: error: parse error before `float' /usr/include/c++/3.3/cmath:140: error: parse error before `float' /usr/include/c++/3.3/cmath:143: error: parse error before `float' /usr/include/c++/3.3/cmath:149: error: parse error before `float' /usr/include/c++/3.3/cmath:155: error: parse error before `float' /usr/include/c++/3.3/cmath: In function `float std::asin(float)': /usr/include/c++/3.3/cmath:204: error: parse error before `float' /usr/include/c++/3.3/cmath: In function `float std::atan(float)': /usr/include/c++/3.3/cmath:222: error: parse error before `float' /usr/include/c++/3.3/cmath: In function `float std::atan2(float, float)': /usr/include/c++/3.3/cmath:240: error: parse error before `float' /usr/include/c++/3.3/cmath: In function `float std::exp(float)': /usr/include/c++/3.3/cmath:306: error: parse error before `float' /usr/include/c++/3.3/cmath: In function `float std::floor(float)': /usr/include/c++/3.3/cmath:334: error: parse error before `float' /usr/include/c++/3.3/cmath: In function `float std::fmod(float, float)': /usr/include/c++/3.3/cmath:352: error: parse error before `float' /usr/include/c++/3.3/cmath: In function `float std::log(float)': /usr/include/c++/3.3/cmath:411: error: parse error before `float' /usr/include/c++/3.3/cmath: In function `float std::log10(float)': /usr/include/c++/3.3/cmath:429: error: parse error before `float' /usr/include/c++/3.3/cmath: In function `float std::pow(float, float)': /usr/include/c++/3.3/cmath:486: error: parse error before `float' /usr/include/c++/3.3/cmath: In function `float std::tan(float)': /usr/include/c++/3.3/cmath:556: error: parse error before `float' In file included from SynchroServerLink.h:30, from bzfscron.h:20, from bzfscron.cpp:16: ../../include/global.h: At global scope: ../../include/global.h:66: error: `MAXFLOAT' was not declared in this scope bzfscron.cpp: In member function `bool CronManager::connect3()': bzfscron.cpp:310: error: `bz_setPlayerAdmin' undeclared (first use this function) bzfscron.cpp:310: error: (Each undeclared identifier is reported only once for each function it appears in.) /usr/include/c++/3.3/bits/basic_string.h: In member function `int std::basic_string<_CharT, _Traits, _Alloc>::compare(const std::basic_string<_CharT, _Traits, _Alloc>&) const [with _CharT = char, _Traits = std::char_traits, _Alloc = std::allocator]': /usr/include/c++/3.3/bits/basic_string.h:948: instantiated from `bool std::operator<(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits, _Alloc = std::allocator]' /usr/include/c++/3.3/bits/stl_function.h:197: instantiated from `bool std::less<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = std::string]' /usr/include/c++/3.3/bits/stl_tree.h:1323: instantiated from `std::_Rb_tree_iterator<_Val, _Val&, _Val*> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::lower_bound(const _Key&) [with _Key = std::string, _Val = std::pair, _KeyOfValue = std::_Select1st >, _Compare = std::less, _Alloc = std::allocator >]' /usr/include/c++/3.3/bits/stl_map.h:508: instantiated from `typename std::_Rb_tree<_Key, std::pair, std::_Select1st >, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::lower_bound(const _Key&) [with _Key = std::string, _Tp = FlagType*, _Compare = std::less, _Alloc = std::allocator >]' /usr/include/c++/3.3/bits/stl_map.h:316: instantiated from `_Tp& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const _Key&) [with _Key = std::string, _Tp = FlagType*, _Compare = std::less, _Alloc = std::allocator >]' ../../include/Flag.h:130: instantiated from here /usr/include/c++/3.3/bits/basic_string.h:830: error: call of overloaded `min( size_t&, size_t&)' is ambiguous ../../include/common.h:221: error: candidates are: const comparable& std::min(const comparable&, const comparable&) [with comparable = size_t] /usr/include/c++/3.3/bits/stl_algobase.h:149: error: const _Tp& std::min(const _Tp&, const _Tp&) [with _Tp = size_t] make: *** [bzfscron.o] Error 1