From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079085416206.tru64-unix-managers.marc@archive.invalid> From: Norberto Valverde Llanos Date: Fri, 12 Nov 1999 16:45:22 +0000 To: tru64-unix-managers Subject: Looking for help X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079085416206 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 #include 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