This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

help on a compiling on linux machine


I am compiling a code named  http://old.nabble.com/file/p33415964/timers.c
timers.c  out of the metis package, it includes a header file 
http://old.nabble.com/file/p33415964/GKlib.h GKlib.h .  On PC windows 7, I
have no problem compiling it. However, on linux, I am getting the following
error message: 

timers.c: In function gk_CPUSeconds:
timers.c:45:19: error: storage size of r isn't known
timers.c:47:15: error: RUSAGE_SELF undeclared (first use in this function)

I am using gcc version 4.7.0 20110416 (experimental). Please help me figure
out what is wrong?
-- 
View this message in context: http://old.nabble.com/help-on-a-compiling-on-linux-machine-tp33415964p33415964.html
Sent from the gcc - Help mailing list archive at Nabble.com.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]