[MPlayer-users] Error building mplayer w/ Xvid on Solaris 10

Raimund Steger rs at mytum.de
Fri Dec 31 19:12:13 CET 2010


Hi,

indeed, if I change the following in ./configure:

--- configure   Thu Dec 30 13:48:03 2010
+++ configure.new       Fri Dec 31 19:00:33 2010
@@ -3097,7 +3097,7 @@

  echocheck "mkstemp"
  cat > $TMPC << EOF
-#define _XOPEN_SOURCE 500
+#define _XOPEN_SOURCE 600
  #include <stdlib.h>
  int main(void) { mkstemp(""); return 0; }
  EOF

...mkstemp() is detected, and the build works.

Raimund



asyropoulos at aol.com wrote:
>> Only happens if HAVE_MKSTEMP is not set, check why this is not the 
> case,
>> Solaris really should provide mkstemp().
> 
> 
> It does. But I am not sure whether Solaris 10 provides it.

Raimund Steger wrote:
 > [...]
 > What bothers me a bit is the _XOPEN_SOURCE level that is requested here;
 > for c99, I would assume 600 to be appropriate.




More information about the MPlayer-users mailing list