Looking at the errors closer I can now see that the problem comes from
you not enabling ipv6, my code assumes ipv6 is enabled. I will accept
a patch making my conde dependent on ipv6 config status.
On Mon, Oct 25, 2004 at 03:37:02AM -0000, laxman quagga wrote:
> ?
> Hi,
>
> Even I tried with 0.96.4 tree, But getting same error.
>
> and another thing I wanted know is that
>
> I am using patch file quagga-mpls.diff
>
> Is this ok
> OR
> any other patch is availble.
>
> why I am getting doubt is in one of the mail some one mentioned about ldp portable diff.
>
> But this one I could not find in ldp-portable-0.800
>
> Regards
> laxman
>
>
>
>
>
>
>
> On Fri, 22 Oct 2004 James R.Leu wrote :
> >Try using quagga 0.96.4. My patch is against a 0.96.4 tree.
> >
> >On Thu, Oct 21, 2004 at 04:21:53AM -0000, laxman quagga wrote:
> > > ?
> > >
> > >
> > > Hi,
> > >
> > >
> > > I am new user of quagga.
> > >
> > > I am using debian linux3.1
> > >
> > > I am having some problem with make.
> > >
> > >
> > > I downloaded quagga-0.96.5.tar.gz
> > >
> > >
> > > I applied quagga-mpls.diff to the quagga software
> > >
> > > then I am trying to compile by giving the make commnad
> > >
> > > But, i am getting the following error
> > >
> > > if gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I.
> > > I../lib -g -O2 -Wall -MT debug.o -MD -MP -MF ".deps/debug.Tpo
> > > -c -o debug.o `test -f 'debug.c' || echo './'`debug.c; \
> > > then mv -f ".deps/debug.Tpo" ".deps/debug.Po"; \
> > > else rm -f ".deps/debug.Tpo"; exit 1; \
> > > >fi
> > > >if gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I.
> > > >I../lib -g -O2 -Wall -MT sigevent.o -MD -MP -MF ".deps/sigeve
> > > > -c -o sigevent.o `test -f 'sigevent.c' || echo './'`sigevent.c
> > > >then mv -f ".deps/sigevent.Tpo" ".deps/sigevent.Po"; \
> > > >else rm -f ".deps/sigevent.Tpo"; exit 1; \
> > > >fi
> > > >rm -f libzebra.a
> > > >ar cru libzebra.a version.o network.o pid_output.o getopt.o geto
> > > >rint_version.o checksum.o vector.o linklist.o vty.o command.o so
> > > >.o thread.o if.o memory.o buffer.o table.o hash.o filter.o route
> > > >.o stream.o str.o log.o plist.o zclient.o sockopt.o smux.o md5.o
> > > >ain.o privs.o debug.o sigevent.o
> > > >ranlib libzebra.a
> > > >cd .. && /bin/sh ./config.status lib/version.h
> > > >config.status: creating lib/version.h
> > > >make[2]: Leaving directory `/usr/home/laxman/quagga-0.96.5/lib'
> > > >Making all in zebra
> > > >make[2]: Entering directory `/usr/home/laxman/quagga-0.96.5/zebr
> > > >cd .. && /bin/sh ./config.status zebra/Makefile depfiles
> > > >config.status: creating zebra/Makefile
> > > >config.status: executing depfiles commands
> > > >make[2]: Leaving directory `/usr/home/laxman/quagga-0.96.5/zebra
> > > >make[2]: Entering directory `/usr/home/laxman/quagga-0.96.5/zebr
> > > >if gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -DMULTIP
> > > >. -I.. -I.. -I.. -I../lib -g -O2 -Wall -MT zserv.o -MD -MP -M
> > > >po" \
> > > > -c -o zserv.o `test -f 'zserv.c' || echo './'`zserv.c; \
> > > >then mv -f ".deps/zserv.Tpo" ".deps/zserv.Po"; \
> > > >else rm -f ".deps/zserv.Tpo"; exit 1; \
> > > fi
> > > zserv.c: In function `zsend_mpls_out_segment_add':
> > > zserv.c:639: error: union has no member named `prefix6'
> > > zserv.c:639: error: union has no member named `ipv6'
> > > zserv.c: In function `zsend_mpls_out_segment_delete':
> > > zserv.c:681: error: union has no member named `prefix6'
> > > zserv.c:681: error: union has no member named `ipv6'
> > > zserv.c: In function `zsend_ipv4_nexthop_lookup':
> > > zserv.c:1119: error: multiple default labels in one switch
> > > zserv.c:1116: error: this is the first default label
> > > zserv.c: In function `zsend_ipv4_import_lookup':
> > > zserv.c:1182: error: multiple default labels in one switch
> > > zserv.c:1179: error: this is the first default label
> > > zserv.c: In function `zread_mpls_out_segment_add':
> > > zserv.c:1734: error: union has no member named `ipv6'
> > > zserv.c:1734: error: union has no member named `prefix6'
> > > zserv.c: In function `zread_mpls_out_segment_delete':
> > > zserv.c:1773: error: union has no member named `ipv6'
> > > zserv.c:1773: error: union has no member named `prefix6'
> > > make[2]: *** [zserv.o] Error 1
> > > make[2]: Leaving directory `/usr/home/laxman/quagga-0.96.5/zebra
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory `/usr/home/laxman/quagga-0.96.5'
> > > make: *** [all] Error 2
> > >
> > >
> >
> >--
> >James R. Leu
> >jl...@mi...
> >
> >
> >-------------------------------------------------------
> >This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> >Use IT products in your business? Tell us what you think of them. Give us
> >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
> >http://productguide.itmanagersjournal.com/guidepromo.tmpl
> >_______________________________________________
> >mpls-linux-general mailing list
> >mpl...@li...
> >https://lists.sourceforge.net/lists/listinfo/mpls-linux-general
--
James R. Leu
jl...@mi...
|