From: Norberto Valverde Llanos <norberto () lapositiva ! com ! pe>
To: tru64-unix-managers
Subject: Looking for help
Date: Fri, 12 Nov 1999 16:45:22 +0000 [thread overview]
Message-ID: <96079085416206.tru64-unix-managers.marc@archive.invalid> (raw)
Hi managers!
I tried to make a small program for getting the time(hour, minutes, seconds
and miliseconds), but, when I compile the program it sends an error
message. The program code_example is developed in "C" and is the
following:
script.c
_________________________________________________________________________
#include <time.h>
#include <timers.h>
struct timespec *tp1=NULL;
int hora=0;
void main ()
{
hora= clock_gettime(CLOCK_REALTIME,tp1);
printf("%i",hora);
}
___________________________________________________________________________
_
The error message is the following:
root@alpha> cc script.c -o script
ld:
Unresolved:
clock_gettime
___________________________________________________________________________
__
I will thank you very much if you could send some helpful advices about
this problem.
Norberto Valverde
Lima - Peru
reply other threads:[~1999-11-12 16:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox