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

Duane Wessels wessels at measurement-factory.com
Mon Oct 12 17:54:07 UTC 2009




On Fri, 9 Oct 2009, climb65 wrote:

> 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.

I started to prepare a new release tarball but it uncovered other problems
that need to be taken care of.  Meanwhile you can apply this short patch:

$ svn diff -r11160:11161
Index: collector/dsc/ParseConfig.cc
===================================================================
--- collector/dsc/ParseConfig.cc        (revision 11160)
+++ collector/dsc/ParseConfig.cc        (revision 11161)
@@ -1,3 +1,5 @@
+#include <stdlib.h>
+#include <string.h>

  #include <iostream>
  #include <fstream>




More information about the dsc mailing list