Re: [mpls-linux-general] Re: quagga mpls doesn't compile
Status: Beta
Brought to you by:
jleu
|
From: Adrian P. <adr...@gm...> - 2006-03-10 19:34:45
|
Ok
My gcc version is: gcc version 3.3.6 (Debian 1:3.3.6-7)
and my assambler version is: as -v
GNU assembler version 2.15 (i486-linux-gnu) using BFD version 2.15
But it works now...
However, I had to compile it on all machines, because I couldn't copy
the source to another machine and issue a make install, because it
would realize that it wasn't compiled for that machine and it would
automatically run a ./configure... So I had to do it the hard way.
Next, I'm trying to learn how to generate a deb package from it; Maybe
when I'm convinced that all deb packages I converted from your rpms
(+quagga) work fine, I'll post them to a web site and give you the
link so that others may use them, if they find them usefull.
Thank you
On 3/10/06, James R. Leu <jl...@mi...> wrote:
> 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
> >
> > 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:
> >
> > 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");
> > }
> >
> > 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];
> >
> > for (node =3D route_top (t); node !=3D NULL; node =3D route_next (nod=
e))
> > {
> > printf ("[%d] %p %s/%d\n",
> > node->lock,
> > node->info,
> > inet_ntop (node->p.family, &node->p.u.prefix, buf, 46),
> > node->p.prefixlen);
> > }
> > }
> > */
> >
> > Now, quagga compiled (apparently ok) and I am ready to start tests usin=
g it.
> >
> > Thank you very much for your assistance, and please, tell me if I did
> > something wrong by commenting those lines.
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by xPML, a groundbreaking scripting lang=
uage
> > that extends applications into web and mobile media. Attend the live we=
bcast
> > and join the prime developer group breaking into this new coding territ=
ory!
> > http://sel.as-us.falkag.net/sel?cmd____________________________________=
___________
> > mpls-linux-general mailing list
> > mpl...@li...
> > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general
>
> --
> James R. Leu
> jl...@mi...
>
>
>
|