[FFmpeg-devel] [PATCH] compilation fix Solaris nanosleep

Diego Biurrun diego
Mon Feb 16 02:18:25 CET 2009


On Sun, Feb 15, 2009 at 02:56:12PM +0100, Fabian Groffen wrote:
> nanosleep is found in librt on Solaris, patch attached.
> 
> /Gentoo/var/tmp/portage/media-video/ffmpeg-0.4.9_p20090201/work/ffmpeg/libavdevice/libavdevice.so: undefined reference to `nanosleep'
> collect2: ld returned 1 exit status
> 
> * grobian at gentoo.org: the use of nanosleep requires librealtime (-lrt)
>                       on Solaris, OpenSolaris however doesn't need it
>                       anymore

Which begs for the question: Will this work on OpenSolaris?

Diego




More information about the ffmpeg-devel mailing list