compile time error when calling getmicrotime()

freebsd at libkvm.org freebsd at libkvm.org
Thu Mar 27 06:26:48 PST 2003


hi,

i am trying to call getmicrotime(&tv) in a program but i
get the following error when compiling :

/tmp/ccfMfSM6.o(.text+0xe): undefined reference to `getmicrotime'

yes, i have declared '#include <sys/time.h>'  :-)

FreeBSD 5.0-RELEASE-p4 i386
FreeBSD 4.7-RELEASE-p9 i386

any comment welcome.

thanks

julien mabillard.


More information about the freebsd-bugs mailing list