Re: [mpls-linux-general] mpls-quagga & mpls-ldp-portable compile error
Status: Beta
Brought to you by:
jleu
From: Leucio R. <leu...@gm...> - 2009-12-03 11:38:32
|
hi list, I'm in the same point of wind. i've tried to modify the impl_lock.c file (and so on with the next compile error!), redefining the mpls_malloc and mpls_free declaration. mpls_malloc(MTYPE_LDP, sizeof(int)); instead of mpls_malloc(sizeof(int)); and mpls_free(MTYPE_LDP, handle); instead of mpls_free(handle); according with the prototypes of funcion XMALLOC and XFREE in impl_mm.c. it's seems to be a good idea, but in the next step i have problem with a zmalloc function. have anyone find a patch for this problem? thanks'a a lot 2009/11/16 <win...@fr...> > Hi James, > > How long will it take to repair mpls-quagga tree. Or is it possible > that we try to test first some old but stable one? > > Thanks, > -Wind > > Quoting James Leu <jl...@mi...>: > > > Wind, > > > > The quagga-mpls tree is in a bit of flux. I will try to repair it and > > email the list when it is ready to be built. > > > > On Sun, Nov 08, 2009 at 04:43:41PM +0800, win...@fr... wrote: > >> Hello list, > >> > >> I have been successfully install mpls-kernel, mpls-ebtables, > >> mpls-iptables and mpls-iproute2 via source with git clone from > >> git://repo.or.cz according instruction from mpls-linux wiki homepage. > >> For I am using debian/lenny so I could not use RPMs. > >> When I try to compile mpls-quagga with mpls-ldp-portable, I meet > problem. > >> Following is what I do compiling, > >> First I change DEFSRC in create-links according to my path of > >> mpls-ldp-portable then "sh create-links", then I use "sh bootstrap.sh" > >> to generate configure file. > >> Then I use ./configure --enable-mpls --enable-ldpd --enable-rsvpd to > >> configure to make sure including mpls & ldpd with quagga. After make, > >> I notice some error, so I use make check to see, and find the below > >> error: > >> impl_lock.c:8:35: error: macro "mpls_malloc" requires 2 arguments, but > >> only 1 given > >> impl_lock.c: In function ‘mpls_lock_create’: > >> impl_lock.c:8: error: ‘mpls_malloc’ undeclared (first use in this > function) > >> impl_lock.c:8: error: (Each undeclared identifier is reported only once > >> impl_lock.c:8: error: for each function it appears in.) > >> impl_lock.c:28:19: error: macro "mpls_free" requires 2 arguments, but > >> only 1 given > >> impl_lock.c: In function ‘mpls_lock_delete’: > >> impl_lock.c:28: error: ‘mpls_free’ undeclared (first use in this > function) > >> make: *** [impl_lock.o] Error 1 > >> It seems mpls_malloc need 2 argument, but only 1 given. > >> I wonder if the sources from git is the suitable one I should use? > >> Could anyone help me? > >> > >> Thanks, > >> -Wind > >> > >> > >> > ------------------------------------------------------------------------------ > >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > >> trial. Simplify your report design, integration and deployment - > >> and focus on > >> what you do best, core application coding. Discover what's new with > >> Crystal Reports now. http://p.sf.net/sfu/bobj-july > >> _______________________________________________ > >> mpls-linux-general mailing list > >> mpl...@li... > >> https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > -- > > James R. Leu > > jl...@mi... > > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > -- Ricci Leuciantonio |