| |||||||||||||||||||||||||||||||
|
> [snip] > You failed to include the actual command you used to compile > your program. So, I'm guessing pilot error. > > mobile:kargl[203] cat > j.c > #include <time.h> > int main(void) { > timer_t timerid; > timer_delete(timerid); > return 0; > } > mobile:kargl[204] cc -o z j.c > /tmp/ccisiugw.o(.text+0x18): In function `main': > : undefined reference to `timer_delete' > mobile:kargl[205] cc -o z j.c -lrt > > It appears that the manpage is wrong > > LIBRARY > Standard C Library (libc, -lc) > > Hint: > (cd /usr/src/lib ; find . -name \*.map | xargs grep timer) > I will fix the manpages, thanks. David Xu _______________________________________________ freebsd-current mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe"
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com