end of build fragment: gcc -c -O4 -march=athlon-xp -mcpu=athlon-xp -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I. -I.. -I../libmpcodecs -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -I/usr/include/freetype2 -o menu_param.o menu_param.c menu_param.c: In function `parse_args': menu_param.c:83: warning: dereferencing type-punned pointer will break strict-aliasing rules menu_param.c:93: warning: dereferencing type-punned pointer will break strict-aliasing rules menu_param.c:56: warning: unused variable `ok' menu_param.c:56: warning: unused variable `cancel' ar r libmenu.a menu.o vf_menu.o menu_cmdlist.o menu_pt.o menu_list.o menu_filesel.o menu_txt.o menu_console.o menu_param.o make[1]: Leaving directory `/home/extrabig/tmp/portage/mplayer-1.0_pre3/work/MPlayer-1.0pre3/libmenu' ./darwinfixlib.sh mplayer.o mp_msg.o cpudetect.o codec-cfg.o spudec.o playtree.o playtreeparser.o asxparser.o vobsub.o subreader.o sub_cc.o find_sub.o m_config.o m_option.o parser-cfg.o m_struct.o unrarlib.o mixer.o parser-mpcmd.o loader/libloader.a loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a libavcodec/libavcodec.a libmpdemux/libmpdemux.a libmpcodecs/libmpcodecs.a libao2/libao2.a liba52/liba52.a mp3lib/libMP3.a libmpeg2/libmpeg2.a osdep/libosdep.a postproc/libswscale.a input/libinput.a libvo/libvo.a libaf/libaf.a libdha/libdha.so vidix/libvidix.a libmpdvdkit2/libmpdvdkit.a Gui/libgui.a libmpflac/libmpflac.a libmenu/libmenu.a gcc -O4 -march=athlon-xp -mcpu=athlon-xp -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Ilibmpdemux -Iloader -Ilibvo -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -o mplayer mplayer.o mp_msg.o cpudetect.o codec-cfg.o spudec.o playtree.o playtreeparser.o asxparser.o vobsub.o subreader.o sub_cc.o find_sub.o m_config.o m_option.o parser-cfg.o m_struct.o unrarlib.o mixer.o parser-mpcmd.o libvo/libvo.a libao2/libao2.a libmenu/libmenu.a vidix/libvidix.a Gui/libgui.a libmpcodecs/libmpcodecs.a mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a loader/libloader.a loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a libaf/libaf.a libmpdemux/libmpdemux.a input/libinput.a postproc/libswscale.a osdep/libosdep.a -Llibmpdvdkit2 -lmpdvdkit libavcodec/libavcodec.a -lmad -lvorbis -logg -ldv -lfaad -ldivxdecore -lmp3lame -lvorbis -logg -lxvidcore -lm -lpng -lz -lz -ljpeg -lasound -ldl -lpthread /usr/lib/libxmms.so.1 -export-dynamic -lfreetype -lz -ltermcap -lcdda_interface -lcdda_paranoia -lnsl -lungif -Llibmpflac -lmpflac -lfontconfig -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lglib-2.0 -laa -lGL -lXxf86dga -lXv -lXxf86vm -L/usr/X11R6/lib -lXext -lX11 -lnsl -lmad -lnsl -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lvgagl -lvga -lm -L/usr/kde/3.1/lib -ldl -lartsc -lpthread -L/usr/lib -lesd -laudiofile -lm -lasound -lpthread -ldl -rdynamic -lm gcc -c -O4 -march=athlon-xp -mcpu=athlon-xp -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Ilibmpdemux -Iloader -Ilibvo -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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:170: /usr/include/ctype.h:190: error: syntax error before "__attribute__" /usr/include/ctype.h:196: error: syntax error before "__attribute__" make: *** [mencoder.o] Error 1 !!! ERROR: media-video/mplayer-1.0_pre3 failed. !!! Function src_compile, Line 307, Exitcode 2 !!! Failed to build MPlayer! examining the code reveals call to '__inline' fails in ctype.h and call to 'inline' fails in ftstdlib.h plus call in rational.h to 'inline' fails looks like an inline call change somewhere bollixed this.. emerge info ... Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.6. 0-win4lin) ================================================================= System uname: 2.6.0-win4lin i686 AMD Athlon(tm) XP 1900+ Gentoo Base System version 1.4.3.12 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1 /share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm /config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /us r/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=athlon-xp -O3 -pipe" DISTDIR="/home/extrabig/portage/distfiles" FEATURES="autoaddcvs ccache sandbox userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu x/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/home/extrabig/portage/packages" PORTAGE_TMPDIR="/home/extrabig/tmp" PORTDIR="/home/extrabig/portage" PORTDIR_OVERLAY="/home/derk/portage" SYNC="rsync://192.168.4.11/gentoo-portage" USE="X aalib alsa apm arts avi berkdb bonobo cdr crypt cups dvd encode esd fooma ticdb gb gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imlib jack jpeg kde l ibg++ libwww mad mikmod motif mozilla mpeg ncurses nls ofx oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline scanner sdl slang spell ss l svga tcpd tetex truetype usb x86 xml xml2 xmms xv zlib" ..suspect GCC inline calls or no call to compiler.h or other source of inline function defines .. any other ideas?
I wonder if this is a 2.6.0 thing, because with the same versions of glibc and gcc with a 2.4.23 gs-sources kernel mine emerges just fine here
i too am experiencing the same error and with same setup (gcc,glibc,kernel,kernel headers)
What kernel headers are you using?
linux-headers-2.6.0 v 1.3 2003/12/27 latest in portage
Fixed in linux-headers-2.6.0 2003/12/30 23:42 UTC...