Unnecessary compile-time warnings about -lrt

Bug #673567 reported by Alexey Kopytov on 2010-11-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
Alexey Kopytov

Bug Description

I'm getting the following warnings when building on Mac OS X:

sql_parse.cc:6128:2: warning: #warning : HAVE_CLOCK_GETTIME is disabled.
sql_parse.cc:6129:2: warning: #warning : Most systems require librt library to use the function clock_gettime().
sql_parse.cc:6130:2: warning: #warning : Did you set environment when ./configure ? (e.g. "export LIBS=-lrt" for sh)

There is no librt on Mac OS X. Why not just check its availability at configure stage and add it to LDFLAGS automatically to avoid spurious warnings?

Percona (percona-team) wrote :

We do not support Mac OS X now, but you can try to fix

Changed in percona-server:
status: New → Triaged
importance: Undecided → Low
assignee: nobody → Alexey Kopytov (akopytov)
Changed in percona-server:
status: Triaged → Fix Committed
Percona (percona-team) on 2010-11-25
Changed in percona-server:
milestone: none → 5.1.53-11.7
Changed in percona-server:
status: Fix Committed → Fix Released

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-1835

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers