gcc -c -march=i686 -O3 -pipe -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -Wall -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include killtcp.c In file included from /usr/include/netinet/igmp.h:26, from /usr/include/libnet.h:69, from killtcp.c:6: /usr/include/linux/igmp.h:74:2: #error "Please fix <asm/byteorder.h>" make[1]: *** [killtcp.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/libnids-1.16/work/libnids-1.16/src' Reproducible: Always Steps to Reproduce: 1.emerge libnids Actual Results: compile fails Expected Results: compile succeeds (~) # emerge info Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1) ================================================================= System uname: 2.5.69 i686 Intel(R) Pentium(R) 4 Mobile CPU 2.00GHz GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" 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 avi crypt cups encode gif jpeg kde gnome libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm slang readline bonobo svga tcltk guile X sdl gpm pam libwww ssl perl python esd imlib oggvorbis gtk qt opengl cdr scanner acpi alsa apache2 -apm -arts -berkdb dga dvd ethereal gd gphoto2 gps gtk2 gtkhtml imap ipv6 -java mbox -motif pcmcia plotutils pnp postgres snmp sse -tcpd tiff trusted usb wavelan" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -O3 -pipe" CXXFLAGS="-march=i686 -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
thats related to libnids-1.16 not liking libnet-1.1.x ... has nothing to do with the kernel ... i just added patches so libnet-1.0.x and libnet-1.1.x work together, and libnet-1.16 and libnet-1.17