[Liboil] [Schrodinger-devel] undefined reference to clock_gettime
Wladimir van der Laan
laanwj at gmail.com
Wed Mar 5 21:58:17 PST 2008
I think it is a quite recent POSIX function to query arbitrary clocks in the
system, if your libc doesn't support it, you might have to use gettimeofday
instead.
Wladimir
On Wed, Mar 5, 2008 at 9:42 PM, Nathan Caldwell <saintdev at gmail.com> wrote:
> Hi.
> First, I apologize for cross posting.
> I'm attempting to add schroedinger to HandBrake. The problem is when I
> go to link I get an undefined reference to clock_gettime from liboil
> and schroedinger. Any ideas why this would be?
>
> ...updating 1 target(s)...
> Link HandBrakeCLI
> contrib/lib/libschroedinger-1.0.a(libschroedinger_1.0_la-
> schroasync-pthread.o):
> In function `schro_async_wait_locked':
> (.text+0x476): undefined reference to `clock_gettime'
> contrib/lib/liboil-0.3.a(liboil_0.3_la-liboilcpu.o): In function
> `oil_profile_stamp_clock_gettime':
> /home/nate/projects/liboil/liboil/liboilcpu.c:88: undefined reference
> to `clock_gettime'
> collect2: ld returned 1 exit status
>
>
> --
> -Nathan Caldwell
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Schrodinger-devel mailing list
> Schrodinger-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/schrodinger-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/liboil/attachments/20080306/93318fb0/attachment.html
More information about the Liboil
mailing list