[MPlayer-users] Compile Fails under Solaris 10 10/09 (Intel Core 2)

Murray Blakeman mblakeman at netspace.net.au
Fri Mar 19 09:32:12 CET 2010


Using

     gcc        4.3.4
     gmake    3.81
     binutils    2.19

with ggrep, gawk, gsed, ginstall



mplayer-export-2010-03-17 $ ./configure --prefix=/opt/mbl --confdir=/etc 
--mandir=/opt/mbl/share/man -cc=gcc
.....

mplayer-export-2010-03-17 $ gmake
.....
gcc -D_ISOC99_SOURCE -D_BSD_SOURCE -O2 -march=native -mcpu=native -pipe 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE 
-Ilibdvdread4 -I.   -I/usr/openwin/include  -I/usr/sfw/include/freetype2 
-I/usr/sfw/include -c -o command.o command.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
In file included from libmpdemux/aviheader.h:26,
                  from libmpdemux/stheader.h:23,
                  from command.c:29:
./mpbswap.h:27: error: conflicting types for 'swab'
/usr/include/stdlib.h:144: error: previous declaration of 'swab' was here
gmake: *** [command.o] Error 1


I think an important CFLAG is missing.  I've played around with -std=c99 
which gets me past this error but fails at another that works without it.

Older builds of mplayer have built okay.




More information about the MPlayer-users mailing list