[MPlayer-users] Trouble compiling mplayer with Tremor codec - can anyone help?
cmisip
cmisip at insightbb.com
Wed Jan 7 05:30:02 CET 2004
I am trying to cross compile mplayer for the sharp zaurus. I am using
Mplayer1.0pre3. The tremor codec itself compiles fine and installs ok.
However when I try to enable it for mplayer, I get the following error:
/usr/local/bin/arm-linux-gcc -c -O4 -pipe -ffast-math
-fomit-frame-pointer -D_REENTRANT
-I/home/cmisip/kernelzaurus/binaries/home/cmisip/kernelzaurus/binaries/include -I../loader -I/home/cmisip/kernelzaurus/binaries/home/cmisip/kernelzaurus/binaries/include -o demux_ogg.o demux_ogg.c
demux_ogg.c: In function `demux_ogg_add_sub':
demux_ogg.c:217: warning: initialization from incompatible pointer type
demux_ogg.c: In function `demux_ogg_read_packet':
demux_ogg.c:320: warning: assignment from incompatible pointer type
demux_ogg.c:321: invalid operands to binary &
demux_ogg.c:370: warning: assignment from incompatible pointer type
demux_ogg.c:374: invalid operands to binary &
demux_ogg.c:375: invalid operands to binary &
demux_ogg.c:376: warning: assignment from incompatible pointer type
demux_ogg.c:381: invalid operands to binary &
demux_ogg.c:388: invalid operands to binary |
demux_ogg.c: In function `demux_ogg_add_packet':
demux_ogg.c:414: invalid operands to binary &
demux_ogg.c:435: invalid operands to binary -
demux_ogg.c:436: invalid operands to binary -
demux_ogg.c: In function `demux_ogg_scan_stream':
demux_ogg.c:492: warning: initialization makes pointer from integer
without a cast
demux_ogg.c:549: warning: initialization makes pointer from integer
without a cast
demux_ogg.c: In function `demux_ogg_open':
demux_ogg.c:607: warning: assignment makes pointer from integer without
a cast
demux_ogg.c:646: warning: passing arg 1 of `strlen' from incompatible
pointer type
demux_ogg.c:646: warning: passing arg 1 of `strlen' from incompatible
pointer type
demux_ogg.c:646: warning: passing arg 1 of `strlen' from incompatible
pointer type
demux_ogg.c:646: warning: passing arg 1 of `strcmp' from incompatible
pointer type
demux_ogg.c:646: warning: passing arg 1 of `strncmp' from incompatible
pointer type
demux_ogg.c:701: warning: passing arg 1 of `strlen' from incompatible
pointer type
demux_ogg.c:701: warning: passing arg 1 of `strlen' from incompatible
pointer type
demux_ogg.c:701: warning: passing arg 1 of `strlen' from incompatible
pointer type
demux_ogg.c:701: warning: passing arg 1 of `strcmp' from incompatible
pointer type
demux_ogg.c:701: warning: passing arg 1 of `strncmp' from incompatible
pointer type
demux_ogg.c:711: warning: passing arg 1 of `strlen' from incompatible
pointer type
demux_ogg.c:711: warning: passing arg 1 of `strlen' from incompatible
pointer type
demux_ogg.c:711: warning: passing arg 1 of `strlen' from incompatible
pointer type
demux_ogg.c:711: warning: passing arg 1 of `strcmp' from incompatible
pointer type
demux_ogg.c:711: warning: passing arg 1 of `strncmp' from incompatible
pointer type
demux_ogg.c:719: aggregate value used where an integer was expected
demux_ogg.c:719: aggregate value used where an integer was expected
demux_ogg.c:720: aggregate value used where an integer was expected
demux_ogg.c:720: aggregate value used where an integer was expected
demux_ogg.c:759: invalid operands to binary &
demux_ogg.c: In function `demux_ogg_fill_buffer':
demux_ogg.c:925: warning: assignment makes pointer from integer without
a cast
demux_ogg.c: In function `init_avi_with_ogg':
demux_ogg.c:1015: warning: assignment makes pointer from integer without
a cast
demux_ogg.c: In function `demux_ogg_seek':
demux_ogg.c:1142: warning: initialization makes pointer from integer
without a cast
demux_ogg.c:1176: invalid operands to binary &
make[1]: *** [demux_ogg.o] Error 1
make[1]: Leaving directory
`/home/cmisip/kernelzaurus/MPlayerProject/MPlayer-1.0pre3/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Error 2
Without the tremor codec mplayer compiles fine. The only way that
mplayer will detect tremor at configure is if I specify --enable-tremor
as well as --enable-vorbis.
Any help is appreciated.
Thanks
More information about the MPlayer-users
mailing list