|
From: SourceForge.net <no...@so...> - 2011-12-28 23:08:09
|
Bugs item #3466591, was opened at 2011-12-28 15:08 Message generated for change (Tracker Item Submitted) made by enchanter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104393&aid=3466591&group_id=4393 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Tim Mooney (enchanter) Assigned to: Nobody/Anonymous (nobody) Summary: dvconnect.c needs -lrt on Solaris Initial Comment: Building libdv-1.0.0 on x86_64-sun-solaris2.10 (not OpenSolaris) with the no-cost Sun/Oracle Workshop 12.2 compiler toolchain. Although all the pthread-related stuff is in libpthread and is correctly being detected by configure, on Solaris the sched_* functions are in the "realtime" library, librt. The simple fix is to check for sched_setscheduler in -lrt after checking for libpthread. Here's what configure now outputs for me: checking for pthread_create in -lpthread... yes checking for sqrt in -lm... yes checking for sched_setscheduler in -lrt... yes Simple patch is attached. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104393&aid=3466591&group_id=4393 |