Sorry for bothering, now I have this problem after running scons: r...@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. r...@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 <[email protected]> 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 <[email protected] >> <mailto:[email protected]>> 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 <[email protected] <mailto:[email protected]>> >> >> Candela Technologies Inc http://www.candelatech.com >> >> >> > > -- > Ben Greear <[email protected]> > Candela Technologies Inc http://www.candelatech.com >
_______________________________________________ Xorp-hackers mailing list [email protected] http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
