[dsc] Issues in compiling

Enrico Sorge e.sorge at gmail.com
Tue Feb 3 21:37:08 UTC 2009


Hi Duane,

newer version resolved my issue. Btw using Linux Debian -lenny
gcc version 4.3.2 (Debian 4.3.2-1.1)

Got a new one in thedsc/ ParseConfig.cc

[...snip...]
 g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall
-Wwrite-strings -Woverloaded-virtual -MT Top.lo -MD -MP -MF .deps/Top.Tpo -c
Top.cc -o Top.o
/bin/sh ../libtool --tag=CXX --mode=link g++  -g -O1 -Wall -Wwrite-strings
-Woverloaded-virtual   -o libHapy.la -rpath /usr/local/lib  Algorithm.lo
Algorithms.lo Area.lo Assert.lo Buffer.lo Debugger.lo First.lo Optimizer.lo
Parser.lo Pree.lo PrettyPrint.lo PreeFarm.lo Result.lo Rule.lo RuleBase.lo
RuleId.lo Rules.lo SizeCalc.lo Top.lo  -lnsl
mkdir .libs
ar cru .libs/libHapy.a  Algorithm.o Algorithms.o Area.o Assert.o Buffer.o
Debugger.o First.o Optimizer.o Parser.o Pree.o PrettyPrint.o PreeFarm.o
Result.o Rule.o RuleBase.o RuleId.o Rules.o SizeCalc.o Top.o
ranlib .libs/libHapy.a
creating libHapy.la
(cd .libs && rm -f libHapy.la && ln -s ../libHapy.la libHapy.la)
make[3]: Leaving directory
`/opt/dnsstats/DSC/dsc-200901261740/collector/TmfBase/Hapy/src'
Making all in doc
make[3]: Entering directory
`/opt/dnsstats/DSC/dsc-200901261740/collector/TmfBase/Hapy/doc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/opt/dnsstats/DSC/dsc-200901261740/collector/TmfBase/Hapy/doc'
Making all in tests
make[3]: Entering directory
`/opt/dnsstats/DSC/dsc-200901261740/collector/TmfBase/Hapy/tests'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/opt/dnsstats/DSC/dsc-200901261740/collector/TmfBase/Hapy/tests'
make[3]: Entering directory
`/opt/dnsstats/DSC/dsc-200901261740/collector/TmfBase/Hapy'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory
`/opt/dnsstats/DSC/dsc-200901261740/collector/TmfBase/Hapy'
make[2]: Leaving directory
`/opt/dnsstats/DSC/dsc-200901261740/collector/TmfBase/Hapy'
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
make[1]: *** [ParseConfig.o] Error 1
make[1]: Leaving directory
`/opt/dnsstats/DSC/dsc-200901261740/collector/dsc'
make: *** [all] Error 2

TIA
Enrico

On Tue, Jan 27, 2009 at 1:44 AM, Duane Wessels <
wessels at measurement-factory.com> wrote:

>
>
>
> On Sun, 25 Jan 2009, Enrico Sorge wrote:
>
>  Assert.cc:19: error: '::abort' has not been declared
>>
>
> I found this is a problem with the increasingly-out-of-date
> Hapy library that comes with DSC code.  I brought in the
> recent version and made a new DSC release, so please give
> this a try:
>
>
> http://dns.measurement-factory.com/tools/dsc/download/dsc-200901261740.tar.gz
>



More information about the dsc mailing list