[dsc] ParseConfig.cc:98: error: 'atoi' was not declared in this scope

climb65 climb65 at laposte.net
Fri Oct 9 15:46:30 UTC 2009


Hello,

I have some problems compiling the collector. I get the following
messages with the
dsc-200901261740.tar.gz
<http://dns.measurement-factory.com/tools/dsc/download/dsc-200901261740.tar.gz>
release.

with gcc-4.3 and g++-4.3 on Debian GNU Linux x86_64 Xeon machine

thanks for a little help.

######################################## snip
(...)
g++  -g -Wall -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include
-I/usr/local/include  -c -o ParseConfig.o ParseConfig.cc
ParseConfig.cc:54: warning: non-local variable '<anonymous enum>
configToken' uses anonymous type
ParseConfig.cc: In function 'int getDatasetOptVal(Hapy::Pree,
std::string, int&)':
ParseConfig.cc:98: error: 'atoi' was not declared in this scope
ParseConfig.cc: In function 'void ParseConfig(const char*)':
ParseConfig.cc:292: error: 'strerror' was not declared in this scope
ParseConfig.cc:293: error: 'exit' was not declared in this scope
ParseConfig.cc:300: error: 'exit' was not declared in this scope
ParseConfig.cc:313: error: 'exit' was not declared in this scope
ParseConfig.cc:317: error: 'abort' was not declared in this scope
######################################## snip



More information about the dsc mailing list