[MPlayer-users] bigendian compile error

Steven M. Schultz sms at 2BSD.COM
Tue Dec 9 06:24:35 CET 2003


Hi!

	Didn't see this earlier in the day when building on the Intel
	based systems but on a G4 Powerbook:

gmake -C libmpdemux
cc -c -O4 -mcpu=7450 -mtune=7450 -faltivec -pipe -ffast-math -fomit-frame-pointer -no-cpp-precomp -DSYS_DARWIN -Wl,-bind_at_load -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I../loader      -o demux_real.o demux_real.c
demux_real.c: In function `demux_open_real':
demux_real.c:1368: error: invalid lvalue in unary `&'
gmake[1]: *** [demux_real.o] Error 1

	line 1368 is a rather ugly looking line ;)

	(char *)&(le2me_32(sh->format)),((unsigned int*)(sh->bih+1))[1],( ...

	Not quite sure what it's trying to do - but '&' on le2me_32(...
	doesn't appear to work.

	What's the best way to fix the problem in this case?

	Cheers,
	Steven Schultz



More information about the MPlayer-users mailing list