From e69decaef4da0c644955ff2ea5d3a71fd7dd44f9 Mon Sep 17 00:00:00 2001 From: Michael Kostylev Date: Sun, 28 Mar 2010 20:16:09 +0000 Subject: [PATCH] Clarify (Open)Solaris section of the documentation. patch by Michael Kostylev, michael.kostylev gmail com Originally committed as revision 22713 to svn://svn.ffmpeg.org/ffmpeg/trunk --- doc/general.texi | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/doc/general.texi b/doc/general.texi index 5c3a3d4b5a..17c46ab5f9 100644 --- a/doc/general.texi +++ b/doc/general.texi @@ -740,9 +740,17 @@ For information about compiling FFmpeg on OS/2 see @section (Open)Solaris GNU Make is required to build FFmpeg, so you have to invoke (@file{gmake}), -standard Solaris Make will not work. Depending on your system configuration -you might be using a non-POSIX-compatible default shell. Ensure that a -POSIX-compatible shell is in your path or invoke it directly. +standard Solaris Make will not work. When building with a non-c99 front-end +(gcc, generic suncc) add either @code{--extra-libs=/usr/lib/32/values-xpg6.o} +or @code{--extra-libs=/usr/lib/64/values-xpg6.o} to the configure options +since the libc is not c99-compliant by default. The probes performed by +configure may raise an exception leading to the death of configure itself +due to a bug in the system shell. Simply invoke a different shell such as +bash directly to work around this: + +@example +bash ./configure +@end example @section Windows