Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61235 - media-video/mplayer-1.0_pre4-r7 compile fails
Summary: media-video/mplayer-1.0_pre4-r7 compile fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Chris White (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-22 03:29 UTC by Eldad Zack (RETIRED)
Modified: 2004-08-23 00:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eldad Zack (RETIRED) gentoo-dev 2004-08-22 03:29:43 UTC
This where it fails:

gcc -c -I../libvo/ -I../../libvo -O4 -march=pentium2 -mcpu=pentium2 -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/SDL -D_REENTRANT -I/usr/X11R6/include      -o mencoder.o mencoder.c
In file included from libmpdemux/dvbin.h:5,
                 from cfg-common.h:380,
                 from cfg-mencoder.h:5,
                 from mencoder.c:256:
libmpdemux/dvb_defaults.h:69:10: warning: #warning No DVB-T country defined in dvb_defaults.h, defaulting to UK. Ignore this if using Satellite or Cable.
In file included from libavcodec/avcodec.h:15,
                 from mencoder.c:77:
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:173:
/usr/include/ctype.h:190: error: syntax error before "__attribute__"
/usr/include/ctype.h:196: error: syntax error before "__attribute__"
mencoder.c: In function `main':
mencoder.c:589: warning: assignment makes pointer from integer without a cast
make: *** [mencoder.o] Error 1

!!! ERROR: media-video/mplayer-1.0_pre4-r7 failed.
!!! Function src_compile, Line 312, Exitcode 2
!!! Failed to build MPlayer!
!!! If you need support, post the topmost build error, NOT this status message.

useflags:

[ebuild     UD] media-video/mplayer-1.0_pre4-r7 [1.0_pre5] +3dfx -3dnow -3dnowex +X -aalib +alsa (-altivec) -arts +bidi* +cdparanoia* -debug -directfb +divx4linux* -dvb -dvd -dvdread +edl* +encode -esd -fbcon -ggi +gif -gnome +gtk -ipv6 -joystick +jpeg -libcaca -lirc +live* +lzo* +mad +matroska* +matrox* +mmx -mmx2 +mpeg +mythtv* -nas +network* +nls +oggvorbis +opengl +oss +png +rtc* -samba +sdl -sse -sse2 -svga -tga +theora +truetype -v4l -v4l2 -xinerama +xmms +xv +xvid 0 kB
Comment 1 Chris White (RETIRED) gentoo-dev 2004-08-22 09:16:47 UTC
linux-headers 2.6 issue.  Toss up your version, make sure it's the latest
(cvs update and see if there's not another version out), try downgrading, etc.

The error is spawned from ctype.h's handling of __atribute__ iirc.
Comment 2 Eldad Zack (RETIRED) gentoo-dev 2004-08-23 00:14:27 UTC
Right you are.