#51 dvconnect.c needs -lrt on Solaris

open
nobody
None
5
2011-12-28
2011-12-28
Tim Mooney
No

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.

Discussion

  • Awesome site you have here but I was curious about if you knew of any message boards that cover the same topics discussed here? I'd really like to be a part of online community where I can get advice from other experienced individuals that share the same interest. If you have any recommendations, please let me know. Thanks!
    cheap north face jackets http://northfacefleecejacket.manifo.com/