[mpls-linux-general] error building quagga from perforce
Status: Beta
Brought to you by:
jleu
|
From: Joan R. <jr...@sa...> - 2005-12-12 18:42:53
|
Hi all, I've been able to successfully build latests versions of: * mpls-kernel-1.1 * iproute2-mpls-1.1 * ebtables-mpls But, on the other hand i've been unable to build ldp-portable/quagga-mpls obtained from perforce. I've followed these steps: * Downloaded ldp-portable and quagga-mpls from the perforce repository * Modified and run the create-links script in the ldpd * Configured quagga-mpls using : ./configure --enable-user=root --enable-group=root * Tried to build with make and obtained the following error: ----------------------------------- In file included from ospf_lsdb.c:29: ../ospfd/ospfd.h:510: error: array type has incomplete element type ../ospfd/ospfd.h:511: error: array type has incomplete element type ../ospfd/ospfd.h:512: error: array type has incomplete element type ../ospfd/ospfd.h:513: error: array type has incomplete element type ../ospfd/ospfd.h:514: error: array type has incomplete element type ../ospfd/ospfd.h:515: error: array type has incomplete element type make[2]: *** [ospf_lsdb.lo] Error 1 make[2]: Leaving directory `/root/devel/quagga-mpls/ospfd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/devel/quagga-mpls' make: *** [all] Error 2 -------------------------------------- the lines in the ospfd.h file that cause the error are: --------------------------------------- extern struct message ospf_ism_state_msg[]; extern struct message ospf_nsm_state_msg[]; extern struct message ospf_lsa_type_msg[]; extern struct message ospf_link_state_id_type_msg[]; extern struct message ospf_redistributed_proto[]; extern struct message ospf_network_type_msg[]; ---------------------------------------- Any idea? |