From climb65 at laposte.net Fri Oct 9 15:46:30 2009 From: climb65 at laposte.net (climb65) Date: Fri, 09 Oct 2009 17:46:30 +0200 Subject: [dsc] ParseConfig.cc:98: error: 'atoi' was not declared in this scope Message-ID: <4ACF5AD6.6040003@laposte.net> Hello, I have some problems compiling the collector. I get the following messages with the 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 ' 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 From wessels at measurement-factory.com Mon Oct 12 17:54:07 2009 From: wessels at measurement-factory.com (Duane Wessels) Date: Mon, 12 Oct 2009 11:54:07 -0600 (MDT) Subject: [dsc] ParseConfig.cc:98: error: 'atoi' was not declared in this scope In-Reply-To: <4ACF5AD6.6040003@laposte.net> References: <4ACF5AD6.6040003@laposte.net> Message-ID: 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 > > 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 +#include #include #include From wessels at measurement-factory.com Mon Oct 12 23:13:52 2009 From: wessels at measurement-factory.com (Duane Wessels) Date: Mon, 12 Oct 2009 17:13:52 -0600 (MDT) Subject: [dsc] New DSC version released Message-ID: Hi All, Prompted by the long-standing compilation problem in the Jan 2009 release, I put together a new DSC tarball today. You can find it at http://dns.measurement-factory.com/tools/dsc/source.html As (breifly) noted in the CHANGES file, there have been some significant rewrites to some of the presenter perl modules. These should be mostly internal. However you will probably have to rewrite your dsc-grapher.pl CGI script slightly. The old style looks like this: use strict; use warnings; use DSC::grapher; DSC::grapher::prepare(); DSC::grapher::run(); Now it looks like this: use strict; use warnings; use CGI; use DSC::grapher; my $grapher = DSC::grapher->new; $grapher->cgi(new CGI); $grapher->run(); Please let me know if you discover any apparent problems with this version. Duane W. From mehmet at akcin.net Tue Oct 13 04:33:04 2009 From: mehmet at akcin.net (Mehmet Akcin) Date: Tue, 13 Oct 2009 06:33:04 +0200 Subject: [dsc] New DSC version released In-Reply-To: References: Message-ID: <89278B07-7A68-42F6-8CEA-4A7E05B2E5DF@akcin.net> Hello Mehmet Akcin mehmet at icann.org On Oct 13, 2009, at 1:16, "Duane Wessels" wrote: > Hi All, > > Prompted by the long-standing compilation problem in the Jan 2009 > release, I put together a new DSC tarball today. You can find it > at http://dns.measurement-factory.com/tools/dsc/source.html > > As (breifly) noted in the CHANGES file, there have been some > significant > rewrites to some of the presenter perl modules. These should be > mostly internal. However you will probably have to rewrite your > dsc-grapher.pl CGI script slightly. The old style looks like this: > > use strict; > use warnings; > use DSC::grapher; > DSC::grapher::prepare(); > DSC::grapher::run(); > > Now it looks like this: > > use strict; > use warnings; > use CGI; > use DSC::grapher; > my $grapher = DSC::grapher->new; > $grapher->cgi(new CGI); > $grapher->run(); > > Please let me know if you discover any apparent problems with this > version. > > Duane W. > _______________________________________________ > dsc mailing list > dsc at measurement-factory.com > http://www.measurement-factory.com/mailman/listinfo/dsc From mehmet at akcin.net Tue Oct 13 09:22:11 2009 From: mehmet at akcin.net (Mehmet Akcin) Date: Tue, 13 Oct 2009 11:22:11 +0200 Subject: [dsc] New DSC version released In-Reply-To: <89278B07-7A68-42F6-8CEA-4A7E05B2E5DF@akcin.net> References: <89278B07-7A68-42F6-8CEA-4A7E05B2E5DF@akcin.net> Message-ID: Err sorry for some reason the rest of the email which contained my question didn't go thru.. Duane, any concerns of running different versions of DSC where presenter is running an older version and collector is running another one? (i am practically talking about your latest release and the release before) let me know please thanks Mehmet > > > On Oct 13, 2009, at 1:16, "Duane Wessels" > wrote: > >> Hi All, >> >> Prompted by the long-standing compilation problem in the Jan 2009 >> release, I put together a new DSC tarball today. You can find it >> at http://dns.measurement-factory.com/tools/dsc/source.html >> >> As (breifly) noted in the CHANGES file, there have been some >> significant >> rewrites to some of the presenter perl modules. These should be >> mostly internal. However you will probably have to rewrite your >> dsc-grapher.pl CGI script slightly. The old style looks like this: >> >> use strict; >> use warnings; >> use DSC::grapher; >> DSC::grapher::prepare(); >> DSC::grapher::run(); >> >> Now it looks like this: >> >> use strict; >> use warnings; >> use CGI; >> use DSC::grapher; >> my $grapher = DSC::grapher->new; >> $grapher->cgi(new CGI); >> $grapher->run(); >> >> Please let me know if you discover any apparent problems with this >> version. >> >> Duane W. >> _______________________________________________ >> dsc mailing list >> dsc at measurement-factory.com >> http://www.measurement-factory.com/mailman/listinfo/dsc > _______________________________________________ > dsc mailing list > dsc at measurement-factory.com > http://www.measurement-factory.com/mailman/listinfo/dsc From wessels at measurement-factory.com Tue Oct 13 16:01:01 2009 From: wessels at measurement-factory.com (Duane Wessels) Date: Tue, 13 Oct 2009 10:01:01 -0600 (MDT) Subject: [dsc] New DSC version released In-Reply-To: References: <89278B07-7A68-42F6-8CEA-4A7E05B2E5DF@akcin.net> Message-ID: On Tue, 13 Oct 2009, Mehmet Akcin wrote: > Err sorry for some reason the rest of the email which contained my question > didn't go thru.. > > Duane, any concerns of running different versions of DSC where presenter is > running an older version and collector is running another one? (i am > practically talking about your latest release and the release before) Good question. You do not need to upgrade the collectors between these two versions. DW