mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -mcpu=athlon-xp -march=athlon-xp -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=no -DLOCALEDIR=\"/usr/share/locale\" -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wno-unused -Wno-switch -Wno-format -Werror -MT ext2.lo -MD -MP -MF .deps/ext2.Tpo -c ext2.c -DPIC -DPIC rm -f .libs/ext2_block_relocator.lo gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -mcpu=athlon-xp -march=athlon-xp -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=no -DLOCALEDIR=\"/usr/share/locale\" -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wno-unused -Wno-switch -Wno-format -Werror -MT ext2_block_relocator.lo -MD -MP -MF .deps/ext2_block_relocator.Tpo -c ext2_block_relocator.c -DPIC -DPIC <command line>:8:1: "_FILE_OFFSET_BITS" redefined <command line>:5:1: this is the location of the previous definition <command line>:8:1: "_FILE_OFFSET_BITS" redefined <command line>:5:1: this is the location of the previous definition make[3]: *** [ext2_block_relocator.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [ext2.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/parted-1.6.8/work/parted-1.6.8/libparted/fs_ext2' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/parted-1.6.8/work/parted-1.6.8/libparted' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/parted-1.6.8/work/parted-1.6.8' make: *** [all] Error 2 !!! ERROR: sys-apps/parted-1.6.8 failed. !!! Function src_compile, Line 40, Exitcode 2 !!! Make failed Reproducible: Always Steps to Reproduce: emerge info Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.4.24) ================================================================= System uname: 2.4.24 i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.4.3.13p1 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8,sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -march=athlon-xp -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=athlon-xp -march=athlon-xp -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ http://gentoo.inode.at/ http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage/" USE="3dnow X aalib alsa apache2 apm arts avi berkdb bonobo cdr crypt cups dga directfb dvd dvdr encode esd fbcon foomaticdb gd gd-external gdbm ggi gif gnome gpg gphoto2 gpm gtk gtk2 gtkhtml guile imlib jpeg kde ldap libg++ libwww linguas_de lirc mad matroska mikmod mozilla mpeg mysql ncures ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex truetype vorbis x86 xml2 xmms xv zlib"
drop down your cflags <command line>:8:1: "_FILE_OFFSET_BITS" redefined <command line>:5:1: this is the location of the previous definition <command line>:8:1: "_FILE_OFFSET_BITS" redefined <command line>:5:1: this is the location of the previous definition