Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Installation - Getting started with Red Hat Linux
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 8.0 - Discussion of Red Hat Linux 8.0 (Psyche)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.1 - Discussion of Red Hat Linux 7.1 (Seawolf)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Nistnet building failure

Nistnet building failure

2003-11-17       - By Eric-Olivier Lamey

 Back
Hi everyone,
I am trying to build nisnet on a RHEL 3 AS, and it fails apparently
because of some kernel headers. It builds fine on RH 9 however.

Here is the error:

make[1]: Entering directory `/home/package/packages/nistnet/nistnet/lib '
gcc -I. -I../include -Wall -Wstrict-prototypes -fno-strength-reduce -pipe
-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2
-DDEVHITBOX=\ "/dev/hitbox\ " -DHITMAJOR=62 -DHITMINOR=0
-DDEVNISTNET=\ "/dev/nistnet\ " -DNISTNETMAJOR=62 -DNISTNETMINOR=1
-DDEVMUNGEBOX=\ "/dev/mungebox\ " -DMUNGEMAJOR=63 -DDEVSPYBOX=\ "/dev/spybox\ "
-DSPYMAJOR=64 -DCONFIG_ECN -DCONFIG_DELAYSTART -DCONFIG_RTC_AGGRESSIVE -O
-I.. -I../include -c -o nistnetlib.o nistnetlib.c
`-m486 ' is deprecated. Use `-march=i486 ' or `-mcpu=i486 ' instead.
cc1: warning: -malign-loops is obsolete, use -falign-loops
cc1: warning: -malign-jumps is obsolete, use -falign-jumps
cc1: warning: -malign-functions is obsolete, use -falign-functions
In file included from ../include/uincludes.h:34,
from nistnetlib.c:12:
../include/nistnet.h:170: field `igmp ' has incomplete type
make[1]: *** [nistnetlib.o] Error 1
make[1]: Leaving directory `/home/package/packages/nistnet/nistnet/lib '
make: *** [sub_dirs] Error 2

The offending lines in nistnet.h are:

#if defined(__GLIBC__) && !defined(__KERNEL__)
/*#include <net/protocol.h >*/
#include <netinet/ip.h >
#include <netinet/tcp.h >
#include <netinet/udp.h >
#include <netinet/ip_icmp.h >
#include <netinet/igmp.h >
#else
#include <linux/netdevice.h >
#include <linux/ip.h >
#include <linux/tcp.h >
#include <linux/udp.h >
#include <linux/icmp.h >
#ifdef __KERNEL__
#include <net/protocol.h >
#endif
#include <linux/igmp.h >
#endif

struct lin_mungestats {
struct iphdr ip;
union {
struct tcphdr tcp;
struct udphdr udp;
struct icmphdr icmp;
struct igmphdr igmp;
} h;
};

The versions of the relevant packages are:
nistnet 2.0.12
kernel-2.4.21-4.0.1.EL
kernel-source-2.4.21-4.0.1.EL
gcc-3.2.3-20
glibc-2.3.2-95.3
glibc-kernheaders-2.4-8.34

Does anyone have an idea of what the problem might be ?

P.S: sorry for the long lines...

--
Eric-Olivier Lamey
System administrator
UbiSoft Montr�al