>>> Source unpacked. gcc -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays `libnet-config --defines` \ -o tcptraceroute tcptraceroute.c \ `libnet-config --libs` -lpcap In file included from tcptraceroute.c:201: /usr/include/libnet.h:87:8: missing terminating " character /usr/include/libnet.h:89:50: missing terminating " character tcptraceroute.c:394:11: missing terminating " character tcptraceroute.c: In function `usage': tcptraceroute.c:395: error: `l' undeclared (first use in this function) tcptraceroute.c:395: error: (Each undeclared identifier is reported only once tcptraceroute.c:395: error: for each function it appears in.) tcptraceroute.c:395: error: `packet' undeclared (first use in this function) tcptraceroute.c:395: error: parse error before "length" tcptraceroute.c:397: error: stray '\' in program tcptraceroute.c:397: error: stray '\' in program tcptraceroute.c:397:70: missing terminating " character tcptraceroute.c:1185:41: missing terminating " character tcptraceroute.c: In function `initcapture': tcptraceroute.c:1186: error: `tcp' undeclared (first use in this function) tcptraceroute.c:1186: error: parse error before "and" tcptraceroute.c:1187:69: missing terminating " character make: *** [tcptraceroute] Error 1 !!! ERROR: net-analyzer/tcptraceroute-1.4-r1 failed. !!! Function src_compile, Line 26, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: -------------------------------------------------------------------------------- didi root # emerge info Portage 2.0.48-r1 (default-x86-1.4, gcc-3.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.21 i686 AMD Athlon(tm) XP 1800+ GENTOO_MIRRORS=" http://ftp.easynet.nl/mirror/gentoo// ftp://ftp.easynet.nl/mirror/gentoo// http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config /opt/quake3/cpma/server.cfg" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml alsa gdbm berkdb slang readline arts tetex aalib bonobo svga tcltk guile ruby mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde opengl mozilla gphoto2 ldap cdr -snmp apache2 gd gpg ncures ogg vorbis -java -motif" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays" CXXFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage/" FEATURES="sandbox ccache"
turn down your CFLAGS
same with: CFLAGS="-mcpu=athlon-xp -march=athlon-xp -O2 -pipe" CXXFLAGS="-mcpu=athlon-xp -march=athlon-xp -O2 -pipe"
try reemerge linux-headers and then again
It's still the same problem after reemerge linux-headers.
now it works. I don't know why.