From aleksandar.cvjetic at gmail.com Sun Jan 3 14:43:48 2010 From: aleksandar.cvjetic at gmail.com (Aleksandar Cvjetic) Date: Sun, 3 Jan 2010 23:43:48 +0100 Subject: [Xorp-hackers] problem compiling xorp - ubuntu Message-ID: <249ccfe91001031443n35e13d30nf664ccf7cb7257be@mail.gmail.com> Hello, I'm trying to compile XORP on ubuntu, and got following output upon running "make": debug.c:23:2: error: #ident is a deprecated GCC extension make[3]: *** [debug.lo] Error 1 make[3]: Leaving directory `/home/aleksandar/xorp-1.6/libxorp' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/aleksandar/xorp-1.6/libxorp' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/aleksandar/xorp-1.6' make: *** [all] Error 2 Any idea how to remedy this? I found posted similar problem with Fedora someone had before, but no so clear about solution. gcc --version outputs following gcc (Ubuntu 4.4.1-4ubuntu8) 4.4.1 Thank you! Aleksandar -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20100103/95040268/attachment.html From greearb at candelatech.com Sun Jan 3 17:04:40 2010 From: greearb at candelatech.com (Ben Greear) Date: Sun, 03 Jan 2010 17:04:40 -0800 Subject: [Xorp-hackers] problem compiling xorp - ubuntu In-Reply-To: <249ccfe91001031443n35e13d30nf664ccf7cb7257be@mail.gmail.com> References: <249ccfe91001031443n35e13d30nf664ccf7cb7257be@mail.gmail.com> Message-ID: <4B413EA8.8050204@candelatech.com> On 01/03/2010 02:43 PM, Aleksandar Cvjetic wrote: > Hello, > > I'm trying to compile XORP on ubuntu, and got following output upon > running "make": > > debug.c:23:2: error: #ident is a deprecated GCC extension > make[3]: *** [debug.lo] Error 1 > make[3]: Leaving directory `/home/aleksandar/xorp-1.6/libxorp' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/aleksandar/xorp-1.6/libxorp' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/aleksandar/xorp-1.6' > make: *** [all] Error 2 > > Any idea how to remedy this? I found posted similar problem with Fedora > someone had before, but no so clear about solution. > gcc --version outputs following > gcc (Ubuntu 4.4.1-4ubuntu8) 4.4.1 The the version from SVN. It should fix that problem, at least. Thanks, Ben > > Thank you! > Aleksandar > > > > > _______________________________________________ > Xorp-hackers mailing list > Xorp-hackers at icir.org > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers -- Ben Greear Candela Technologies Inc http://www.candelatech.com From aleksandar.cvjetic at gmail.com Mon Jan 4 13:05:35 2010 From: aleksandar.cvjetic at gmail.com (Aleksandar Cvjetic) Date: Mon, 4 Jan 2010 22:05:35 +0100 Subject: [Xorp-hackers] problem compiling xorp - ubuntu In-Reply-To: <4B413EA8.8050204@candelatech.com> References: <249ccfe91001031443n35e13d30nf664ccf7cb7257be@mail.gmail.com> <4B413EA8.8050204@candelatech.com> Message-ID: <249ccfe91001041305n4075b388hb1cd137503b488ad@mail.gmail.com> Hello, Unfortunatelly -Wno-deprecated didn't work for me. I have tried with update from SVN repositiry but it seams somehow run out of space during update: ....................................................... ....................................................... A gcc/trunk/libgcc/config/libbid/_addsub_sd.c A gcc/trunk/libgcc/config/libbid/bid_from_int.c A gcc/trunk/libgcc/config/libbid/bid128_logb.c A gcc/trunk/libgcc/config/libbid/bid128_scalb.c svn: In directory 'gcc/trunk/libgcc/config/libbid' svn: Can't open 'gcc/trunk/libgcc/config/libbid/tempfile.tmp': No space left on device Thank you, Aleksandar On Mon, Jan 4, 2010 at 2:04 AM, Ben Greear wrote: > On 01/03/2010 02:43 PM, Aleksandar Cvjetic wrote: > >> Hello, >> >> I'm trying to compile XORP on ubuntu, and got following output upon >> running "make": >> >> debug.c:23:2: error: #ident is a deprecated GCC extension >> make[3]: *** [debug.lo] Error 1 >> make[3]: Leaving directory `/home/aleksandar/xorp-1.6/libxorp' >> make[2]: *** [all] Error 2 >> make[2]: Leaving directory `/home/aleksandar/xorp-1.6/libxorp' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/home/aleksandar/xorp-1.6' >> make: *** [all] Error 2 >> >> Any idea how to remedy this? I found posted similar problem with Fedora >> someone had before, but no so clear about solution. >> gcc --version outputs following >> gcc (Ubuntu 4.4.1-4ubuntu8) 4.4.1 >> > > The the version from SVN. It should fix that problem, at least. > > Thanks, > Ben > > > >> Thank you! >> Aleksandar >> >> >> >> >> _______________________________________________ >> Xorp-hackers mailing list >> Xorp-hackers at icir.org >> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers >> > > > -- > Ben Greear > Candela Technologies Inc http://www.candelatech.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20100104/c3dc4251/attachment.html From greearb at candelatech.com Mon Jan 4 13:10:29 2010 From: greearb at candelatech.com (Ben Greear) Date: Mon, 04 Jan 2010 13:10:29 -0800 Subject: [Xorp-hackers] problem compiling xorp - ubuntu In-Reply-To: <249ccfe91001041305n4075b388hb1cd137503b488ad@mail.gmail.com> References: <249ccfe91001031443n35e13d30nf664ccf7cb7257be@mail.gmail.com> <4B413EA8.8050204@candelatech.com> <249ccfe91001041305n4075b388hb1cd137503b488ad@mail.gmail.com> Message-ID: <4B425945.7050604@candelatech.com> On 01/04/2010 01:05 PM, Aleksandar Cvjetic wrote: > Hello, > Unfortunatelly -Wno-deprecated didn't work for me. I have tried with > update from SVN repositiry but it seams somehow run out of space during > update: > ....................................................... > ....................................................... > A gcc/trunk/libgcc/config/libbid/_addsub_sd.c > A gcc/trunk/libgcc/config/libbid/bid_from_int.c > A gcc/trunk/libgcc/config/libbid/bid128_logb.c > A gcc/trunk/libgcc/config/libbid/bid128_scalb.c > svn: In directory 'gcc/trunk/libgcc/config/libbid' > svn: Can't open 'gcc/trunk/libgcc/config/libbid/tempfile.tmp': No space > left on device I meant use the SVN version of xorp, not gcc (or whatever you did). http://www.xorp.org/cvs.html Either way, sounds like the error above is because you are out of space on your file-system. Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com From aleksandar.cvjetic at gmail.com Wed Jan 6 00:14:25 2010 From: aleksandar.cvjetic at gmail.com (Aleksandar Cvjetic) Date: Wed, 6 Jan 2010 09:14:25 +0100 Subject: [Xorp-hackers] problem compiling xorp - ubuntu In-Reply-To: <4B4366E7.60705@candelatech.com> References: <249ccfe91001031443n35e13d30nf664ccf7cb7257be@mail.gmail.com> <4B413EA8.8050204@candelatech.com> <249ccfe91001041305n4075b388hb1cd137503b488ad@mail.gmail.com> <4B425945.7050604@candelatech.com> <249ccfe91001050408m21d09115v5d564b1c734ee99c@mail.gmail.com> <4B4366E7.60705@candelatech.com> Message-ID: <249ccfe91001060014s6b2a7f02r2005524a3fc770c7@mail.gmail.com> Sorry for bothering, now I have this problem after running scons: root at aleks:~/xorp# scons .................................................... .................................................... gcc -o obj/i686-pc-linux-gnu/libxorp/debug.os -c -O1 -g3 -Werror -W -Wall -Wwrite-strings -Wbad-function-cast -Wmissing-prototypes -Wcast-qual -Wmissing-declarations -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wnested-externs -pipe -fPIC -DXRL_PF=120 -D_FORTIFY_SOURCE=0 -DBOOST_DISABLE_THREADS -I/usr/local/include -Iobj/i686-pc-linux-gnu -I. -I. libxorp/debug.c gcc -o obj/i686-pc-linux-gnu/libxorp/ether_compat.os -c -O1 -g3 -Werror -W -Wall -Wwrite-strings -Wbad-function-cast -Wmissing-prototypes -Wcast-qual -Wmissing-declarations -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wnested-externs -pipe -fPIC -DXRL_PF=120 -D_FORTIFY_SOURCE=0 -DBOOST_DISABLE_THREADS -I/usr/local/include -Iobj/i686-pc-linux-gnu -I. -I. libxorp/ether_compat.c In file included from libxorp/ether_compat.c:102: ./libxorp/ether_compat.h:72: error: redefinition of ?struct ether_addr? ./libxorp/ether_compat.h:78: error: conflicting types for ?ether_aton? /usr/include/netinet/ether.h:36: note: previous declaration of ?ether_aton? was here ./libxorp/ether_compat.h:82: error: conflicting types for ?ether_ntoa? /usr/include/netinet/ether.h:31: note: previous declaration of ?ether_ntoa? was here libxorp/ether_compat.c:114: error: conflicting types for ?ether_ntoa? /usr/include/netinet/ether.h:31: note: previous declaration of ?ether_ntoa? was here libxorp/ether_compat.c:146: error: conflicting types for ?ether_aton? /usr/include/netinet/ether.h:36: note: previous declaration of ?ether_aton? was here scons: *** [obj/i686-pc-linux-gnu/libxorp/ether_compat.os] Error 1 scons: building terminated because of errors. root at aleks:~/xorp# It looks like a conflict in declaration of ethernet related types Thanks, Alex On Tue, Jan 5, 2010 at 5:20 PM, Ben Greear wrote: > On 01/05/2010 04:08 AM, Aleksandar Cvjetic wrote: > >> Hello Ben, >> >> Since I don't have so much exprience, what is the way to compile SVN >> version of xorp? Obviously, there is no "configure" options in xorp top >> level directory so I'm woring about standard steps in xorp compiling >> (./configure, make ...) >> > > There is a readme that explains it, but basically, type: > > scons > > You may have to install the scons toolset, but it should be in the > standard apt repository for ubuntu... > > Ben > > >> Thank you, >> Alex >> >> On Mon, Jan 4, 2010 at 10:10 PM, Ben Greear > > wrote: >> >> On 01/04/2010 01:05 PM, Aleksandar Cvjetic wrote: >> >> Hello, >> >> Unfortunatelly -Wno-deprecated didn't work for me. I have tried >> with >> update from SVN repositiry but it seams somehow run out of space >> during >> update: >> ....................................................... >> ....................................................... >> A gcc/trunk/libgcc/config/libbid/_addsub_sd.c >> A gcc/trunk/libgcc/config/libbid/bid_from_int.c >> A gcc/trunk/libgcc/config/libbid/bid128_logb.c >> A gcc/trunk/libgcc/config/libbid/bid128_scalb.c >> svn: In directory 'gcc/trunk/libgcc/config/libbid' >> svn: Can't open 'gcc/trunk/libgcc/config/libbid/tempfile.tmp': >> No space >> left on device >> >> >> I meant use the SVN version of xorp, not gcc (or whatever you did). >> >> http://www.xorp.org/cvs.html >> >> Either way, sounds like the error above is because you are out of space >> on your file-system. >> >> Thanks, >> Ben >> >> >> -- >> Ben Greear > >> >> Candela Technologies Inc http://www.candelatech.com >> >> >> > > -- > Ben Greear > Candela Technologies Inc http://www.candelatech.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20100106/53e9603b/attachment.html From wancheng82 at gmail.com Wed Jan 6 02:20:50 2010 From: wancheng82 at gmail.com (cheng wan) Date: Wed, 6 Jan 2010 18:20:50 +0800 Subject: [Xorp-hackers] Does anybody have some suggesstion about SNMP? Message-ID: Xorp removes SNMP after version 1.6. I went through the SNMP part code and found it was not easy to read/write. How about this: Add agent++ as agent process to Xorp system. Modify agent++ to support xrl IPC. Agent++ is written in C++ and more lightwight than NET-SNMP. Thank you. Robin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20100106/5a58dfac/attachment.html From greearb at candelatech.com Wed Jan 6 08:33:21 2010 From: greearb at candelatech.com (Ben Greear) Date: Wed, 06 Jan 2010 08:33:21 -0800 Subject: [Xorp-hackers] problem compiling xorp - ubuntu In-Reply-To: <249ccfe91001060014s6b2a7f02r2005524a3fc770c7@mail.gmail.com> References: <249ccfe91001031443n35e13d30nf664ccf7cb7257be@mail.gmail.com> <4B413EA8.8050204@candelatech.com> <249ccfe91001041305n4075b388hb1cd137503b488ad@mail.gmail.com> <4B425945.7050604@candelatech.com> <249ccfe91001050408m21d09115v5d564b1c734ee99c@mail.gmail.com> <4B4366E7.60705@candelatech.com> <249ccfe91001060014s6b2a7f02r2005524a3fc770c7@mail.gmail.com> Message-ID: <4B44BB51.3020903@candelatech.com> On 01/06/2010 12:14 AM, Aleksandar Cvjetic wrote: > Sorry for bothering, now I have this problem after running scons: What exact version of Ubuntu are you using? Looks like I'll need to reproduce this to have a chance of fixing it. Probably need to disable the ether_compat.h logic somehow for your platform. Thanks, Ben > > root at aleks:~/xorp# scons > .................................................... > .................................................... > gcc -o obj/i686-pc-linux-gnu/libxorp/debug.os -c -O1 -g3 -Werror -W > -Wall -Wwrite-strings -Wbad-function-cast -Wmissing-prototypes > -Wcast-qual -Wmissing-declarations -Wpointer-arith -Wcast-align > -Wstrict-prototypes -Wnested-externs -pipe -fPIC -DXRL_PF=120 > -D_FORTIFY_SOURCE=0 -DBOOST_DISABLE_THREADS -I/usr/local/include > -Iobj/i686-pc-linux-gnu -I. -I. libxorp/debug.c > gcc -o obj/i686-pc-linux-gnu/libxorp/ether_compat.os -c -O1 -g3 -Werror > -W -Wall -Wwrite-strings -Wbad-function-cast -Wmissing-prototypes > -Wcast-qual -Wmissing-declarations -Wpointer-arith -Wcast-align > -Wstrict-prototypes -Wnested-externs -pipe -fPIC -DXRL_PF=120 > -D_FORTIFY_SOURCE=0 -DBOOST_DISABLE_THREADS -I/usr/local/include > -Iobj/i686-pc-linux-gnu -I. -I. libxorp/ether_compat.c > In file included from libxorp/ether_compat.c:102: > ./libxorp/ether_compat.h:72: error: redefinition of ?struct ether_addr? > ./libxorp/ether_compat.h:78: error: conflicting types for ?ether_aton? > /usr/include/netinet/ether.h:36: note: previous declaration of > ?ether_aton? was here > ./libxorp/ether_compat.h:82: error: conflicting types for ?ether_ntoa? > /usr/include/netinet/ether.h:31: note: previous declaration of > ?ether_ntoa? was here > libxorp/ether_compat.c:114: error: conflicting types for ?ether_ntoa? > /usr/include/netinet/ether.h:31: note: previous declaration of > ?ether_ntoa? was here > libxorp/ether_compat.c:146: error: conflicting types for ?ether_aton? > /usr/include/netinet/ether.h:36: note: previous declaration of > ?ether_aton? was here > scons: *** [obj/i686-pc-linux-gnu/libxorp/ether_compat.os] Error 1 > scons: building terminated because of errors. > root at aleks:~/xorp# > > It looks like a conflict in declaration of ethernet related types > > Thanks, > Alex > > > > On Tue, Jan 5, 2010 at 5:20 PM, Ben Greear > wrote: > > On 01/05/2010 04:08 AM, Aleksandar Cvjetic wrote: > > Hello Ben, > > Since I don't have so much exprience, what is the way to compile SVN > version of xorp? Obviously, there is no "configure" options in > xorp top > level directory so I'm woring about standard steps in xorp compiling > (./configure, make ...) > > > There is a readme that explains it, but basically, type: > > scons > > You may have to install the scons toolset, but it should be in the > standard apt repository for ubuntu... > > Ben > > > Thank you, > Alex > > On Mon, Jan 4, 2010 at 10:10 PM, Ben Greear > > >> wrote: > > On 01/04/2010 01:05 PM, Aleksandar Cvjetic wrote: > > Hello, > > Unfortunatelly -Wno-deprecated didn't work for me. I > have tried > with > update from SVN repositiry but it seams somehow run out > of space > during > update: > ....................................................... > ....................................................... > A gcc/trunk/libgcc/config/libbid/_addsub_sd.c > A gcc/trunk/libgcc/config/libbid/bid_from_int.c > A gcc/trunk/libgcc/config/libbid/bid128_logb.c > A gcc/trunk/libgcc/config/libbid/bid128_scalb.c > svn: In directory 'gcc/trunk/libgcc/config/libbid' > svn: Can't open > 'gcc/trunk/libgcc/config/libbid/tempfile.tmp': > No space > left on device > > > I meant use the SVN version of xorp, not gcc (or whatever > you did). > > http://www.xorp.org/cvs.html > > Either way, sounds like the error above is because you are > out of space > on your file-system. > > Thanks, > Ben > > > -- > Ben Greear >> > > Candela Technologies Inc http://www.candelatech.com > > > > > -- > Ben Greear > > Candela Technologies Inc http://www.candelatech.com > > -- Ben Greear Candela Technologies Inc http://www.candelatech.com From aleksandar.cvjetic at gmail.com Wed Jan 6 09:13:28 2010 From: aleksandar.cvjetic at gmail.com (Aleksandar Cvjetic) Date: Wed, 6 Jan 2010 18:13:28 +0100 Subject: [Xorp-hackers] problem compiling xorp - ubuntu In-Reply-To: <4B44BB51.3020903@candelatech.com> References: <249ccfe91001031443n35e13d30nf664ccf7cb7257be@mail.gmail.com> <4B413EA8.8050204@candelatech.com> <249ccfe91001041305n4075b388hb1cd137503b488ad@mail.gmail.com> <4B425945.7050604@candelatech.com> <249ccfe91001050408m21d09115v5d564b1c734ee99c@mail.gmail.com> <4B4366E7.60705@candelatech.com> <249ccfe91001060014s6b2a7f02r2005524a3fc770c7@mail.gmail.com> <4B44BB51.3020903@candelatech.com> Message-ID: <249ccfe91001060913m7bb08945o7c0d4aa58a6b0e86@mail.gmail.com> Hello, I'm using Ubuntu 9.10. This is exact image name: ubuntu-9.10-rc-desktop-i386 Thanks, Alex On Wed, Jan 6, 2010 at 5:33 PM, Ben Greear wrote: > On 01/06/2010 12:14 AM, Aleksandar Cvjetic wrote: > >> Sorry for bothering, now I have this problem after running scons: >> > > What exact version of Ubuntu are you using? Looks like I'll > need to reproduce this to have a chance of fixing it. Probably > need to disable the ether_compat.h logic somehow for your platform. > > Thanks, > Ben > > >> root at aleks:~/xorp# scons >> .................................................... >> .................................................... >> gcc -o obj/i686-pc-linux-gnu/libxorp/debug.os -c -O1 -g3 -Werror -W >> -Wall -Wwrite-strings -Wbad-function-cast -Wmissing-prototypes >> -Wcast-qual -Wmissing-declarations -Wpointer-arith -Wcast-align >> -Wstrict-prototypes -Wnested-externs -pipe -fPIC -DXRL_PF=120 >> -D_FORTIFY_SOURCE=0 -DBOOST_DISABLE_THREADS -I/usr/local/include >> -Iobj/i686-pc-linux-gnu -I. -I. libxorp/debug.c >> gcc -o obj/i686-pc-linux-gnu/libxorp/ether_compat.os -c -O1 -g3 -Werror >> -W -Wall -Wwrite-strings -Wbad-function-cast -Wmissing-prototypes >> -Wcast-qual -Wmissing-declarations -Wpointer-arith -Wcast-align >> -Wstrict-prototypes -Wnested-externs -pipe -fPIC -DXRL_PF=120 >> -D_FORTIFY_SOURCE=0 -DBOOST_DISABLE_THREADS -I/usr/local/include >> -Iobj/i686-pc-linux-gnu -I. -I. libxorp/ether_compat.c >> In file included from libxorp/ether_compat.c:102: >> ./libxorp/ether_compat.h:72: error: redefinition of ?struct ether_addr? >> ./libxorp/ether_compat.h:78: error: conflicting types for ?ether_aton? >> /usr/include/netinet/ether.h:36: note: previous declaration of >> ?ether_aton? was here >> ./libxorp/ether_compat.h:82: error: conflicting types for ?ether_ntoa? >> /usr/include/netinet/ether.h:31: note: previous declaration of >> ?ether_ntoa? was here >> libxorp/ether_compat.c:114: error: conflicting types for ?ether_ntoa? >> /usr/include/netinet/ether.h:31: note: previous declaration of >> ?ether_ntoa? was here >> libxorp/ether_compat.c:146: error: conflicting types for ?ether_aton? >> /usr/include/netinet/ether.h:36: note: previous declaration of >> ?ether_aton? was here >> scons: *** [obj/i686-pc-linux-gnu/libxorp/ether_compat.os] Error 1 >> scons: building terminated because of errors. >> root at aleks:~/xorp# >> >> It looks like a conflict in declaration of ethernet related types >> >> Thanks, >> Alex >> >> >> >> On Tue, Jan 5, 2010 at 5:20 PM, Ben Greear > > wrote: >> >> On 01/05/2010 04:08 AM, Aleksandar Cvjetic wrote: >> >> Hello Ben, >> >> Since I don't have so much exprience, what is the way to compile >> SVN >> version of xorp? Obviously, there is no "configure" options in >> xorp top >> level directory so I'm woring about standard steps in xorp >> compiling >> (./configure, make ...) >> >> >> There is a readme that explains it, but basically, type: >> >> scons >> >> You may have to install the scons toolset, but it should be in the >> standard apt repository for ubuntu... >> >> Ben >> >> >> Thank you, >> Alex >> >> On Mon, Jan 4, 2010 at 10:10 PM, Ben Greear >> >> > >> >> wrote: >> >> On 01/04/2010 01:05 PM, Aleksandar Cvjetic wrote: >> >> Hello, >> >> Unfortunatelly -Wno-deprecated didn't work for me. I >> have tried >> with >> update from SVN repositiry but it seams somehow run out >> of space >> during >> update: >> ....................................................... >> ....................................................... >> A gcc/trunk/libgcc/config/libbid/_addsub_sd.c >> A gcc/trunk/libgcc/config/libbid/bid_from_int.c >> A gcc/trunk/libgcc/config/libbid/bid128_logb.c >> A gcc/trunk/libgcc/config/libbid/bid128_scalb.c >> svn: In directory 'gcc/trunk/libgcc/config/libbid' >> svn: Can't open >> 'gcc/trunk/libgcc/config/libbid/tempfile.tmp': >> No space >> left on device >> >> >> I meant use the SVN version of xorp, not gcc (or whatever >> you did). >> >> http://www.xorp.org/cvs.html >> >> Either way, sounds like the error above is because you are >> out of space >> on your file-system. >> >> Thanks, >> Ben >> >> >> -- >> Ben Greear > > >> >> >> >> Candela Technologies Inc http://www.candelatech.com >> >> >> >> >> -- >> Ben Greear > >> Candela Technologies Inc http://www.candelatech.com >> >> >> > > -- > Ben Greear > Candela Technologies Inc http://www.candelatech.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20100106/d82816b9/attachment-0001.html From greearb at candelatech.com Wed Jan 6 11:51:50 2010 From: greearb at candelatech.com (Ben Greear) Date: Wed, 06 Jan 2010 11:51:50 -0800 Subject: [Xorp-hackers] problem compiling xorp - ubuntu In-Reply-To: <249ccfe91001060014s6b2a7f02r2005524a3fc770c7@mail.gmail.com> References: <249ccfe91001031443n35e13d30nf664ccf7cb7257be@mail.gmail.com> <4B413EA8.8050204@candelatech.com> <249ccfe91001041305n4075b388hb1cd137503b488ad@mail.gmail.com> <4B425945.7050604@candelatech.com> <249ccfe91001050408m21d09115v5d564b1c734ee99c@mail.gmail.com> <4B4366E7.60705@candelatech.com> <249ccfe91001060014s6b2a7f02r2005524a3fc770c7@mail.gmail.com> Message-ID: <4B44E9D6.80500@candelatech.com> On 01/06/2010 12:14 AM, Aleksandar Cvjetic wrote: > Sorry for bothering, now I have this problem after running scons: Well, this seems to be caused by lack of boost-regex: scons: Configure: Checking for C type struct ether_addr... obj/i686-pc-linux-gnu/.sconf_temp/conftest_122.c <- | | |#include |#include |#include |#include | | |int main() { | if ((struct ether_addr *) 0) | return 0; | if (sizeof (struct ether_addr)) | return 0; |} | @ gcc -o obj/i686-pc-linux-gnu/.sconf_temp/conftest_122.o -c -I/usr/local/include -Iobj/i686-pc-linux-gnu obj/i686-pc-linux-gnu/.sconf_temp/conftest_122.c gcc -o obj/i686-pc-linux-gnu/.sconf_temp/conftest_122 obj/i686-pc-linux-gnu/.sconf_temp/conftest_122.o -L/usr/local/lib -lboost_regex-mt -lboost_regex /usr/bin/ld: cannot find -lboost_regex-mt collect2: ld returned 1 exit status scons: Configure: no Bruce: Can you add a check for boost-regexp and just fail to even attempt to compile if it doesn't exist? Having it break tests such as the one above makes it difficult for the user to figure out what the real problem is. Aleksandar: Try this: rm -fr obj apt-get install libboost-regex-dev (or, if you're using boost 1.4: apt-get install libboost-regex1.4-dev) I also had to install: apt-get install libssl-dev apt-get install libpcap-dev I also had to apply this patch, but maybe this was only bugs in my repository: http://www.candelatech.com/oss/xorp-ct.html diff --git a/fea/xrl_fea_target.cc b/fea/xrl_fea_target.cc index 02d9f5b..d9fe8cb 100644 --- a/fea/xrl_fea_target.cc +++ b/fea/xrl_fea_target.cc @@ -1888,7 +1888,7 @@ XrlFeaTarget::ifmgr_0_1_delete_interface( string empty; _io_ip_manager.leave_all_multicast_groups(ifname, empty, error_msg); if (error_msg.size()) { - XLOG_ERROR(error_msg.c_str()); + XLOG_ERROR("%s", error_msg.c_str()); } if (_ifconfig.add_transaction_operation( @@ -2396,7 +2396,7 @@ XrlFeaTarget::ifmgr_0_1_delete_vif( // Hack: Remove multicast addrs first. --Ben _io_ip_manager.leave_all_multicast_groups(ifname, vifname, error_msg); if (error_msg.size()) { - XLOG_ERROR(error_msg.c_str()); + XLOG_ERROR("%s", error_msg.c_str()); } if (_ifconfig.add_transaction_operation( diff --git a/mld6igmp/mld6igmp_node.cc b/mld6igmp/mld6igmp_node.cc index d1cccc3..c9c8923 100644 --- a/mld6igmp/mld6igmp_node.cc +++ b/mld6igmp/mld6igmp_node.cc @@ -1464,7 +1464,7 @@ Mld6igmpNode::delete_protocol(const string& module_instance_name, ostringstream oss; oss << "Cannot delete protocol instance: " << module_instance_name << " on vif_index: " << vif_index << ". No such vif."; - XLOG_ERROR(oss.str().c_str()); + XLOG_ERROR("%s", oss.str().c_str()); error_msg.append(oss.str()); return (XORP_ERROR); } After this, it compiles fine. Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com From greearb at candelatech.com Wed Jan 6 12:22:13 2010 From: greearb at candelatech.com (Ben Greear) Date: Wed, 06 Jan 2010 12:22:13 -0800 Subject: [Xorp-hackers] Does anybody have some suggesstion about SNMP? In-Reply-To: References: Message-ID: <4B44F0F5.5010802@candelatech.com> On 01/06/2010 02:20 AM, cheng wan wrote: > Xorp removes SNMP after version 1.6. > I went through the SNMP part code and found it was not easy to read/write. > How about this: > Add agent++ as agent process to Xorp system. > Modify agent++ to support xrl IPC. > Agent++ is written in C++ and more lightwight than NET-SNMP. > Thank you. > Robin Out of curiosity, what do you need from Xorp that isn't supported by the OS already? Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com From wancheng82 at gmail.com Wed Jan 6 17:07:24 2010 From: wancheng82 at gmail.com (=?utf-8?B?d2FuY2hlbmc4Mg==?=) Date: Thu, 7 Jan 2010 09:07:24 +0800 Subject: [Xorp-hackers] =?utf-8?q?Does_anybody_have_some_suggesstion_about?= =?utf-8?q?_SNMP=3F?= References: Message-ID: <201001070907212344953@gmail.com> Our team is developing one Layer2 switch stack based on xorp. We want to support SNMP. But it seems not easy to do these: 1)If we add SNMP SET?how to make sure CLI and SNMP configuration consistent 2)How to make the development easizer? I saw the implementation of BGP-MIB, and it is not easy to understand(May be I need to learn more about NET-SNMP api). 3)How to make the efficency better? Also the efficiency is not good, because BGP-MIB module maintains a timer to get info from BGP target. My idea is to integrated agent++ as one module, but I have not begin to think about it. Thank you. Robin. 2010-01-07 wancheng82 ???? Ben Greear ????? 2010-01-07 04:22:15 ???? cheng wan ??? xorp-hackers ??? Re: [Xorp-hackers] Does anybody have some suggesstion about SNMP? On 01/06/2010 02:20 AM, cheng wan wrote: > Xorp removes SNMP after version 1.6. > I went through the SNMP part code and found it was not easy to read/write. > How about this: > Add agent++ as agent process to Xorp system. > Modify agent++ to support xrl IPC. > Agent++ is written in C++ and more lightwight than NET-SNMP. > Thank you. > Robin Out of curiosity, what do you need from Xorp that isn't supported by the OS already? Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20100107/0c470993/attachment.html From greearb at candelatech.com Wed Jan 6 18:39:28 2010 From: greearb at candelatech.com (Ben Greear) Date: Wed, 06 Jan 2010 18:39:28 -0800 Subject: [Xorp-hackers] Does anybody have some suggesstion about SNMP? In-Reply-To: <201001070907212344953@gmail.com> References: <201001070907212344953@gmail.com> Message-ID: <4B454960.9060904@candelatech.com> On 01/06/2010 05:07 PM, wancheng82 wrote: > Our team is developing one Layer2 switch stack based on xorp. > We want to support SNMP. > But it seems not easy to do these: > 1)If we add SNMP SET?how to make sure CLI and SNMP configuration consistent > 2)How to make the development easizer? > I saw the implementation of BGP-MIB, and it is not easy to > understand(May be I need to learn more about NET-SNMP api). > 3)How to make the efficency better? > Also the efficiency is not good, because BGP-MIB module maintains a > timer to get info from BGP target. > My idea is to integrated agent++ as one module, but I have not begin to > think about it. > Thank you. > Robin. I implemented SNMP on some telecom equipment years ago. I have very poor opinions of SNMP, especially for configuration (it's ok for read-only reporting type of stuff). I'd suggest not trying to implement SNMP write...spend your time making the rest of xorp, including it's CLI, more useful & stable instead! For reads, if you're running on top of Linux, you can probably use the normal snmp tools to get info directly out of the kernel. Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com From lizhaous2000 at yahoo.com Thu Jan 7 08:04:01 2010 From: lizhaous2000 at yahoo.com (Li Zhao) Date: Thu, 7 Jan 2010 08:04:01 -0800 (PST) Subject: [Xorp-hackers] Does anybody have some suggesstion about SNMP? In-Reply-To: <201001070907212344953@gmail.com> Message-ID: <286724.21005.qm@web58702.mail.re1.yahoo.com> If you need to make cli set and snmp set consistent, you probably need to make call the same xrl interfaces. But what you set in cli can not be cleared through snmp, probably. --- On Wed, 1/6/10, wancheng82 wrote: > From: wancheng82 > Subject: Re: [Xorp-hackers] Does anybody have some suggesstion about SNMP? > To: "xorp-hackers" > Date: Wednesday, January 6, 2010, 8:07 PM > ? > > > > _filtered #yiv559616460 { > font-family:??; > } > _filtered #yiv559616460 { > font-family:Verdana; > } > _filtered #yiv559616460 { > > } > _filtered #yiv559616460 {margin:72.0pt 90.0pt 72.0pt > 90.0pt;} > #yiv559616460 P.MsoNormal { > TEXT-JUSTIFY:inter-ideograph;FONT-SIZE:10.5pt;MARGIN:0cm > 0cm 0pt;FONT-FAMILY:"Times New Roman";TEXT-ALIGN:justify;} > #yiv559616460 LI.MsoNormal { > TEXT-JUSTIFY:inter-ideograph;FONT-SIZE:10.5pt;MARGIN:0cm > 0cm 0pt;FONT-FAMILY:"Times New Roman";TEXT-ALIGN:justify;} > #yiv559616460 DIV.MsoNormal { > TEXT-JUSTIFY:inter-ideograph;FONT-SIZE:10.5pt;MARGIN:0cm > 0cm 0pt;FONT-FAMILY:"Times New Roman";TEXT-ALIGN:justify;} > #yiv559616460 A:link { > COLOR:blue;TEXT-DECORATION:underline;} > #yiv559616460 SPAN.MsoHyperlink { > COLOR:blue;TEXT-DECORATION:underline;} > #yiv559616460 A:visited { > COLOR:purple;TEXT-DECORATION:underline;} > #yiv559616460 SPAN.MsoHyperlinkFollowed { > COLOR:purple;TEXT-DECORATION:underline;} > #yiv559616460 SPAN.EmailStyle17 { > FONT-WEIGHT:normal;COLOR:windowtext;FONT-STYLE:normal;FONT-FAMILY:Verdana;TEXT-DECORATION:none;} > #yiv559616460 DIV.Section1 { > } > #yiv559616460 UNKNOWN { > FONT-SIZE:10pt;} > #yiv559616460 BLOCKQUOTE { > MARGIN-TOP:0px;MARGIN-BOTTOM:0px;MARGIN-LEFT:2em;} > #yiv559616460 OL { > MARGIN-TOP:0px;MARGIN-BOTTOM:0px;} > #yiv559616460 UL { > MARGIN-TOP:0px;MARGIN-BOTTOM:0px;} > > > > Our team > is developing > one?Layer2 switch stack based on xorp. > We want?to support > SNMP. > But it > seems not easy to do > these: > 1)If?we add SNMP SET?how > to make sure CLI > and?SNMP?configuration consistent > 2)How to make the development > easizer? > ?? I saw the > implementation of > ?BGP-MIB,?and it is not easy to understand(May be > I need to learn more > about NET-SNMP api). > 3)How to make the efficency > better? > ?? Also the > efficiency?is not good, > because BGP-MIB module maintains a timer to get info from > BGP > target. > ?? > My idea is to integrated agent++ > as one module, but I > have not begin to think about it. > ? > Thank you. > ? > Robin. > 2010-01-07 > > > wancheng82 > > > > ???? Ben Greear > > ????? 2010-01-07? > 04:22:15 > > ???? cheng wan > > ??? xorp-hackers > > ??? Re: [Xorp-hackers] Does > > anybody have some suggesstion about SNMP? > > > On?01/06/2010?02:20?AM,?cheng?wan?wrote: > >?Xorp?removes?SNMP?after?version?1.6. > >?I?went?through?the?SNMP?part?code?and?found?it?was?not?easy?to?read/write. > >?How?about?this: > >?Add?agent++?as?agent?process?to?Xorp?system. > >?Modify?agent++?to?support?xrl?IPC. > >?Agent++?is?written?in?C++?and?more?lightwight?than?NET-SNMP. > >?Thank?you. > >?Robin > > Out?of?curiosity,?what?do?you?need?from?Xorp?that?isn't?supported?by?the?OS > already? > > Thanks, > Ben > > --? > Ben?Greear? > Candela?Technologies?Inc??http://www.candelatech.com > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xorp-hackers mailing list > Xorp-hackers at icir.org > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers > From aleksandar.cvjetic at gmail.com Thu Jan 7 08:28:30 2010 From: aleksandar.cvjetic at gmail.com (Aleksandar Cvjetic) Date: Thu, 7 Jan 2010 17:28:30 +0100 Subject: [Xorp-hackers] problem compiling xorp - ubuntu In-Reply-To: <4B44E9D6.80500@candelatech.com> References: <249ccfe91001031443n35e13d30nf664ccf7cb7257be@mail.gmail.com> <4B413EA8.8050204@candelatech.com> <249ccfe91001041305n4075b388hb1cd137503b488ad@mail.gmail.com> <4B425945.7050604@candelatech.com> <249ccfe91001050408m21d09115v5d564b1c734ee99c@mail.gmail.com> <4B4366E7.60705@candelatech.com> <249ccfe91001060014s6b2a7f02r2005524a3fc770c7@mail.gmail.com> <4B44E9D6.80500@candelatech.com> Message-ID: <249ccfe91001070828m76e14e0fp32c7a5d0f6d67525@mail.gmail.com> So, i did all the steps but applying patch, and I've got the same error. What is the way of applying the patch on xorp router? Also, I tried to compile xorp version downloaded from xorp website with newer gcc version (4.2.2) and I also got the same error as before: .............................................................. W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT asyncio.lo -MD -MP -MF .deps/asyncio.Tpo -c -o asyncio.lo asyncio.cc g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT asyncio.lo -MD -MP -MF .deps/asyncio.Tpo -c asyncio.cc -o asyncio.o asyncio.cc:22:2: error: #ident is a deprecated GCC extension make[3]: *** [asyncio.lo] Error 1 make[3]: Leaving directory `/home/aleksandar/Desktop/xorp-1.6/libxorp' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/aleksandar/Desktop/xorp-1.6/libxorp' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/aleksandar/Desktop/xorp-1.6' make: *** [all] Error 2 root at aleks:~/Desktop/xorp-1.6# Thank you, Alex On Wed, Jan 6, 2010 at 8:51 PM, Ben Greear wrote: > On 01/06/2010 12:14 AM, Aleksandar Cvjetic wrote: > >> Sorry for bothering, now I have this problem after running scons: >> > > Well, this seems to be caused by lack of boost-regex: > > scons: Configure: Checking for C type struct ether_addr... > obj/i686-pc-linux-gnu/.sconf_temp/conftest_122.c <- > | > | > |#include > |#include > |#include > |#include > | > | > |int main() { > | if ((struct ether_addr *) 0) > | return 0; > | if (sizeof (struct ether_addr)) > | return 0; > |} > | > @ > gcc -o obj/i686-pc-linux-gnu/.sconf_temp/conftest_122.o -c > -I/usr/local/include -Iobj/i686-pc-linux-gnu > obj/i686-pc-linux-gnu/.sconf_temp/conftest_122.c > gcc -o obj/i686-pc-linux-gnu/.sconf_temp/conftest_122 > obj/i686-pc-linux-gnu/.sconf_temp/conftest_122.o -L/usr/local/lib > -lboost_regex-mt -lboost_regex > /usr/bin/ld: cannot find -lboost_regex-mt > collect2: ld returned 1 exit status > scons: Configure: no > > > Bruce: Can you add a check for boost-regexp and just fail to even attempt > to compile if > it doesn't exist? Having it break tests such as the one above makes it > difficult for the > user to figure out what the real problem is. > > > Aleksandar: > Try this: > rm -fr obj > apt-get install libboost-regex-dev > (or, if you're using boost 1.4: apt-get install libboost-regex1.4-dev) > > I also had to install: > apt-get install libssl-dev > apt-get install libpcap-dev > > > I also had to apply this patch, but maybe this was only bugs in my > repository: > http://www.candelatech.com/oss/xorp-ct.html > > diff --git a/fea/xrl_fea_target.cc b/fea/xrl_fea_target.cc > index 02d9f5b..d9fe8cb 100644 > --- a/fea/xrl_fea_target.cc > +++ b/fea/xrl_fea_target.cc > @@ -1888,7 +1888,7 @@ XrlFeaTarget::ifmgr_0_1_delete_interface( > string empty; > _io_ip_manager.leave_all_multicast_groups(ifname, empty, error_msg); > if (error_msg.size()) { > - XLOG_ERROR(error_msg.c_str()); > + XLOG_ERROR("%s", error_msg.c_str()); > } > > if (_ifconfig.add_transaction_operation( > @@ -2396,7 +2396,7 @@ XrlFeaTarget::ifmgr_0_1_delete_vif( > // Hack: Remove multicast addrs first. --Ben > _io_ip_manager.leave_all_multicast_groups(ifname, vifname, error_msg); > if (error_msg.size()) { > - XLOG_ERROR(error_msg.c_str()); > + XLOG_ERROR("%s", error_msg.c_str()); > } > > if (_ifconfig.add_transaction_operation( > diff --git a/mld6igmp/mld6igmp_node.cc b/mld6igmp/mld6igmp_node.cc > index d1cccc3..c9c8923 100644 > --- a/mld6igmp/mld6igmp_node.cc > +++ b/mld6igmp/mld6igmp_node.cc > @@ -1464,7 +1464,7 @@ Mld6igmpNode::delete_protocol(const string& > module_instance_name, > ostringstream oss; > oss << "Cannot delete protocol instance: " << module_instance_name > << " on vif_index: " << vif_index << ". No such vif."; > - XLOG_ERROR(oss.str().c_str()); > + XLOG_ERROR("%s", oss.str().c_str()); > error_msg.append(oss.str()); > return (XORP_ERROR); > } > > > After this, it compiles fine. > > > Thanks, > Ben > > -- > Ben Greear > Candela Technologies Inc http://www.candelatech.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20100107/bc622b54/attachment-0001.html From greearb at candelatech.com Thu Jan 7 08:36:31 2010 From: greearb at candelatech.com (Ben Greear) Date: Thu, 07 Jan 2010 08:36:31 -0800 Subject: [Xorp-hackers] problem compiling xorp - ubuntu In-Reply-To: <249ccfe91001070828m76e14e0fp32c7a5d0f6d67525@mail.gmail.com> References: <249ccfe91001031443n35e13d30nf664ccf7cb7257be@mail.gmail.com> <4B413EA8.8050204@candelatech.com> <249ccfe91001041305n4075b388hb1cd137503b488ad@mail.gmail.com> <4B425945.7050604@candelatech.com> <249ccfe91001050408m21d09115v5d564b1c734ee99c@mail.gmail.com> <4B4366E7.60705@candelatech.com> <249ccfe91001060014s6b2a7f02r2005524a3fc770c7@mail.gmail.com> <4B44E9D6.80500@candelatech.com> <249ccfe91001070828m76e14e0fp32c7a5d0f6d67525@mail.gmail.com> Message-ID: <4B460D8F.9060608@candelatech.com> On 01/07/2010 08:28 AM, Aleksandar Cvjetic wrote: > So, i did all the steps but applying patch, and I've got the same error. > What is the way of applying the patch on xorp router? Also, I tried to > compile xorp version downloaded from xorp website with newer gcc version > (4.2.2) and I also got the same error as before: > .............................................................. > W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align > -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT asyncio.lo -MD -MP > -MF .deps/asyncio.Tpo -c -o asyncio.lo asyncio.cc > g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -Werror -W -Wall -Wwrite-strings > -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual > -ftemplate-depth-25 -pipe -MT asyncio.lo -MD -MP -MF .deps/asyncio.Tpo > -c asyncio.cc -o asyncio.o > asyncio.cc:22:2: error: #ident is a deprecated GCC extension > make[3]: *** [asyncio.lo] Error 1 > make[3]: Leaving directory `/home/aleksandar/Desktop/xorp-1.6/libxorp' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/aleksandar/Desktop/xorp-1.6/libxorp' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/aleksandar/Desktop/xorp-1.6' > make: *** [all] Error 2 > root at aleks:~/Desktop/xorp-1.6# You are not using the latest code from SVN. Maybe try my git repository instead if you can't figure out how to get the latest from the SVN repo: http://www.candelatech.com/oss/xorp-ct.html Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com From aleksandar.cvjetic at gmail.com Thu Jan 7 09:42:27 2010 From: aleksandar.cvjetic at gmail.com (Aleksandar Cvjetic) Date: Thu, 7 Jan 2010 18:42:27 +0100 Subject: [Xorp-hackers] problem compiling xorp - ubuntu In-Reply-To: <4B460D8F.9060608@candelatech.com> References: <249ccfe91001031443n35e13d30nf664ccf7cb7257be@mail.gmail.com> <4B413EA8.8050204@candelatech.com> <249ccfe91001041305n4075b388hb1cd137503b488ad@mail.gmail.com> <4B425945.7050604@candelatech.com> <249ccfe91001050408m21d09115v5d564b1c734ee99c@mail.gmail.com> <4B4366E7.60705@candelatech.com> <249ccfe91001060014s6b2a7f02r2005524a3fc770c7@mail.gmail.com> <4B44E9D6.80500@candelatech.com> <249ccfe91001070828m76e14e0fp32c7a5d0f6d67525@mail.gmail.com> <4B460D8F.9060608@candelatech.com> Message-ID: <249ccfe91001070942r5f3d0489w8b6aea61d23e476f@mail.gmail.com> Hi Ben, I've got the latest version from your repo and install packages as you suggest (not patch) and got the same: root at aleks:~/xorp.ct# scons scons: Reading SConscript files ... .......................................................... In file included from libxorp/ether_compat.c:102: ./libxorp/ether_compat.h:72: error: redefinition of ?struct ether_addr? ./libxorp/ether_compat.h:78: error: conflicting types for ?ether_aton? /usr/include/netinet/ether.h:36: note: previous declaration of ?ether_aton? was here ./libxorp/ether_compat.h:82: error: conflicting types for ?ether_ntoa? /usr/include/netinet/ether.h:31: note: previous declaration of ?ether_ntoa? was here libxorp/ether_compat.c:114: error: conflicting types for ?ether_ntoa? /usr/include/netinet/ether.h:31: note: previous declaration of ?ether_ntoa? was here libxorp/ether_compat.c:146: error: conflicting types for ?ether_aton? /usr/include/netinet/ether.h:36: note: previous declaration of ?ether_aton? was here scons: *** [obj/i686-pc-linux-gnu/libxorp/ether_compat.os] Error 1 scons: building terminated because of errors. root at aleks:~/xorp.ct# What is the way to apply the patch? Maybe it solves my problem. Thank you, Alex On Thu, Jan 7, 2010 at 5:36 PM, Ben Greear wrote: > On 01/07/2010 08:28 AM, Aleksandar Cvjetic wrote: > >> So, i did all the steps but applying patch, and I've got the same error. >> What is the way of applying the patch on xorp router? Also, I tried to >> compile xorp version downloaded from xorp website with newer gcc version >> (4.2.2) and I also got the same error as before: >> .............................................................. >> W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align >> -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT asyncio.lo -MD -MP >> -MF .deps/asyncio.Tpo -c -o asyncio.lo asyncio.cc >> g++ -DHAVE_CONFIG_H -I. -I.. -I.. -g -Werror -W -Wall -Wwrite-strings >> -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual >> -ftemplate-depth-25 -pipe -MT asyncio.lo -MD -MP -MF .deps/asyncio.Tpo >> -c asyncio.cc -o asyncio.o >> asyncio.cc:22:2: error: #ident is a deprecated GCC extension >> make[3]: *** [asyncio.lo] Error 1 >> make[3]: Leaving directory `/home/aleksandar/Desktop/xorp-1.6/libxorp' >> make[2]: *** [all] Error 2 >> make[2]: Leaving directory `/home/aleksandar/Desktop/xorp-1.6/libxorp' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/home/aleksandar/Desktop/xorp-1.6' >> make: *** [all] Error 2 >> root at aleks:~/Desktop/xorp-1.6# >> > > You are not using the latest code from SVN. Maybe try my git repository > instead > if you can't figure out how to get the latest from the SVN repo: > > > http://www.candelatech.com/oss/xorp-ct.html > > Thanks, > Ben > > -- > Ben Greear > Candela Technologies Inc http://www.candelatech.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20100107/2486d3fd/attachment.html From greearb at candelatech.com Thu Jan 7 09:46:21 2010 From: greearb at candelatech.com (Ben Greear) Date: Thu, 07 Jan 2010 09:46:21 -0800 Subject: [Xorp-hackers] problem compiling xorp - ubuntu In-Reply-To: <249ccfe91001070942r5f3d0489w8b6aea61d23e476f@mail.gmail.com> References: <249ccfe91001031443n35e13d30nf664ccf7cb7257be@mail.gmail.com> <4B413EA8.8050204@candelatech.com> <249ccfe91001041305n4075b388hb1cd137503b488ad@mail.gmail.com> <4B425945.7050604@candelatech.com> <249ccfe91001050408m21d09115v5d564b1c734ee99c@mail.gmail.com> <4B4366E7.60705@candelatech.com> <249ccfe91001060014s6b2a7f02r2005524a3fc770c7@mail.gmail.com> <4B44E9D6.80500@candelatech.com> <249ccfe91001070828m76e14e0fp32c7a5d0f6d67525@mail.gmail.com> <4B460D8F.9060608@candelatech.com> <249ccfe91001070942r5f3d0489w8b6aea61d23e476f@mail.gmail.com> Message-ID: <4B461DED.7060706@candelatech.com> On 01/07/2010 09:42 AM, Aleksandar Cvjetic wrote: > Hi Ben, > > I've got the latest version from your repo and install packages as you > suggest (not patch) and got the same: > > root at aleks:~/xorp.ct# scons > scons: Reading SConscript files ... > .......................................................... > In file included from libxorp/ether_compat.c:102: > ./libxorp/ether_compat.h:72: error: redefinition of ?struct ether_addr? > ./libxorp/ether_compat.h:78: error: conflicting types for ?ether_aton? > /usr/include/netinet/ether.h:36: note: previous declaration of > ?ether_aton? was here > ./libxorp/ether_compat.h:82: error: conflicting types for ?ether_ntoa? > /usr/include/netinet/ether.h:31: note: previous declaration of > ?ether_ntoa? was here > libxorp/ether_compat.c:114: error: conflicting types for ?ether_ntoa? > /usr/include/netinet/ether.h:31: note: previous declaration of > ?ether_ntoa? was here > libxorp/ether_compat.c:146: error: conflicting types for ?ether_aton? > /usr/include/netinet/ether.h:36: note: previous declaration of > ?ether_aton? was here > scons: *** [obj/i686-pc-linux-gnu/libxorp/ether_compat.os] Error 1 > scons: building terminated because of errors. > root at aleks:~/xorp.ct# > > What is the way to apply the patch? Maybe it solves my problem. No, my patch is already in that repo, and it causes a different problem anyway. You must not have all of the boost stuff installed properly. Please: rm -fr obj re-build, and when it fails, send me the obj/*/config.log file Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com From wancheng82 at gmail.com Thu Jan 7 16:58:13 2010 From: wancheng82 at gmail.com (=?utf-8?B?d2FuY2hlbmc4Mg==?=) Date: Fri, 8 Jan 2010 08:58:13 +0800 Subject: [Xorp-hackers] =?utf-8?q?Does_anybody_have_some_suggesstion_about?= =?utf-8?q?_SNMP=3F?= Message-ID: <201001080858109215065@gmail.com> CLI and SNMP consistency means if we use snmp set to change a configuration, if this configuration is at CLI command tree, this CLI node should be changed too. It is not easy to to this based on xorpsh and rtrmgr architecture. Thank you. Robin 2010-01-08 wancheng82 ???? Li Zhao ????? 2010-01-08 00:04:03 ???? xorp-hackers; wancheng82 ??? ??? Re: [Xorp-hackers] Does anybody have some suggesstion about SNMP? If you need to make cli set and snmp set consistent, you probably need to make call the same xrl interfaces. But what you set in cli can not be cleared through snmp, probably. --- On Wed, 1/6/10, wancheng82 wrote: > From: wancheng82 > Subject: Re: [Xorp-hackers] Does anybody have some suggesstion about SNMP? > To: "xorp-hackers" > Date: Wednesday, January 6, 2010, 8:07 PM > ? > > > > _filtered #yiv559616460 { > font-family:??; > } > _filtered #yiv559616460 { > font-family:Verdana; > } > _filtered #yiv559616460 { > > } > _filtered #yiv559616460 {margin:72.0pt 90.0pt 72.0pt > 90.0pt;} > #yiv559616460 P.MsoNormal { > TEXT-JUSTIFY:inter-ideograph;FONT-SIZE:10.5pt;MARGIN:0cm > 0cm 0pt;FONT-FAMILY:"Times New Roman";TEXT-ALIGN:justify;} > #yiv559616460 LI.MsoNormal { > TEXT-JUSTIFY:inter-ideograph;FONT-SIZE:10.5pt;MARGIN:0cm > 0cm 0pt;FONT-FAMILY:"Times New Roman";TEXT-ALIGN:justify;} > #yiv559616460 DIV.MsoNormal { > TEXT-JUSTIFY:inter-ideograph;FONT-SIZE:10.5pt;MARGIN:0cm > 0cm 0pt;FONT-FAMILY:"Times New Roman";TEXT-ALIGN:justify;} > #yiv559616460 A:link { > COLOR:blue;TEXT-DECORATION:underline;} > #yiv559616460 SPAN.MsoHyperlink { > COLOR:blue;TEXT-DECORATION:underline;} > #yiv559616460 A:visited { > COLOR:purple;TEXT-DECORATION:underline;} > #yiv559616460 SPAN.MsoHyperlinkFollowed { > COLOR:purple;TEXT-DECORATION:underline;} > #yiv559616460 SPAN.EmailStyle17 { > FONT-WEIGHT:normal;COLOR:windowtext;FONT-STYLE:normal;FONT-FAMILY:Verdana;TEXT-DECORATION:none;} > #yiv559616460 DIV.Section1 { > } > #yiv559616460 UNKNOWN { > FONT-SIZE:10pt;} > #yiv559616460 BLOCKQUOTE { > MARGIN-TOP:0px;MARGIN-BOTTOM:0px;MARGIN-LEFT:2em;} > #yiv559616460 OL { > MARGIN-TOP:0px;MARGIN-BOTTOM:0px;} > #yiv559616460 UL { > MARGIN-TOP:0px;MARGIN-BOTTOM:0px;} > > > > Our team > is developing > one Layer2 switch stack based on xorp. > We want to support > SNMP. > But it > seems not easy to do > these: > 1)If we add SNMP SET?how > to make sure CLI > and SNMP configuration consistent > 2)How to make the development > easizer? > I saw the > implementation of > BGP-MIB, and it is not easy to understand(May be > I need to learn more > about NET-SNMP api). > 3)How to make the efficency > better? > Also the > efficiency is not good, > because BGP-MIB module maintains a timer to get info from > BGP > target. > > My idea is to integrated agent++ > as one module, but I > have not begin to think about it. > > Thank you. > > Robin. > 2010-01-07 > > > wancheng82 > > > > ???? Ben Greear > > ????? 2010-01-07 > 04:22:15 > > ???? cheng wan > > ??? xorp-hackers > > ??? Re: [Xorp-hackers] Does > > anybody have some suggesstion about SNMP? > > > On 01/06/2010 02:20 AM, cheng wan wrote: > > Xorp removes SNMP after version 1.6. > > I went through the SNMP part code and found it was not easy to read/write. > > How about this: > > Add agent++ as agent process to Xorp system. > > Modify agent++ to support xrl IPC. > > Agent++ is written in C++ and more lightwight than NET-SNMP. > > Thank you. > > Robin > > Out of curiosity, what do you need from Xorp that isn't supported by the OS > already? > > Thanks, > Ben > > -- > Ben Greear > Candela Technologies Inc http://www.candelatech.com > > > -----Inline Attachment Follows----- > > _______________________________________________ > Xorp-hackers mailing list > Xorp-hackers at icir.org > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20100108/3cc1b3e9/attachment.html From lizhaous2000 at yahoo.com Fri Jan 8 06:55:53 2010 From: lizhaous2000 at yahoo.com (Li Zhao) Date: Fri, 8 Jan 2010 06:55:53 -0800 (PST) Subject: [Xorp-hackers] Does anybody have some suggesstion about SNMP? In-Reply-To: <201001080858109215065@gmail.com> Message-ID: <222744.91286.qm@web58703.mail.re1.yahoo.com> That is not easy to do in Xorp. I had a silmilar experience to create a static route from one module directly, but that static route can not be seen in cli "configuration mode" via "show -all". On the other hand in cli "operational mode" you can see these static routes via "show route table ipv4 unicast static". It is legally beneficial to separate these two sets of configuration. But in case of SNMP that would be another story. I worked in other routing suites before, in that case, SNMP and cli can see each other's config. It seems to me that they are functionally redundant except that snmp is used by some application. --- On Thu, 1/7/10, wancheng82 wrote: > From: wancheng82 > Subject: Re: Re: [Xorp-hackers] Does anybody have some suggesstion about SNMP? > To: "Li Zhao" , "xorp-hackers" > Date: Thursday, January 7, 2010, 7:58 PM > ? > > > > _filtered #yiv650091993 { > font-family:??; > } > _filtered #yiv650091993 { > font-family:Verdana; > } > _filtered #yiv650091993 { > > } > _filtered #yiv650091993 {margin:72.0pt 90.0pt 72.0pt > 90.0pt;} > #yiv650091993 P.MsoNormal { > TEXT-JUSTIFY:inter-ideograph;FONT-SIZE:10.5pt;MARGIN:0cm > 0cm 0pt;FONT-FAMILY:"Times New Roman";TEXT-ALIGN:justify;} > #yiv650091993 LI.MsoNormal { > TEXT-JUSTIFY:inter-ideograph;FONT-SIZE:10.5pt;MARGIN:0cm > 0cm 0pt;FONT-FAMILY:"Times New Roman";TEXT-ALIGN:justify;} > #yiv650091993 DIV.MsoNormal { > TEXT-JUSTIFY:inter-ideograph;FONT-SIZE:10.5pt;MARGIN:0cm > 0cm 0pt;FONT-FAMILY:"Times New Roman";TEXT-ALIGN:justify;} > #yiv650091993 A:link { > COLOR:blue;TEXT-DECORATION:underline;} > #yiv650091993 SPAN.MsoHyperlink { > COLOR:blue;TEXT-DECORATION:underline;} > #yiv650091993 A:visited { > COLOR:purple;TEXT-DECORATION:underline;} > #yiv650091993 SPAN.MsoHyperlinkFollowed { > COLOR:purple;TEXT-DECORATION:underline;} > #yiv650091993 SPAN.EmailStyle17 { > FONT-WEIGHT:normal;COLOR:windowtext;FONT-STYLE:normal;FONT-FAMILY:Verdana;TEXT-DECORATION:none;} > #yiv650091993 DIV.Section1 { > } > #yiv650091993 UNKNOWN { > FONT-SIZE:10pt;} > #yiv650091993 BLOCKQUOTE { > MARGIN-TOP:0px;MARGIN-BOTTOM:0px;MARGIN-LEFT:2em;} > #yiv650091993 OL { > MARGIN-TOP:0px;MARGIN-BOTTOM:0px;} > #yiv650091993 UL { > MARGIN-TOP:0px;MARGIN-BOTTOM:0px;} > > > > CLI and > SNMP consistency means if > we use snmp set to change a configuration, > if this configuration is at CLI > command tree, this CLI > node should be changed too. > It is not easy to to this based > on xorpsh and rtrmgr > architecture. > ? > Thank you. > Robin > ? > ? > 2010-01-08 > > > wancheng82 > > > > ???? Li Zhao > > ????? 2010-01-08? > 00:04:03 > > ???? xorp-hackers; > wancheng82 > > ??? > ??? Re: [Xorp-hackers] Does > > anybody have some suggesstion about SNMP? > > > If?you?need?to?make?cli?set?and?snmp?set?consistent,?you?probably?need > to?make?call?the?same?xrl?interfaces.?But?what?you?set?in?cli?can?not?be?cleared > through?snmp,?probably. > > ---?On?Wed,?1/6/10,?wancheng82??wrote: > > >?From:?wancheng82? > >?Subject:?Re:?[Xorp-hackers]?Does?anybody?have?some?suggesstion?about?SNMP? > >?To:?"xorp-hackers"? > >?Date:?Wednesday,?January?6,?2010,?8:07?PM > >?? > >? > >?? > >?? > >??_filtered?#yiv559616460?{ > >?font-family:??; > >?} > >??_filtered?#yiv559616460?{ > >?font-family:Verdana; > >?} > >??_filtered?#yiv559616460?{ > >? > >?} > >??_filtered?#yiv559616460?{margin:72.0pt?90.0pt?72.0pt > >?90.0pt;} > >?#yiv559616460?P.MsoNormal?{ > >?TEXT-JUSTIFY:inter-ideograph;FONT-SIZE:10.5pt;MARGIN:0cm > >?0cm?0pt;FONT-FAMILY:"Times?New?Roman";TEXT-ALIGN:justify;} > >?#yiv559616460?LI.MsoNormal?{ > >?TEXT-JUSTIFY:inter-ideograph;FONT-SIZE:10.5pt;MARGIN:0cm > >?0cm?0pt;FONT-FAMILY:"Times?New?Roman";TEXT-ALIGN:justify;} > >?#yiv559616460?DIV.MsoNormal?{ > >?TEXT-JUSTIFY:inter-ideograph;FONT-SIZE:10.5pt;MARGIN:0cm > >?0cm?0pt;FONT-FAMILY:"Times?New?Roman";TEXT-ALIGN:justify;} > >?#yiv559616460?A:link?{ > >?COLOR:blue;TEXT-DECORATION:underline;} > >?#yiv559616460?SPAN.MsoHyperlink?{ > >?COLOR:blue;TEXT-DECORATION:underline;} > >?#yiv559616460?A:visited?{ > >?COLOR:purple;TEXT-DECORATION:underline;} > >?#yiv559616460?SPAN.MsoHyperlinkFollowed?{ > >?COLOR:purple;TEXT-DECORATION:underline;} > >?#yiv559616460?SPAN.EmailStyle17?{ > >?FONT-WEIGHT:normal;COLOR:windowtext;FONT-STYLE:normal;FONT-FAMILY:Verdana;TEXT-DECORATION:none;} > >?#yiv559616460?DIV.Section1?{ > >?} > >?#yiv559616460?UNKNOWN?{ > >?FONT-SIZE:10pt;} > >?#yiv559616460?BLOCKQUOTE?{ > >?MARGIN-TOP:0px;MARGIN-BOTTOM:0px;MARGIN-LEFT:2em;} > >?#yiv559616460?OL?{ > >?MARGIN-TOP:0px;MARGIN-BOTTOM:0px;} > >?#yiv559616460?UL?{ > >?MARGIN-TOP:0px;MARGIN-BOTTOM:0px;} > >? > >? > >?? > >?Our?team > >?is?developing? > >?one?Layer2?switch?stack?based?on?xorp. > >?We?want?to?support > >?SNMP. > >?But?it > >?seems?not?easy?to?do? > >?these: > >?1)If?we?add?SNMP?SET?how > >?to?make?sure?CLI? > >?and?SNMP?configuration?consistent > >?2)How?to?make?the?development > >?easizer? > >????I?saw?the > >?implementation?of? > >??BGP-MIB,?and?it?is?not?easy?to?understand(May?be > >?I?need?to?learn?more? > >?about?NET-SNMP?api). > >?3)How?to?make?the?efficency > >?better? > >????Also?the > >?efficiency?is?not?good,? > >?because?BGP-MIB?module?maintains?a?timer?to?get?info?from > >?BGP? > >?target. > >???? > >?My?idea?is?to?integrated?agent++ > >?as?one?module,?but?I? > >?have?not?begin?to?think?about?it. > >?? > >?Thank?you. > >?? > >?Robin. > >?2010-01-07? > >? > >? > >?wancheng82? > >? > >? > >? > >??????Ben?Greear > >? > >???????2010-01-07? > >?04:22:15? > >? > >??????cheng?wan > >? > >?????xorp-hackers > >? > >?????Re:?[Xorp-hackers]?Does > >? > >?anybody?have?some?suggesstion?about?SNMP?? > >?? > >? > >?On?01/06/2010?02:20?AM,?cheng?wan?wrote: > >?>?Xorp?removes?SNMP?after?version?1.6. > >?>?I?went?through?the?SNMP?part?code?and?found?it?was?not?easy?to?read/write. > >?>?How?about?this: > >?>?Add?agent++?as?agent?process?to?Xorp?system. > >?>?Modify?agent++?to?support?xrl?IPC. > >?>?Agent++?is?written?in?C++?and?more?lightwight?than?NET-SNMP. > >?>?Thank?you. > >?>?Robin > >? > >?Out?of?curiosity,?what?do?you?need?from?Xorp?that?isn't?supported?by?the?OS > >?already? > >? > >?Thanks, > >?Ben > >? > >?--? > >?Ben?Greear? > >?Candela?Technologies?Inc??http://www.candelatech.com > >?? > >? > >?-----Inline?Attachment?Follows----- > >? > >?_______________________________________________ > >?Xorp-hackers?mailing?list > >?Xorp-hackers at icir.org > >?http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers > >? > > > ?????? > > From bms at incunabulum.net Sun Jan 10 18:18:04 2010 From: bms at incunabulum.net (Bruce Simpson) Date: Mon, 11 Jan 2010 02:18:04 +0000 Subject: [Xorp-hackers] Does anybody have some suggesstion about SNMP? In-Reply-To: References: Message-ID: <4B4A8A5C.8020203@incunabulum.net> On 06/01/2010 10:20, cheng wan wrote: > Xorp removes SNMP after version 1.6. > I went through the SNMP part code and found it was not easy to read/write. > How about this: > Add agent++ as agent process to Xorp system. > Modify agent++ to support xrl IPC. > Agent++ is written in C++ and more lightwight than NET-SNMP. > We reviewed Agent++ in-house around 15 months ago, and found it wasn't a very good fit for XORP's needs. AgentX is the right approach, but Agent++'s API was lacking in any clean way to integrate its I/O into the existing XORP processes. I would suggest that Net-SNMP is still a better place to start. It has AgentX support out of the box. The key is to be able to deal with composite OID keys in a way which doesn't block out XRL, Net-SNMP or other callbacs from running.out of the main event loop. Bridging XRL to an SNMP API looks deceptively simple on the surface. The problem with that approach is that SNMP MIBs often need to use composite keys for access to internal data within each routing process, which isn't available upfront, unless SNMP is running in the same address space. This is especially true for BGP, which has had scalability problems. Doing a mass copy of BGP's state into the address space of the SNMP daemon is not an acceptable solution, this is what the legacy XORP SNMP support did. Table iterators are also another problem. Net-SNMP has an abstraction for this, but my research quickly uncovered the issue that proxying these to XRL requests isn't easy. State has to be saved for the iterator in a way which doesn't block out other parts of Net-SNMP from running, whilst the table index fetch is running. You quickly find that XRL is introducing unacceptable latency in the SNMP fetch just for the indexes themselves. So the regular Net-SNMP programming idioms can't be used as-is; some custom handlers are needed, and a clean way of exporting data structures, e.g. via shared memory. One alternative is to add SNMP instrumentation to each process as a loadable plugin DLL, and export each protocol's OID tree via AgentX, to an appropriate master agent. This is breaking the process boundaries in a way in which the original architects of XORP had hoped to avoid, but unfortunately, the nature of the problem means taking this kind of approach. From aleksandar.cvjetic at gmail.com Mon Jan 11 11:58:13 2010 From: aleksandar.cvjetic at gmail.com (Aleksandar Cvjetic) Date: Mon, 11 Jan 2010 20:58:13 +0100 Subject: [Xorp-hackers] problem compiling xorp - ubuntu In-Reply-To: <4B4B703A.60604@candelatech.com> References: <249ccfe91001031443n35e13d30nf664ccf7cb7257be@mail.gmail.com> <4B4625F1.4060603@candelatech.com> <249ccfe91001071038o3e35d8f2qf9f51b8da2de35c8@mail.gmail.com> <4B462CB1.6010107@candelatech.com> <249ccfe91001080304h8ac5abaqba50d6e45e75ca86@mail.gmail.com> <4B476FAE.1060100@candelatech.com> <249ccfe91001100842h10892c67hfa79e26a7be314a7@mail.gmail.com> <4B4A6844.30909@candelatech.com> <249ccfe91001111037y1b78b05i1cc3d77759ab609@mail.gmail.com> <4B4B703A.60604@candelatech.com> Message-ID: <249ccfe91001111158k61890cddoe8c5b0e7e99315a1@mail.gmail.com> To save everyone's time striving to install XORP SVN version on Ubuntu9.10, below is the list of packages that might be needed (among the rest) before successful installation: - scons toolset (apt-get install scons) - apt-get install libboost-regex-dev ( or apt-get install libboost-regex1.40-dev for boost1.4) - apt-get install libssl-dev - apt-get install libpcap-dev - apt-get install libncurses5-dev To compile and install: scons scons install at xorp top level directory. xorp_rtrmgr and xorpsh scripts needed to run XORP router are then placed in /usr/local/xorp/sbin: ./xorp_rtrmgr -b ./xorpsh rm -fr obj is needed if you fail to compile (as I did), to be sure next time it reconfigures and re-builds properly. Thanks to Ben, Alex On Mon, Jan 11, 2010 at 7:38 PM, Ben Greear wrote: > On 01/11/2010 10:37 AM, Aleksandar Cvjetic wrote: > >> Many thanks Ben! Finally It works. >> >> > Pls post a followup to the list so that others can learn how > you did it. > > Thanks, > Ben > > Thank you, >> Aleksndar >> >> >> >> On Mon, Jan 11, 2010 at 12:52 AM, Ben Greear > > wrote: >> >> On 01/10/2010 08:42 AM, Aleksandar Cvjetic wrote: >> >> Thanks Ben. It seems compilation passed well: >> >> ....................................................................... >> -lxst_bgp -lxst_fea_ifmgr_mirror -lxif_rib >> -lxif_finder_event_notifier >> -lxif_profile_client -lxif_fea_ifmgr_mirror >> -lxif_fea_ifmgr_replicator >> -lxorp_ipc -lxorp_core -lxorp_comm >> scons: done building targets. >> root at aleks:~/xorp.ct# >> >> But isn't neccessary for xorp_rtrmgr i xorpsh scripts to be >> under rtrmgr >> direct. after compilation to run them in order to start xorp? Or I >> haven't succeed yet .... >> >> >> scons install >> should do the trick I believe. >> >> That will put it in /usr/local/xorp/ >> >> Ben >> >> >> >> Thank you, >> Alex >> >> On Fri, Jan 8, 2010 at 6:47 PM, Ben Greear >> >> > >> >> wrote: >> >> On 01/08/2010 03:04 AM, Aleksandar Cvjetic wrote: >> >> Hi Ben, >> >> Unfortunatelly, still have the same problem. I installed >> boost >> 1.4 lib >> with: >> apt-get install libboost1.40-dev >> and try your command: >> root at aleks:~/xorp.ct# apt-get install >> libboost-regex1.40-dev >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> libboost-regex1.40-dev is already the newest version. >> 0 upgraded, 0 newly installed, 0 to remove and 0 not >> upgraded. >> and: >> >> >> You have to rm -fr obj >> to make sure it re-builds & re-configures everything properly. >> >> If it still fails, look at the config log in the obj/*/ dir and >> look for compile errors about boost. See if you can manually >> get those tests to pass (usually just need to compile a small >> test program). >> >> >> >> root at aleks:~/xorp.ct#scons >> ............................................... >> ............................................... >> gave me the same error as before. >> >> Have you found something helpfull from >> dpkg -l that I'm missing? >> >> >> I need to power my ubuntu machine back on and >> compare..haven't had >> time yet. >> >> >> Thanks, >> Ben >> >> >> -- >> Ben Greear > > >> >> >> >> Candela Technologies Inc http://www.candelatech.com >> >> >> >> >> -- >> Ben Greear > >> Candela Technologies Inc http://www.candelatech.com >> >> >> > > -- > Ben Greear > Candela Technologies Inc http://www.candelatech.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20100111/f6edf262/attachment.html From bms at incunabulum.net Tue Jan 12 03:56:43 2010 From: bms at incunabulum.net (Bruce Simpson) Date: Tue, 12 Jan 2010 11:56:43 +0000 Subject: [Xorp-hackers] problem compiling xorp - ubuntu In-Reply-To: <249ccfe91001111158k61890cddoe8c5b0e7e99315a1@mail.gmail.com> References: <249ccfe91001031443n35e13d30nf664ccf7cb7257be@mail.gmail.com> <4B4625F1.4060603@candelatech.com> <249ccfe91001071038o3e35d8f2qf9f51b8da2de35c8@mail.gmail.com> <4B462CB1.6010107@candelatech.com> <249ccfe91001080304h8ac5abaqba50d6e45e75ca86@mail.gmail.com> <4B476FAE.1060100@candelatech.com> <249ccfe91001100842h10892c67hfa79e26a7be314a7@mail.gmail.com> <4B4A6844.30909@candelatech.com> <249ccfe91001111037y1b78b05i1cc3d77759ab609@mail.gmail.com> <4B4B703A.60604@candelatech.com> <249ccfe91001111158k61890cddoe8c5b0e7e99315a1@mail.gmail.com> Message-ID: <4B4C637B.40700@incunabulum.net> On 11/01/2010 19:58, Aleksandar Cvjetic wrote: > To save everyone's time striving to install XORP SVN version on > Ubuntu9.10, below is the list of packages that might be needed (among > the rest) before successful installation: > > - scons toolset (apt-get install scons) > > - apt-get install libboost-regex-dev ( or apt-get install > libboost-regex1.40-dev for boost1.4) > > - apt-get install libssl-dev > - apt-get install libpcap-dev > > - apt-get install libncurses5-dev > Thanks to you and Ben for this useful summary. When I committed the Boost changes, I didn't realize that Boost-Regex was packaged separately in these Linux distributions. best, BMS -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20100112/c8f077aa/attachment.html From vincent.catros at laposte.net Wed Jan 27 12:38:01 2010 From: vincent.catros at laposte.net (Vincent) Date: Wed, 27 Jan 2010 21:38:01 +0100 Subject: [Xorp-hackers] XORP & OpenFlow Message-ID: <4B60A429.6000207@laposte.net> Hello, Are you aware of any works regarding XORP & OpenFlow. We would like to control an OpenFlow using XORP. Regards. Vincent From vincent.catros at laposte.net Wed Jan 27 12:40:08 2010 From: vincent.catros at laposte.net (Vincent) Date: Wed, 27 Jan 2010 21:40:08 +0100 Subject: [Xorp-hackers] XORP & NAT. Message-ID: <4B60A4A8.5010901@laposte.net> Hello, I would like to know if there are works in progress in order to add NAT functionality to XORP? Regards. Vincent