On Fri, Mar 19, 2010 at 07:32:12PM +1100, Murray Blakeman wrote: > 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 What's in configure.log under the "Checking for swab()" part? > 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. You could try -D_XOPEN_SOURCE=600