← Back to team overview

dolfin team mailing list archive

Re: Re: make error with dolfin-0.5.10

 

On Wed, Oct 12, 2005 at 04:12:23PM -0500, Anders Logg wrote:
> The stuct timespec should be defined by time.h, which is included from
> ctime, which in turn is included in utils.cpp in DOLFIN.
> 
> For some reason, the definition of timespec seems to be missing on
> your system. You could try adding it and see if it works.
> 
> Edit line 61 in src/kernel/common/utils.cpp, changing from
> 
>     struct timespec req;
> 
> to
>     struct { __time_t tv_sec; long int tv_nsec; } req;
> 
> Does that help?
> 
> I haven't seen this problem before. Anyone else has a suggestion?
> 
> /Anders
> 

I don't have a suggestion, but are you running Solaris Dave? We
haven't tested DOLFIN on that for quite a long time, maybe we're
including something non-standard? Maybe it should be time.h?

  Johan




Follow ups

References