[PPL-devel] setitimer functions

Roy Sfaradi sfa_roy at yahoo.com
Tue Sep 25 08:06:01 CEST 2007


Hello Roberto,

Thanks for your reply.

I've tried the --disable-watchdog (and --without-watchdog) option. The configure executed without errors, but, when I tried make I got the following error:
------
timings.cc: In function `void start_clock()':
timings.cc:50: error: aggregate `rusage rsg' has incomplete type and cannot be defined
timings.cc:51: error: `RUSAGE_SELF' undeclared (first use this function)
timings.cc:51: error: (Each undeclared identifier is reported only once for each function it appears in.)
timings.cc:51: error: `getrusage' undeclared (first use this function)
timings.cc: In function `void print_clock(std::ostream&)':
timings.cc:61: error: aggregate `rusage rsg' has incomplete type and cannot be defined
timings.cc:62: error: `RUSAGE_SELF' undeclared (first use this function)
timings.cc:62: error: `getrusage' undeclared (first use this function)
make[2]: *** [timings.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
------

I guess this error is for similar reason...

Regards,

Ro'ee Sfaradi
sfa_roy at yahoo.com

----- Original Message ----
From: Roberto Bagnara <bagnara at cs.unipr.it>
To: sfa_roy at yahoo.com
Cc: The Parma Polyhedra Library developers' list <ppl-devel at cs.unipr.it>
Sent: Saturday, September 22, 2007 6:45:20 PM
Subject: Re: setitimer functions

Ro'ee Sfaradi wrote:
 > Hello all,
 >
 > I'm kinda new to MinGW and Msys.
 >
 > I'm trying to compile a package called ppl (The Parma Polyhedra Library) in msys environment.
 >
 > When I'm run the ./configure after it runs a bit, I get the following message :
 >
 > ------
 > configure: error: CANNOT BUILD THE WATCHDOG LIBRARY
 > *** THE SYSTEM DOES NOT PROVIDE THE SETITIMER FUNCTION.
 > configure: error: /bin/sh './configure' failed for Watchdog
 > ------
 >
 > I searched over FAQs and googled and didn't find any hint about it. Is it something I need to install to have the timer support on msys?
 >
 > Thanks in advance,
 > Ro'ee

Dear Ro'ee,

one possibility is to use Cygwin.  Another possibility, if you do not need the functionalities
provided by the Parma Watchdog Library, is to configure the PPL with the option --disable-watchdog.
All the best,

     Roberto

-- 
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara at cs.unipr.it





       
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=list&sid=396545433




More information about the PPL-devel mailing list