[MPlayer-users] libmpdvdkit2 on big endian system?

Steven M. Schultz sms at 2BSD.COM
Wed Jan 12 19:31:21 CET 2005


On Wed, 12 Jan 2005, Christoph Egger wrote:

> > cc -I. -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -mcpu=970
> > -mtune=970 -faltivec -pipe -ffast-math -fomit-frame-pointer -DSYS_DARWIN
> > -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -DHAVE_MPLAYER
> > -DSYS_LINUX -D__USE_UNIX98 -D_REENTRANT -D_GNU_SOURCE -c -o ifo_read.o
> ifo_read.c
> > In file included from ifo_read.c:30:
> > bswap.h:117:2: #error "You need to add endian swap macros for you're system"
> 
> I have the same build failure on current cvs.

	Also interesting is that in the top level config.h I see

#undef WORDS_BIGENDIAN

	which is strange since I thought the PPC was big-endian.

	In configure.log I see:

"Result is little-endian"

	What appears to be necessary is explicitly specify the endian-ness
	of the system with "--enable-big-endian".  The 'auto' check for
	endianness doesn't appear to be working correctly on OS/X.

	Then I see:

#define WORDS_BIGENDIAN 1

	At that point compilation succeeds because "config.h" is included
	before "bswap.h"

	Try adding "--enable-big-endian" and see if that works for you also.

> BTW: Can you also reproduce the broken audio playing I have reported today?

	So far audio is working fine (using the build from January 7)

	Cheers,
	Steven Schultz




More information about the MPlayer-users mailing list