Re: FC4 t1 on minimac Xorg questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bret Hughes wrote:

Next I dl'ed MPlayer and tried to compile it.  gcc 4x is not supported
in the configure script so I used --disable-gcc-checking and after the
warning about using a non supported complier, configure completed OK
the compile fails in libavcodec with:

cc -I../libvo -I../../libvo -I/usr/X11R6/include -O4   -maltivec
-mabi=altivec -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 common.o
common.c In file included from avcodec.h:14,
                from common.c:28:
common.h:69: error: array type has incomplete element type
common.h:71: error: array type has incomplete element type
make[1]: *** [common.o] Error 1
make[1]: Leaving directory `/tmp/MPlayer-1.0pre6a/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2


Is there a 3.x compiler for FC4 or does anyone know the magic to get
Mplayer to compile?  Mplayer and hardware decoding of mpeg2 is the
primary reason for this exercise.


$ echo $CC

i do not know if this ok but you can play with exporting CC
$ export CC=gcc32
and compile mplayer

afair this was a solution for similiar  vmware-config.pl  problems in fc2?


$ gcc[tab][tab]
gcc             gcc32           gccmakedep      gccmakedep-ppc

$ rpm -qa gcc*
gcc-c++-4.0.0-0.32
gcc-4.0.0-0.32
gcc-objc-4.0.0-0.32
gcc-java-4.0.0-0.32
gcc-gfortran-4.0.0-0.32
gcc-c++-ppc32-4.0.0-0.32
gcc-ppc32-4.0.0-0.32


--
shrek-m


[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]