|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
getmicrouptime/microuptime undefined reference to `microuptime'
From: Adam PAPAI (wooh
wooh.hu)
Date: Sat Jul 29 2006 - 15:30:26 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
I'm lookin for a solution on getting the system uptime via syscall.
I tried to use the microuptime/getmicrouptime but every time I intended
to compile it, I got the following error:
/tmp//ccy16835.o(.text+0x20): In function `main':
: undefined reference to `microuptime'
collect2: ld returned 1 exit status
I included the appropriate headers:
#include <stdio.h>
#include <sys/time.h>
I didn't find other funtions to get the uptime for a system. Did I miss
something? (library or something)
Thanks in advance
--
Adam PAPAI
D i g i t a l Influence
http://www.digitalinfluence.hu
E-mail: wooh
wooh.hu
Phone: +36 30 33-55-735 (Hungary)
Phone: +49 176-67264167 (Germany)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]