<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 51: dvconnect.c needs -lrt on Solaris</title><link>https://sourceforge.net/p/libdv/bugs/51/</link><description>Recent changes to 51: dvconnect.c needs -lrt on Solaris</description><atom:link href="https://sourceforge.net/p/libdv/bugs/51/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 28 Dec 2011 23:08:09 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/libdv/bugs/51/feed.rss" rel="self" type="application/rss+xml"/><item><title>dvconnect.c needs -lrt on Solaris</title><link>https://sourceforge.net/p/libdv/bugs/51/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Building libdv-1.0.0 on x86_64-sun-solaris2.10 (not OpenSolaris) with the no-cost Sun/Oracle Workshop 12.2 compiler toolchain.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Here's what configure now outputs for me:&lt;/p&gt;
&lt;p&gt;checking for pthread_create in -lpthread... yes&lt;br /&gt;
checking for sqrt in -lm... yes&lt;br /&gt;
checking for sched_setscheduler in -lrt... yes&lt;/p&gt;
&lt;p&gt;Simple patch is attached.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim Mooney</dc:creator><pubDate>Wed, 28 Dec 2011 23:08:09 -0000</pubDate><guid>https://sourceforge.net54061d931fb4f56b3346602beda28ae16883aaf4</guid></item></channel></rss>