[mpls-linux-general] mpls-quagga & mpls-ldp-portable compile error
Status: Beta
Brought to you by:
jleu
From: <win...@fr...> - 2009-11-08 08:44:06
|
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 |