Re: [mpls-linux-general] Fwd: Problems compiling quagga-ldp with 2,4,20 kernel (II)
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2004-05-18 03:46:36
|
You have two options: -fix it yourself -wait until I fix it I just got back from an interoperability session. It will take me sometime to get back into working on my pet projects. On Mon, May 10, 2004 at 08:24:07PM +0200, Arturo P. Gonz?lez Herranz wrote: > Hi all again, > I don't know if someone has already answered my two last > messages, but I haven't received any. I have looked at > http://sourceforge.net/mailarchive/forum.php?forum_id=5051, but it's > still out of date!!. Perhaps I have some problem with my mail (although > I think it works right) because just now I have received a James's mail > with subject: > Re: [mpls-linux-general] I want to get the newer ldp-portable, but I > haven't received the message with subject: > [mpls-linux-general] I want to get the newer ldp-portable, so something > is going wrong,.... (maybe the > > mpl...@li... > ??) > > Anyway, I'm still having the same problems compiling quagga-ldp with > 2.4.20 and 2.6.1 kernels, so I need some help. If someone has already > answered me, please resend me your answer. > > Thanks in advance, > Art. > > > > -- > Arturo P. Gonz?lez Herranz <apg...@it...> Content-Description: Reenviado mensaje - Problems compiling quagga-ldp with 2,4,20 kernel (II) > Subject: Problems compiling quagga-ldp with 2,4,20 kernel (II) > From: "Arturo P." Gonz?lez Herranz <apg...@it...> > To: mpl...@li... > In-Reply-To: <108...@cr...> > X-Mailer: Ximian Evolution 1.4.6 > Date: Thu, 06 May 2004 19:57:07 +0200 > > Hi, > I don't really know how I should compile quagga-ldp (Is this the > directory I have to compile?) that I've downloaded from James's > development tree. I'm trying to do the next: > > 1. modify quagga-ldp/mplsd/create-links to point to ldp-portable source > distribution (taken from James`s tree) > 2. execute create-links > 3. go back to the top of the quagga-ldp source tree > 4. aclocal > 5. automake > 6. autoconf > 7. configure and compile quagga-ldp (disabling ipv6) > > Am I doing something wrong? > > I'm trying to compile it, but I always get errors, I have seen that the > library mplsd.h has changed from kernel 2.4.x to kernel 2.6.x, but if I > update this library,I also get an error: > . > . > . > gcc -g -O2 -Wall -o mplsd impl_fib.o impl_ifmgr.o impl_lock.o > impl_mm.o impl_mpls.o impl_policy.o impl_socket.o impl_timer.o > impl_tree.o mpls.o mpls_interface.o mpls_zebra.o mpls_main.o mpls_vty.o > static.o static_vty.o ldp.o ldp_interface.o ldp_vty.o ldp_remote_peer.o > l2cc_interface.o ldp_addr.o ldp_adj.o ldp_attr.o ldp_buf.o ldp_cfg.o > ldp_entity.o ldp_fec.o ldp_global.o ldp_hello.o ldp_hop.o ldp_hop_list.o > ldp_if.o ldp_inet_addr.o ldp_init.o ldp_inlabel.o ldp_keepalive.o > ldp_label_abort.o ldp_label_mapping.o ldp_label_rel_with.o > ldp_label_request.o ldp_mesg.o ldp_nortel.o ldp_notif.o ldp_outlabel.o > ldp_pdu_setup.o ldp_peer.o ldp_resource.o ldp_session.o > ldp_state_funcs.o ldp_state_machine.o ldp_tunnel.o ldp_nexthop.o > mpls_compare.o lsr_cfg.o lsr_global.o lsr_if.o lsr_insegment.o > lsr_labelmanager.o lsr_outsegment.o lsr_xconnect.o lsr_ftn.o rsvpte.o > rsvpte_vty.o rsvpte_interface.o rsvpte_global.o rsvpte_if.o rsvpte_cfg.o > ../lib/libzebra.a -lm -lcrypt > ldp_vty.o(.text+0xce7): En la funci?n `mpls_show_ldp_attr': > /tmp/mpls/quagga-ldp/mplsd/ldp_vty.c:716: undefined reference to > `ldp_cfg_global_attr' > collect2: ld devolvi? el estado de salida 1 > make[2]: *** [mplsd] Error 1 > make[2]: Leaving directory `/tmp/mpls/quagga-ldp/mplsd' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/tmp/mpls/quagga-ldp' > make: *** [all] Error 2 > > Where is 'ldp_cfg_global_attr' defined? I've been looking for it but I > haven't found it. > > I have also tryed to compile it with kernel 2.6.1 patched with > mpls-1.922, (although I have to work with kernel-2.4.20 with > mpls-1.172), but I also get an error: > . > . > . > ldp_session.c: In function `ldp_session_for_nexthop': > ldp_session.c:739: parse error before `*' > ldp_session.c:740: `s' undeclared (first use in this function) > ldp_session.c:740: (Each undeclared identifier is reported only once > ldp_session.c:740: for each function it appears in.) > make[2]: *** [ldp_session.o] Error 1 > make[2]: Saliendo directorio `/tmp/mpls/quagga-ldp/mplsd' > make[1]: *** [all-recursive] Error 1 > make[1]: Saliendo directorio `/tmp/mpls/quagga-ldp' > make: *** [all] Error 2 > > So, I don't know what to do. > > Can anyone help me, please? > > Thanks for your time. > > > El mi?rcoles, 05-05-2004 a las 21:02, Arturo P. Gonz?lez Herranz > escribi?: > > Hi all, > > I've downloaded the directories quagga-ldp and ldp-portable from > > James's development tree, but I'm having some problems compiling it > > (I've seen that somes stucts have changed,...). I have a kernel 2.4.20 > > patched with mpls-linux-1.172 and I'm wondering if it's possible to > > compile it with this kernel or I should migrate to a 2.6.x. I actually > > need to work with 2.4.20 kernel, so I hope this new release of > > ldp-portable works with my kernel or I'm gonna be in great problems. > > > > Kindly, > > Art > > > > > > -- > > Arturo P. Gonz?lez Herranz <apg...@it...> > > -- > Arturo P. Gonz?lez Herranz <apg...@it...> -- James R. Leu jl...@mi... |