From e.sorge at gmail.com Sun Jan 25 10:14:44 2009 From: e.sorge at gmail.com (Enrico Sorge) Date: Sun, 25 Jan 2009 11:14:44 +0100 Subject: [dsc] Issues in compiling Message-ID: <6e393e5c0901250214o4a3e581bi1eb36630c54d8975@mail.gmail.com> Hi all, I'm using the dsc-200811241737 snapshot. During collector 'make' i get this error during compilation (gcc version 4.3.2): g++ -DHAVE_CONFIG_H -I. -I. -I../src/include/Hapy -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Assert.lo -MD -MP -MF .deps/Assert.Tpo -c Assert.cc -o Assert.o Assert.cc: In function 'void Hapy::Abort(const char*, int, const char*)': Assert.cc:19: error: '::abort' has not been declared Assert.cc: In function 'void Hapy::Exit(const char*, int, const char*)': Assert.cc:25: error: '::exit' has not been declared Assert.cc: In function 'void Hapy::Exit()': Assert.cc:30: error: '::exit' has not been declared Assert.cc:32: error: '::exit' has not been declared make[3]: *** [Assert.lo] Error 1 make[3]: Leaving directory `/opt/dnsstats/DSC/dsc-200811241737/collector/TmfBase/Hapy/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/opt/dnsstats/DSC/dsc-200811241737/collector/TmfBase/Hapy' make[1]: *** [../TmfBase/Hapy/src/.libs/libHapy.a] Error 2 make[1]: Leaving directory `/opt/dnsstats/DSC/dsc-200811241737/collector/dsc' make: *** [all] Error 2 TIA Enrico From wessels at measurement-factory.com Mon Jan 26 22:02:55 2009 From: wessels at measurement-factory.com (Duane Wessels) Date: Mon, 26 Jan 2009 15:02:55 -0700 (MST) Subject: [dsc] Issues in compiling In-Reply-To: <6e393e5c0901250214o4a3e581bi1eb36630c54d8975@mail.gmail.com> References: <6e393e5c0901250214o4a3e581bi1eb36630c54d8975@mail.gmail.com> Message-ID: On Sun, 25 Jan 2009, Enrico Sorge wrote: > Hi all, > > I'm using the dsc-200811241737 snapshot. During collector 'make' i get this > error during compilation (gcc version 4.3.2): > > g++ -DHAVE_CONFIG_H -I. -I. -I../src/include/Hapy -I../src/include > -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT > Assert.lo -MD -MP -MF .deps/Assert.Tpo -c Assert.cc -o Assert.o > Assert.cc: In function 'void Hapy::Abort(const char*, int, const char*)': > Assert.cc:19: error: '::abort' has not been declared > Assert.cc: In function 'void Hapy::Exit(const char*, int, const char*)': > Assert.cc:25: error: '::exit' has not been declared > Assert.cc: In function 'void Hapy::Exit()': > Assert.cc:30: error: '::exit' has not been declared > Assert.cc:32: error: '::exit' has not been declared Hi Enrico, I'd expect those functions to be declared in . What operating system are you using? Do you see this when you run ./configure from the collector/TmfBase/Hapy directory? checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes DW From wessels at measurement-factory.com Tue Jan 27 00:44:22 2009 From: wessels at measurement-factory.com (Duane Wessels) Date: Mon, 26 Jan 2009 17:44:22 -0700 (MST) Subject: [dsc] Issues in compiling In-Reply-To: <6e393e5c0901250214o4a3e581bi1eb36630c54d8975@mail.gmail.com> References: <6e393e5c0901250214o4a3e581bi1eb36630c54d8975@mail.gmail.com> Message-ID: 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