Re: [mpls-linux-devel] mpls-quagga git repo on repo.or.cz
Status: Beta
Brought to you by:
jleu
From: <win...@fr...> - 2010-01-26 03:30:03
|
Hello James, I have tried to compile the new mpls-quagga but still not success. When I try git://repo.or.cz/mpls-quagga.git, I received following error if I patch -p1 < ../mpls-ldp-portable/quagga-mpls.diff patching file lib/memtypes.c Hunk #2 succeeded at 244 (offset 2 lines). Hunk #3 succeeded at 272 (offset 2 lines). can't find file to patch at input line 34953 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -uNr --exclude=.p4config --exclude=make-rpm-jleu --exclude=update-from-kernel.sh quagga/lib/memtypes.h quagga-mpls/lib/memtypes.h |--- quagga/lib/memtypes.h 2007-05-07 09:25:54.000000000 -0500 |+++ quagga-mpls/lib/memtypes.h 2008-02-21 22:43:39.000000000 -0600 -------------------------- File to patch: So I change to use mpls-master snatshot afe0e1617a7fe5adc5aca14642f3d317e96d5246.tar.gz, after make return following error, gcc -fPIE -Os -fno-omit-frame-pointer -g -std=gnu99 -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wcast-qual -pie -o .libs/zebra zserv.o main.o interface.o connected.o zebra_rib.o zebra_routemap.o redistribute.o debug.o rtadv.o zebra_snmp.o zebra_vty.o irdp_main.o irdp_interface.o irdp_packet.o router-id.o if_vlan.o if_tunnel.o mpls_vty.o mpls_lib.o ioctl.o ipforward_proc.o if_netlink.o netlink.o rt_netlink.o rtread_netlink.o ../lib/.libs/libzebra.so -lcrypt -lrt ../lib/.libs/libzebra.so: undefined reference to `check_bit' collect2: ld returned 1 exit status make[2]: *** [zebra] Error 1 make[2]: Leaving directory `/usr/src/mpls-quagga/zebra' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/mpls-quagga' make: *** [all] Error 2 Any suggestion? Thanks, Wind Quoting James Leu <jl...@mi...>: > Hello all, > > I've rebuilt the mpls-quagga mirror on repo.or.cz. If you > have a clone of that repo you will want to delete it and > get a new one. > > git://repo.or.cz/mpls-quagga.git > > Thier as many branches in that repo. The ones that matter: > > jleu-master -> what I consider HEAD of line quagga > netlink-master -> my netlink changes on top of jleu-master > nexthop-master -> my nexthop changes on top of jleu-master > plus-master -> merger of netlink-master and nexthop-master plus extra bits > mpls-master -> MPLS related changes on top of plus-master > > > -- > James R. Leu > jl...@mi... > |