[dsc] Issues in compiling

Duane Wessels wessels at measurement-factory.com
Mon Jan 26 22:02:55 UTC 2009




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

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



More information about the dsc mailing list