[quagga-dev 8570] Re: quagga 0.99.18 fails to compile with --enable-opaque-lsa

Stephen Hemminger shemminger at vyatta.com
Mon Mar 21 22:54:51 GMT 2011


On Mon, 21 Mar 2011 19:19:45 +0100 (CET)
Bartek Kania <mrbk at gnarf.org> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> Hi!
> 
> Latest quagga doesn't compile with --enable-opaque-lsa
> 
> To reproduce configure with
>     ./configure --enable-opaque-lsa
> 
> then compile which results in the error message below.
> 
> ospf_nsm.c: In function 'ospf_db_summary_add':
> ospf_nsm.c:219: error: 'struct ospf_lsa' has no member named 'oi'
> make[2]: *** [ospf_nsm.lo] Error 1
> make[2]: Leaving directory `/usr/src/quagga/quagga-0.99.18/ospfd'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/quagga/quagga-0.99.18'
> make: *** [all] Error 2
> 
> This seems to be caused by the removal of the section below from
> ospfd/ospf_lsa.h:
> 
> #ifdef HAVE_OPAQUE_LSA
>    /* For Type-9 Opaque-LSAs, reference to ospf-interface is
>    required. */
>    struct ospf_interface *oi;
> #endif /* HAVE_OPAQUE_LSA */
> 
> /B
> - -- 
> * GPG-Key: http://bk.gnarf.org/mrbk.pgp

Paul did some changes to remove lsa->oi but looks like the
change was incomplete and wasn't tested properly.




More information about the Quagga-dev mailing list