From: Martin Josefsson (gandalf_at_wlug.westbo.se)
Date: Fri Jul 26 2002 - 15:29:52 CEST
Hi,
I tried compiling the snapshot from 20020725 without debug enabled and
got an unresolved symbol, ipsec_prng, when trying to load ipsec.o
The attached patch fixes it, just moves the declaration of ipsec_prng
outside the ifdef.
-- /MartinNever argue with an idiot. They drag you down to their level, then beat you with experience.
--- freeswan-snap2002jul25g/linux/net/ipsec/ipsec_init.c.orig Fri Jul 26 15:23:04 2002
+++ freeswan-snap2002jul25g/linux/net/ipsec/ipsec_init.c Fri Jul 26 15:22:03 2002
@@ -103,8 +103,9 @@
int debug_eroute = 0;
int debug_spi = 0;
int debug_netlink = 0;
-struct prng ipsec_prng;
#endif /* CONFIG_IPSEC_DEBUG */
+
+struct prng ipsec_prng;
int ipsec_device_event(struct notifier_block *dnot, unsigned long event, void *ptr);
/*
_______________________________________________
Users mailing list
Users_at_lists.freeswan.org
http://lists.freeswan.org/mailman/listinfo/users
_______________________________________________
Design mailing list
Design_at_lists.freeswan.org
http://lists.freeswan.org/mailman/listinfo/design
This archive was generated by hypermail 2.1.4 : Mon Aug 05 2002 - 21:01:34 CEST