[MPlayer-dev-eng] [PATCH] OpenSolaris build failure

Imran Syed freakabcd at gmail.com
Sat Feb 7 17:42:24 CET 2009


Hi all,

svn rev 28473 failed to build on OpenSolaris 2008.11 with the following error:

/usr/include/sys/feature_tests.h:353:2: #error "Compiler or options
invalid for pre-UNIX 03 X/Open applications 	and pre-2001 POSIX
applications"

Had to apply the attached patch. Simply commenting out the line:

#define _XOPEN_SOURCE

within the 2 affected files allows for a successful build. But the
attached patch provides the same def for _XOPEN_SOURCE as in the
following files:
libavcodec/utils.c
libavformat/rtpdec.c

Regards,
Imran
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osol_build.diff
Type: application/octet-stream
Size: 676 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090208/83a74a30/attachment.obj>


More information about the MPlayer-dev-eng mailing list