[MPlayer-users] GCC 4 and above

Drewe Zanki piston9 at gmail.com
Sat Apr 1 13:15:07 CEST 2006


Hey all,

Trying to compile Mplayer. I run Fedora Core 4 (with no Gui - I just use SSH
for comand line and webmin for some stuff - it is a pure server), which has
GCC 4.something installed. I get a bunch of errors about depreciated
commands and options, etc.

I realise I had to disable GCC checking in the compile.

I tried the pre-compiled RPM's but the Mencoder one does not include Xvid
support - which is the whole point of this excercise!

I have no idea how to downgrade my GCC. I checked and FC4 I think came with
V4 of GCC - I need to go to the FC3 version? I tried Yum and it didn't have
anything. I can't use a Fedora package cause it complains I don't have Core
3.

um? Is there anything I can do? Is there going to be a GCC4 compatible
version sometime?

A sample output is below (this is only one small drop in the ocean).,

Drewe


---------------------------------
h263.c:2375: warning: pointer targets in passing argument 2 of
'ff_write_quant_matrix' differ in signedness
h263.c: In function 'ff_mpeg4_pred_dc':
h263.c:2503: warning: pointer targets in assignment differ in signedness
cc -I../libvo -I../../libvo  -fno-PIC -O4 -march=i486 -mcpu=i686 -pipe
-ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64  -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_GNU_SOURCE  -c -o h261.o h261.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
cc -I../libvo -I../../libvo  -fno-PIC -O4 -march=i486 -mcpu=i686 -pipe
-ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64  -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_GNU_SOURCE  -c -o msmpeg4.o msmpeg4.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
msmpeg4.c: In function 'msmpeg4_pred_dc':
msmpeg4.c:838: warning: pointer targets in assignment differ in signedness
cc -I../libvo -I../../libvo  -fno-PIC -O4 -march=i486 -mcpu=i686 -pipe
-ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64  -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_GNU_SOURCE  -c -o h263dec.o h263dec.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
h263dec.c: In function 'ff_h263_decode_frame':
h263dec.c:751: warning: pointer targets in passing argument 2 of
'av_fast_realloc' differ in signedness
cc -I../libvo -I../../libvo  -fno-PIC -O4 -march=i486 -mcpu=i686 -pipe
-ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64  -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_GNU_SOURCE  -c -o svq1.o svq1.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
svq1.c: In function 'svq1_decode_frame_header':
svq1.c:660: warning: pointer targets in passing argument 2 of
'svq1_parse_string' differ in signedness
cc -I../libvo -I../../libvo  -fno-PIC -O4 -march=i486 -mcpu=i686 -pipe
-ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64  -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_GNU_SOURCE  -c -o rv10.o rv10.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
cc -I../libvo -I../../libvo  -fno-PIC -O4 -march=i486 -mcpu=i686 -pipe
-ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64  -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_GNU_SOURCE  -c -o wmadec.o wmadec.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
wmadec.c: In function 'wma_decode_block':
wmadec.c:873: warning: pointer targets in assignment differ in signedness
wmadec.c:874: warning: pointer targets in assignment differ in signedness



More information about the MPlayer-users mailing list