Steve Kargl wrote: > [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 XuReceived on Sun Jun 17 2007 - 23:16:05 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:12 UTC