[Users] Re: [Design] [PATCH] unresolved symbol when compiling without debug

From: Richard Guy Briggs (rgb_at_conscoop.ottawa.on.ca)
Date: Wed Jul 31 2002 - 21:57:49 CEST


On Fri, Jul 26, 2002 at 03:29:52PM +0200, Martin Josefsson wrote:
> Hi,
>
> I tried compiling the snapshot from 20020725 without debug enabled and
> got an unresolved symbol, ipsec_prng, when trying to load ipsec.o

Oops! Understandable!

> The attached patch fixes it, just moves the declaration of ipsec_prng
> outside the ifdef.

Thanks. I'll make sure it gets into the tree...

> --
> /Martin
>
> Never 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
> OO -103,8 +103,9 OO
> int debug_eroute = 0;
> int debug_spi = 0;
> int debug_netlink = 0;
> -struct prng ipsec_prng;
> Hendif /* CONFIG_IPSEC_DEBUG */
> +
> +struct prng ipsec_prng;
>
> int ipsec_device_event(struct notifier_block *dnot, unsigned long event, void *ptr);
> /*

        slainte mhath, RGB

-- 
Richard Guy Briggs           --    ~\                 Auto-Free Ottawa! Canada
<www.TriColour.net>            --    \@       @           <www.flora.org/afo/>
No Internet Wiretapping!        --   _\\/\%___\\/\%        Vote! -- <Green.ca>
<www.FreeSWAN.org>_______GTVS6#790__(*)_______(*)(*)_______<www.Marillion.com>
_______________________________________________
Users mailing list
Users_at_lists.freeswan.org
http://lists.freeswan.org/mailman/listinfo/users


This archive was generated by hypermail 2.1.4 : Mon Aug 05 2002 - 21:01:35 CEST