Undefined symbol timer_delete()?

From: Craig Rodrigues <rodrigc_at_crodrigues.org>
Date: Sat, 16 Jun 2007 16:36:24 -0400
Hi,

I was in the middle of updating the xfsprogs port
when I got a linker problem related to timer_delete(2).

I just tried to compile the following program:

#include <time.h>
int main(void) {
  timer_t timerid;
  timer_delete(timerid);
  return 0;
}

and got this linker error:
/var/tmp//ccBspzgp.o(.text+0x18): In function `main':
: undefined reference to `timer_delete'

According to the timer_delete(2) man page, this symbol should be in libc,
but I can't link to it.

Any ideas what is going on?

Thanks.
-- 
Craig Rodrigues        
rodrigc_at_crodrigues.org
Received on Sat Jun 16 2007 - 18:36:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:12 UTC