Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#8039 closed defect (fixed)

Undefined reference to clock_gettime after [23468]

Reported by: anonymous Owned by: Nigel
Priority: minor Milestone: unknown
Component: MythTV - General Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Linker fails with undefined reference to clock_gettime (from hdhomerun_os_posix.c). Doesn't seem to happen on all systems (Fedora 11 OK, Ubuntu 8.10 failed).

Attaching patch to add -lrt to unix libs, but should this only be for systems with posix realtime extensions?

Attachments (2)

hdhr_lrt.patch (380 bytes) - added by anonymous 9 years ago.
8039-config.patch (990 bytes) - added by Nigel 9 years ago.
Better patch?

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by anonymous

Attachment: hdhr_lrt.patch added

comment:1 Changed 9 years ago by JYA

Owner: changed from Isaac Richards to Nigel
Status: newassigned

This is likely related to changeset r23468

Changed 9 years ago by Nigel

Attachment: 8039-config.patch added

Better patch?

comment:2 Changed 9 years ago by anonymous

If some-one affected by the fault could apply and test that configure patch?

comment:3 Changed 9 years ago by JYA

Resolution: fixed
Status: assignedclosed

(In [23517]) # libmythhdhomerun now uses clock_gettime, which some Unixes need -lrt for ; fix #8039. Fix by Nigel

comment:4 Changed 9 years ago by JYA

(In [23547]) libmythhdhomerun now uses clock_gettime, which some Unixes need -lrt for ; fix #8039. Re: r23517

Note: See TracTickets for help on using tickets.