Re: [mpls-linux-general] Re: quagga mpls doesn't compile
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2006-03-10 18:38:06
|
The code you commented out is just for debugging purposes, so you
approach is fine.
What version of gcc are you using?
On Fri, Mar 10, 2006 at 02:22:53PM +0200, Adrian Popa wrote:
> Hello
>=20
> I was able to compile quagga after following James tip in commenting
> some code. Here's what I did, maybe it will be usefull for somebody
> else:
>=20
> In ldpd/ldp_fec.c i commented out the route_dump_node line like this:
> static void walk_tree(ldp_global *g) {
> LDP_ENTER(g->user_data, "walk_tree");
> //route_dump_node(g->fec_tree);
> LDP_EXIT(g->user_data, "walk_tree");
> }
>=20
> and in lib/table.c I commented out this method:
> /* Dump routing table. */
> /*static void __attribute__ ((unused))
> route_dump_node (struct route_table *t)
> {
> struct route_node *node;
> char buf[46];
>=20
> for (node =3D route_top (t); node !=3D NULL; node =3D route_next (node))
> {
> printf ("[%d] %p %s/%d\n",
> node->lock,
> node->info,
> inet_ntop (node->p.family, &node->p.u.prefix, buf, 46),
> node->p.prefixlen);
> }
> }
> */
>=20
> Now, quagga compiled (apparently ok) and I am ready to start tests using =
it.
>=20
> Thank you very much for your assistance, and please, tell me if I did
> something wrong by commenting those lines.
>=20
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting langua=
ge
> that extends applications into web and mobile media. Attend the live webc=
ast
> and join the prime developer group breaking into this new coding territor=
y!
> http://sel.as-us.falkag.net/sel?cmd______________________________________=
_________
> mpls-linux-general mailing list
> mpl...@li...
> https://lists.sourceforge.net/lists/listinfo/mpls-linux-general
--=20
James R. Leu
jl...@mi...
|