[Coral-dev] Installing Coral

Ken Keys kkeys at caida.org
Mon Dec 11 16:10:32 PST 2006


The system header appears to be missing a few definitions.  The attached
patch will add those defintions to coral, so you can compile.

On Mon, Dec 11, 2006 at 04:27:51PM -0500, Manolo Hernandez wrote:
> I am getting the following error when attempting to install to Fedora
> Core 5. Could anyone please point me in the right direction?
> 
> coral_proto.c: In function ?coral_get_icmp6_payload?:
> coral_proto.c:1804: error: ?ICMP6_MEMBERSHIP_QUERY? undeclared (first
> use in this function)
> coral_proto.c:1804: error: (Each undeclared identifier is reported only once
> coral_proto.c:1804: error: for each function it appears in.)
> coral_proto.c:1805: error: ?ICMP6_MEMBERSHIP_REPORT? undeclared (first
> use in this function)
> coral_proto.c:1806: error: ?ICMP6_MEMBERSHIP_REDUCTION? undeclared
> (first use in this function)
> coral_proto.c: In function ?coral_get_payload_by_layer?:
> coral_proto.c:2145: warning: initialization discards qualifiers from
> pointer target type
> make[1]: *** [coral_proto.o] Error 1
> make[1]: Leaving directory `/home/manolo/coral-3.7.5-public/libsrc/libcoral'
> make: *** [libsrc] Error 1
> 
> _______________________________________________
> Coral-dev mailing list
> Coral-dev at caida.org
> https://rommie.caida.org/mailman/listinfo/coral-dev

-- 
Ken Keys
kkeys at caida.org
CoralReef:  http://www.caida.org/tools/measurement/coralreef/
-------------- next part --------------
diff -u coral_proto.c
--- coral_proto.c	2006/07/26 01:04:55	1.150
+++ coral_proto.c	2006/12/12 00:01:16
@@ -75,6 +75,9 @@
 # include <netinet/ip6.h>
 # ifdef HAVE_NETINET_ICMP6_H
 #  include <netinet/icmp6.h>
+#  define ICMP6_MEMBERSHIP_QUERY          130
+#  define ICMP6_MEMBERSHIP_REPORT         131
+#  define ICMP6_MEMBERSHIP_REDUCTION      132
 # endif
 #endif
 #include <netinet/tcp.h>


More information about the Coral-dev mailing list