[MPlayer-users] MPlayer compilation fails on Solaris 10

vishnu suresh vishnudead at yahoo.com
Sat Oct 13 01:43:50 CEST 2007


I get the following error when I'm compiling MPlayer-1.0rc2 on SunOS 5.10.
What's causing this error?
What's the possible remedy?

# gmake
./version.sh `gcc -dumpversion`
gcc -I./libavcodec -I./libavformat -I. -I. -I./libavutil -W -Wall -O2 -march=i486 -mtune=i686 -pipe -g  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/usr/openwin/include -I/opt/csw/include/SDL -D_REENTRANT  -I/opt/csw/include/freetype2 -I/opt/csw/include -I/opt/csw/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/openwin/include -I/usr/sfw/include -I/usr/sfw/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -c -o mplayer.o mplayer.c
In file included from libvo/x11_common.h:5,
                 from mplayer.c:60:
/usr/openwin/include/X11/Xlib.h:38: warning: ignoring #pragma ident
In file included from libvo/x11_common.h:6,
                 from mplayer.c:60:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
mplayer.c: In function `exit_sighandler':
mplayer.c:771: warning: int format, pid_t arg (arg 4)
mplayer.c: In function `saddf':
mplayer.c:1064: warning: comparison between signed and unsigned
mplayer.c: In function `main':
mplayer.c:2664: warning: passing arg 2 of `guiGetEvent' from incompatible pointer type
mplayer.c: At top level:
mplayer.c:141: warning: unused parameter 'conf'
mplayer.c:139: warning: unused parameter 'conf'
mplayer.c:711: warning: unused parameter 'x'
gcc -I./libavcodec -I./libavformat -I. -I. -I./libavutil -W -Wall -O2 -march=i486 -mtune=i686 -pipe -g  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/usr/openwin/include -I/opt/csw/include/SDL -D_REENTRANT  -I/opt/csw/include/freetype2 -I/opt/csw/include -I/opt/csw/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/openwin/include -I/usr/sfw/include -I/usr/sfw/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -c -o vobsub.o vobsub.cvobsub.c: In function `vobsub_set_from_lang':
vobsub.c:1219: warning: comparison between signed and unsigned
vobsub.c: In function `vobsub_seek':
vobsub.c:1283: warning: comparison between signed and unsigned
gmake -C libvo libvo.a
gmake[1]: Entering directory `/home/vishnu/MPlayer-1.0rc2/libvo'
gmake[1]: `libvo.a' is up to date.
gmake[1]: Leaving directory `/home/vishnu/MPlayer-1.0rc2/libvo'
gmake -C libao2
gmake[1]: Entering directory `/home/vishnu/MPlayer-1.0rc2/libao2'
gmake[1]: Nothing to be done for `libs'.
gmake[1]: Leaving directory `/home/vishnu/MPlayer-1.0rc2/libao2'
gmake -C input
gmake[1]: Entering directory `/home/vishnu/MPlayer-1.0rc2/input'
gmake[1]: Nothing to be done for `libs'.
gmake[1]: Leaving directory `/home/vishnu/MPlayer-1.0rc2/input'
gmake -C vidix
gmake[1]: Entering directory `/home/vishnu/MPlayer-1.0rc2/vidix'
gmake[1]: Nothing to be done for `libs'.
gmake[1]: Leaving directory `/home/vishnu/MPlayer-1.0rc2/vidix'
gmake -C gui
gmake[1]: Entering directory `/home/vishnu/MPlayer-1.0rc2/gui'
gmake[1]: Nothing to be done for `libs'.
gmake[1]: Leaving directory `/home/vishnu/MPlayer-1.0rc2/gui'
gmake -C libmenu
gmake[1]: Entering directory `/home/vishnu/MPlayer-1.0rc2/libmenu'
gmake[1]: Nothing to be done for `libs'.
gmake[1]: Leaving directory `/home/vishnu/MPlayer-1.0rc2/libmenu'
gmake -C libmpcodecs
gmake[1]: Entering directory `/home/vishnu/MPlayer-1.0rc2/libmpcodecs'
gmake[1]: Nothing to be done for `libs'.
gmake[1]: Leaving directory `/home/vishnu/MPlayer-1.0rc2/libmpcodecs'
gmake -C libaf
gmake[1]: Entering directory `/home/vishnu/MPlayer-1.0rc2/libaf'
gmake[1]: Nothing to be done for `libs'.
gmake[1]: Leaving directory `/home/vishnu/MPlayer-1.0rc2/libaf'
gmake -C libmpdemux libmpdemux.a
gmake[1]: Entering directory `/home/vishnu/MPlayer-1.0rc2/libmpdemux'
gmake[1]: `libmpdemux.a' is up to date.
gmake[1]: Leaving directory `/home/vishnu/MPlayer-1.0rc2/libmpdemux'
gmake -C stream
gmake[1]: Entering directory `/home/vishnu/MPlayer-1.0rc2/stream'
gmake[1]: Nothing to be done for `libs'.
gmake[1]: Leaving directory `/home/vishnu/MPlayer-1.0rc2/stream'
gmake -C libswscale
gmake[1]: Entering directory `/home/vishnu/MPlayer-1.0rc2/libswscale'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/home/vishnu/MPlayer-1.0rc2/libswscale'
gmake -C libvo libosd.a
gmake[1]: Entering directory `/home/vishnu/MPlayer-1.0rc2/libvo'
gmake[1]: `libosd.a' is up to date.
gmake[1]: Leaving directory `/home/vishnu/MPlayer-1.0rc2/libvo'
gmake -C libavformat
gmake[1]: Entering directory `/home/vishnu/MPlayer-1.0rc2/libavformat'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/home/vishnu/MPlayer-1.0rc2/libavformat'
gmake -C libavcodec
gmake[1]: Entering directory `/home/vishnu/MPlayer-1.0rc2/libavcodec'
gcc -I../libswscale -I../libavcodec  -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -I. -I.. -I../libavutil -W -Wall -O2 -march=i486 -mtune=i686 -pipe -g  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/usr/openwin/include -I/opt/csw/include/SDL -D_REENTRANT  -I/opt/csw/include/freetype2 -I/opt/csw/include -I/opt/csw/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/openwin/include -I/usr/sfw/include -I/usr/sfw/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -c -o i386/dsputil_mmx.o i386/dsputil_mmx.c
i386/dsputil_mmx.c: In function `gmc_mmx':
i386/dsputil_mmx.c:2666: warning: suggest parentheses around arithmetic in operand of |
i386/dsputil_mmx.c:2666: warning: suggest parentheses around arithmetic in operand of |
i386/dsputil_mmx.c:2667: warning: suggest parentheses around arithmetic in operand of |
i386/dsputil_mmx.c:2667: warning: suggest parentheses around arithmetic in operand of |
i386/dsputil_mmx.c:2667: warning: suggest parentheses around arithmetic in operand of |
i386/dsputil_mmx.c:2677: warning: comparison between signed and unsigned
i386/dsputil_mmx.c:2678: warning: comparison between signed and unsigned
i386/dsputil_mmx.c: In function `dsputil_init_mmx':
i386/dsputil_mmx.c:3330: error: `MM_MMX' undeclared (first use in this function)i386/dsputil_mmx.c:3330: error: (Each undeclared identifier is reported only once
i386/dsputil_mmx.c:3330: error: for each function it appears in.)
i386/dsputil_mmx.c:3336: error: `MM_SSE2' undeclared (first use in this function)
i386/dsputil_mmx.c:3338: error: `MM_MMXEXT' undeclared (first use in this function)
i386/dsputil_mmx.c:3632: error: `MM_3DNOW' undeclared (first use in this function)
i386/dsputil_mmx.c:3777: error: `MM_3DNOWEXT' undeclared (first use in this function)
i386/dsputil_mmx.c:3779: error: `MM_SSE' undeclared (first use in this function)i386/dsputil_mmx.c:3791: warning: implicit declaration of function `dsputil_init_pix_mmx'
i386/dsputil_mmx.c: At top level:
i386/dsputil_mmx.c:1804: warning: unused parameter 's'
i386/dsputil_mmx.c:1804: warning: unused parameter 'h'
i386/h264dsp_mmx.c:1351: warning: unused parameter 'tmpStride'
i386/h264dsp_mmx.c:1352: warning: unused parameter 'h'
i386/h264dsp_mmx.c:1352: warning: unused parameter 'tmpStride'
i386/h264dsp_mmx.c:1351: warning: unused parameter 'tmpStride'
i386/h264dsp_mmx.c:1352: warning: unused parameter 'tmpStride'
i386/h264dsp_mmx.c:1351: warning: unused parameter 'h'
i386/h264dsp_mmx.c:1355: warning: unused parameter 'tmpStride'
i386/h264dsp_mmx.c:1356: warning: unused parameter 'h'
i386/h264dsp_mmx.c:1356: warning: unused parameter 'tmpStride'
i386/h264dsp_mmx.c:1355: warning: unused parameter 'tmpStride'
i386/h264dsp_mmx.c:1356: warning: unused parameter 'tmpStride'
i386/h264dsp_mmx.c:1355: warning: unused parameter 'h'
i386/dsputil_mmx.c:1399: warning: unused parameter 'v'
i386/dsputil_mmx.c:1279: warning: unused parameter 'v'
i386/dsputil_mmx.c:1279: warning: unused parameter 'dummy'
i386/dsputil_mmx.c:1803: warning: unused parameter 's'
i386/dsputil_mmx.c:1803: warning: unused parameter 'h'
i386/dsputil_mmx.c:1320: warning: unused parameter 'v'
i386/dsputil_mmx.c:835: warning: unused parameter 'v'
i386/dsputil_mmx.c:1217: warning: unused parameter 'v'
i386/dsputil_mmx.c:1217: warning: unused parameter 'dummy'
i386/dsputil_mmx.c:774: warning: unused parameter 'v'
i386/dsputil_mmx.c:1796: warning: unused parameter 's'
i386/dsputil_mmx.c:1796: warning: unused parameter 'h'
gmake[1]: *** [i386/dsputil_mmx.o] Error 1
gmake[1]: Leaving directory `/home/vishnu/MPlayer-1.0rc2/libavcodec'
gmake: *** [libavcodec/libavcodec.a] Error 2


       
---------------------------------
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel and lay it on us.


More information about the MPlayer-users mailing list