On Sat, 16 Aug 2003 21:22:34 -0500
Srini Amble <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I am using RedHat 7.2. I want to make use of POSIX compliant timer 
> functions like timer_create, timer_settime, etc. When I compile the code 
> it complains "undefined reference to timer_create". I suppose the 
> libraries I am loading does not have the POSIX functions in them. I have 
> included <time.h> and <signal.h> header files in my source code. Could 
> anyone point out what libraries I should be loading? I appreciate any 
> help I can get.
> 
> Many thanks in anticipation
> 
> Srini
> 
> 

add  "-lrt"  to your compile line.


Cheers,
Sean


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to