[MPlayer-dev-eng] Re: Problem compiling mplayer for PowerPC + AltiVec

Diego Biurrun diego at biurrun.de
Mon Jul 25 20:49:49 CEST 2005


On Mon, Jul 11, 2005 at 06:06:50PM +0200, Marcin 'Morgoth' Kurek wrote:
> 
> It seems the problem is not related to any change in the source code but to a
> compiler flag. The problematic flag is -std=gnu99 added somewhere in 20050531
> snapshot. When I switched to default gnu89 I was able to compile cvs version
> of mplayer without any problem using both gcc 3.4.4 and 4.0.1.

Hmm, I get the following error further on:

make[1]: Entering directory `/home/diego/src/mplayer/vanilla/libvo'
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -g -O4   -maltivec
-mabi=altivec -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -std=gnu89 -I. -I..
-I../osdep -I/usr/include/freetype2  -I/usr/X11R6/include
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-DMPG12PLAY  -o vo_x11.o vo_x11.c
In file included from /usr/include/sys/socket.h:27,
                 from /usr/include/netinet/in.h:24,
                 from /usr/include/netdb.h:28,
                 from ../libmpdemux/network.h:16,
                 from ../libmpdemux/stream.h:53,
                 from ../Gui/interface.h:12,
                 from vo_x11.c:49:
/usr/include/sys/uio.h:40:
error: invalid vector type for attribute `vector_size'
/usr/include/sys/uio.h:50:
error: invalid vector type for attribute `vector_size'
make[1]: *** [vo_x11.o] Error 1

Does anybody have a clue about this one?

Diego




More information about the MPlayer-dev-eng mailing list