[MPlayer-dev-eng] compiling latest mplayerCVS on fc1

Antonio anton at ornet.ru
Sat Feb 7 21:46:43 CET 2004


Hi, 
as i wrote i had problems compiling latest fmpeg -- i fixed that -- but
now i have the similar problem with mplayer (latest from cvs with
libavcodec taken from cvs)

can anyone help on that?

Anton


cc -c -I../libvo/ -I../../libvo -O4 -march=pentium4 -mcpu=pentium4 -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 -I/usr/X11R6/include -Ilibmpdemux -Iloader
-Ilibvo -I/usr/include/freetype2 -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-I/usr/include/cdda -I/usr/include/SDL -D_REENTRANT
-I/usr/X11R6/include      -o mencoder.o mencoder.c
In file included from libavcodec/avcodec.h:15,
                 from mencoder.c:78:
libavcodec/rational.h:35: error: syntax error before "__attribute__"
libavcodec/rational.h:43: error: syntax error before "__attribute__"
In file included from
/usr/include/freetype2/freetype/config/ftstdlib.h:74,
                 from
/usr/include/freetype2/freetype/config/ftconfig.h:44,
                 from /usr/include/freetype2/freetype/freetype.h:42,
                 from libvo/font_load.h:6,
                 from mencoder.c:171:
/usr/include/ctype.h:190: error: syntax error before "__attribute__"
/usr/include/ctype.h:196: error: syntax error before "__attribute__"
In file included from libmpdemux/dvbin.h:5,
                 from cfg-common.h:375,
                 from cfg-mencoder.h:5,
                 from mencoder.c:254:
libmpdemux/dvb_defaults.h:69:10: warning: #warning No DVB-T country
defined in dvb_defaults.h
libmpdemux/dvb_defaults.h:70:10: warning: #warning defaulting to UK
libmpdemux/dvb_defaults.h:71:10: warning: #warning Ignore this if using
Satellite or Cable
make: *** [mencoder.o] Ошибка 1










В Сбт, 07.02.2004, в 02:18, Antonio пишет:
> i have problems with subj on fc1 linux. gcc 3.3.2
> 
> some stupid message about glibc header file:
> 
> gcc -fPIC -Wall  -g -O3 -I.. -I/usr/src/ffmpeg
> -I/usr/src/ffmpeg/libavformat -I/ usr/src/ffmpeg/libavcodec
> -DHAVE_AV_CONFIG_H `freetype-config --cflags`   -c -o ppm.o ppm.c
> In file included from /usr/src/ffmpeg/libavcodec/common.h:86,
>                  from /usr/src/ffmpeg/libavcodec/avcodec.h:14,
>                  from /usr/src/ffmpeg/libavformat/framehook.h:8,
>                  from ppm.c:26:
> /usr/include/inttypes.h:396: error: syntax error before "__attribute__"
> /usr/include/inttypes.h:414: error: syntax error before "__attribute__"
> /usr/include/inttypes.h:430: error: syntax error before "__attribute__"
> /usr/include/inttypes.h:449: error: syntax error before "__attribute__"
> 
> 
> Can anyone help? If needed i can provide more information.
> had anyone seen smth like that?
> 
> the error is in a vhook, so i if i configure without video-hooking all
> ll be ok, but i want to find out whats the problem
> 
> Anton
> 
> PS if thats not the list for the question plz redirect me to right
> mailing list. :)
> 
> BTW mplayer cvs latest also give something like that --- stupid error in
> ctype.h about syntax error before __attribute__ etc
> 
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng




More information about the MPlayer-dev-eng mailing list