Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jun 2007 16:36:24 -0400
From:      Craig Rodrigues <rodrigc@crodrigues.org>
To:        freebsd-current@freebsd.org
Cc:        deischen@freebsd.org, davidxu@freebsd.org
Subject:   Undefined symbol timer_delete()?
Message-ID:  <20070616203624.GA37899@crodrigues.org>

next in thread | raw e-mail | index | archive | help
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@crodrigues.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070616203624.GA37899>