[MPlayer-users] libmpdvdkit2 on big endian system?
Christoph Egger
Christoph_Egger at gmx.de
Wed Jan 12 19:54:52 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.
Yes, this fixes the build problem for me, too.
> > 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)
Strange. Do you use OSX Panther ?
I use Jaguar (10.2.8).
During build I saw a warning:
ao_macosx.c: In function `init':
ao_macosx.c:284: warning: assignment makes pointer from integer without a
cast
Don't know how much related this is related to the audio playing bug.
--
+++ GMX - die erste Adresse für Mail, Message, More +++
1 GB Mailbox bereits in GMX FreeMail http://www.gmx.net/de/go/mail
More information about the MPlayer-users
mailing list