Undefined symbol timer_delete()?

Craig Rodrigues rodrigc at crodrigues.org
Sat Jun 16 20:36:16 UTC 2007


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;
  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?

Craig Rodrigues        
rodrigc at crodrigues.org

More information about the freebsd-current mailing list