Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20718 - libnids compile fails w/ 2.5 kernel headers
Summary: libnids compile fails w/ 2.5 kernel headers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-09 14:21 UTC by Blu3
Modified: 2003-08-20 21:26 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 Blu3 2003-05-09 14:21:04 UTC
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"
Comment 1 SpanKY gentoo-dev 2003-08-20 21:26:41 UTC
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