Re: [mpls-linux-devel] LDP query
Status: Beta
Brought to you by:
jleu
From: Julien B. <jul...@gm...> - 2006-12-18 14:31:04
|
Hello everybody, On 12/14/06, James R. Leu <jl...@mi...> wrote: > > Hello, > > Basically MPLS LDP (quagga-mpls + ldp-portable) is only ready for > people who are willing to help debug. So far I think there are three > people besides me who have had some level of success using it. All of > them > downloaded the code from my development tree and compiled it themselves. I'm on Gentoo with a kernel 2.6.18.2 MPLS (downloaded from the repository) and GCC 4.1.1 (Gentoo 4.1.1-r1). I would to say that I had to "modify" the code to compile everything cleanly. For example, If you have an error like this : ../lib/prefix.h:40: error: expected specifier-qualifier-list before 'u_char= ' ../lib/prefix.h:61: error: expected specifier-qualifier-list before 'u_char= ' ../lib/prefix.h:70: error: expected specifier-qualifier-list before 'u_char= ' ../lib/prefix.h:78: error: expected specifier-qualifier-list before 'u_char= ' ../lib/prefix.h:87: error: expected specifier-qualifier-list before 'u_char= ' ../lib/prefix.h:157: error: expected '=3D', ',', ';', 'asm' or '__attribute= __' before 'ip_masklen' This SHOULD be solve by adding: #include <linux/types.h> but it didn't work for me (don't know why). So I add them manually (it's ugly, I know) I created a patch to show you what are my changes : http://www.info.fundp.ac.be/~jbiscont/file/patch_compile_quagga-mpls.patch<= http://www.info.fundp.ac.be/%7Ejbiscont/file/patch_compile_quagga-mpls.patc= h> This was made according to the latest version of quagga-mpls. And this is the script to use aclocal, automake, autoconf, blablabla... ---------------------------------------------------------------------------= ------------------- #!/bin/sh # These commands are working on gentoo with gcc-4.1.1 (Gentoo 4.1.1-r1) and #autoheader (GNU Autoconf) 2.60 #autoconf (GNU Autoconf) 2.60 #ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06) #libtoolize (GNU libtool) 1.5.22 #aclocal (GNU automake) 1.9.6 #automake (GNU automake) 1.9.6 echo "TOOLS VERIONS:" for tool in autoheader autoconf libtool libtoolize aclocal automake; do $tool --version | head -1 done aclocal libtoolize --copy --force --automake aclocal autoconf autoheader automake --add-missing --copy ---------------------------------------------------------------------------= --------------- Until I get more feed back from people about them being able to successfull= y > use MPLS LDP, I will not release a new version. I hope it helps and don't forget to create the links for ldp-portable (it's so obvious that you are able to forget about it ;-) ) Sincerely, Julien On Thu, Dec 14, 2006 at 09:09:45AM +0530, Neha Singh wrote: > > Hello, > > > > Thank you for your response. > > > > I also want to know if the user version of MPLS LDP is available just > like > > the user version for the MPLS Forwarding Plane. If it is available > please > > provide me the link for the same. > > > > Regards > > > > Neha Singh. > > > > > > > > On 12/13/06, James R. Leu <jl...@mi...> wrote: > > > > > >A quick search of the archives will show that the version of > > >LDP in the current quagga-mpls release is not designed for users (it > > >was a development release). > > > > > >If you are interested in work with LDP and are willing to help > > >in the debugging process, please download the lastest quagga-mpls from > > >my development tree (see http://mpls-linux.sf.net for more info) > > > > > >Make sure to search the archive before posting to the mailing list. > > > > > >On Wed, Dec 13, 2006 at 02:25:35PM +0530, Neha Singh wrote: > > >> Hello, > > >> > > >> We have downloaded and installed mpls (1.950) with all other > utilities > > >give > > >> in the sourceforge site. > > >> > > >> The mpls forwarding engine works fine. we tested the same using > "mpls" > > >> command suite provided in iproute2 for mpls 1.950. > > >> > > >> Now we are trying to atuomate this using LDP > > >> > > >> When we start ldpd it runs as shown below :- > > >> > > >> quagga 11410 11319 0 13:39 pts/1 00:00:00 /usr/sbin/ldpd -f > > >> /etc/quagga/ldpd.conf > > >> > > >> > > >> when we give the following command:- > > >> > > >> VPLS22> en > > >> Password: > > >> VPLS22# con > > >> VPLS22# configure t > > >> VPLS22# configure terminal > > >> VPLS22(config)# mpl > > >> VPLS22(config)# mpls ld > > >> VPLS22(config)# mpls ldp > > >> VPLS22(config-ldp)# > > >> > > >> > > >> The LDPD daemon/process used to crash abruptly. Upon debugging we > found > > >that > > >> "creation of ldp hello socket fails with bind error : bind failed : > : > > >> Permission denied". > > >> > > >> > > >> As you can see the user id with which the ldpd runs is quagga ... > > >> > > >> > > >> We had tried the old version of ldp which runs with root as userid . > it > > >> starts with no problem and also exchanges the labels. but has > problems > > >in > > >> communicating with kernel. > > >> > > >> Hence we downloaded the latest LDPD and mpls package (1.950) as give= n > in > > >> sourceforge website. > > >> > > >> However when we run the ldpd it fails with the error stated above. > > >> > > >> Please suggest us what is to be done to over come this problem. and > get > > >ldp > > >> going :-) > > >> > > >> > > >> Thank you > > > > > >> > > > >------------------------------------------------------------------------= - > > >> Take Surveys. Earn Cash. Influence the Future of IT > > >> Join SourceForge.net's Techsay panel and you'll get the chance to > share > > >your > > >> opinions on IT & business topics through brief surveys - and earn > cash > > >> > > > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > > >> _______________________________________________ > > >> mpls-linux-devel mailing list > > >> mpl...@li... > > >> https://lists.sourceforge.net/lists/listinfo/mpls-linux-devel > > > > > > > > >-- > > >James R. Leu > > >jl...@mi... > > > > > > > > > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > opinions on IT & business topics through brief surveys - and earn cash > > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > > _______________________________________________ > > mpls-linux-devel mailing list > > mpl...@li... > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-devel > > > -- > James R. Leu > jl...@mi... > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > > _______________________________________________ > mpls-linux-devel mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-devel > > > > --=20 -------------------------------------------- Julien BISCONTI <julien.bisconti(at)student.fundp.ac.be> M.Sc. student in Computer Science, University of Namur FUNDP, Belgium Traineeship: UPC (Barcelona, Spain) GSM BELGIQUE: +32 474 598 418 GSM ESPA=D1A: +34 671 168 458 |