Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2003 15:26:43 +0100
From:      freebsd@libkvm.org
To:        freebsd-bugs@freebsd.org
Subject:   compile time error when calling getmicrotime()
Message-ID:  <20030327142643.GA58757@postel.libkvm.org>

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



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