clock_gettime() needs librt on Ubuntu 12.04

Bug #1308612 reported by Zygmunt Krynicki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Fix Released
Medium
Zygmunt Krynicki

Bug Description

The provider doesn't build on Ubuntu 12.04 right now:

/tmp/ccSjbm53.o: In function `test_clock_jitter':
/build/buildd/plainbox-provider-checkbox-0.5~dev+bzr2931+pkg3~ubuntu12.04.1/providers/plainbox-provider-checkbox/build/bin/../../src/clocktest.c:55: undefined reference to `clock_gettime'

After reading the manual page for clock_gettime() it is obvious we need to link with librt to solve this particular problem.

Related branches

Zygmunt Krynicki (zyga)
Changed in plainbox-provider-checkbox:
milestone: none → 0.5
Zygmunt Krynicki (zyga)
Changed in plainbox-provider-checkbox:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Zygmunt Krynicki (zkrynicki)
summary: - clock_gettime() is not available on 12.04
+ clock_gettime() needs librt on Ubuntu 12.04
description: updated
Zygmunt Krynicki (zyga)
Changed in plainbox-provider-checkbox:
status: In Progress → Fix Committed
Daniel Manrique (roadmr)
Changed in plainbox-provider-checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.