Thread: [mpls-linux-general] comminucate between two com. by ldp
Status: Beta
Brought to you by:
jleu
|
From: Farazad F. <Far...@sa...> - 2004-10-09 05:14:03
|
Hi all. I'm working on MPLS for linux project and use quagga-0.96.4 modefied by ldp-portable-0.800 . How do i communicate between two computer by ldp? please help me. best regards. |
|
From: Saravanan S. A. <sas...@gm...> - 2004-10-25 09:48:17
|
Hi, I am facing a compilation problem after patching quagga.0.96.4 with ldp-portable 0.800. The patch command I used is [sas:]/.../quagga> patch -p1 < $LDP_PATH/quagga-mpls.diff and then I modified the create_links and executed as mentioned. Then I have done ./configure and make. During 'make' I am facing the following problem: make[2]: Entering directory `$QUAGGA/zebra' source='zserv.c' object='zserv.o' libtool=no \ depfile='.deps/zserv.Po' tmpdepfile='.deps/zserv.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -DMULTIPATH_NUM=1 -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'zserv.c' || echo './'`zserv.c 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 `zread_mpls_out_segment_add': zserv.c:1725: error: union has no member named `ipv6' zserv.c:1725: error: union has no member named `prefix6' zserv.c: In function `zread_mpls_out_segment_delete': zserv.c:1764: error: union has no member named `ipv6' zserv.c:1764: error: union has no member named `prefix6' make[2]: *** [zserv.o] Error 1 make[2]: Leaving directory `$QUAGGA/zebra' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `$QUAGGA/q_96.4' make: *** [all] Error 2 Appreciate your early response. Thanks and Regards, Sas. |
|
From: James R. L. <jl...@mi...> - 2004-10-25 13:00:52
|
My code assumes ipv6 is enabled. Either enable IPv6 or submit a patch which makes the apropriate parts of my code dependent on ipv6 config status. On Mon, Oct 25, 2004 at 03:18:13PM +0530, Saravanan Shanmugasundaram Arunachalam wrote: > Hi, > > I am facing a compilation problem after patching quagga.0.96.4 with > ldp-portable 0.800. > > The patch command I used is > [sas:]/.../quagga> patch -p1 < $LDP_PATH/quagga-mpls.diff > > and then I modified the create_links and executed as mentioned. Then I have done > ./configure and make. During 'make' I am facing the following problem: > > make[2]: Entering directory `$QUAGGA/zebra' > source='zserv.c' object='zserv.o' libtool=no \ > depfile='.deps/zserv.Po' tmpdepfile='.deps/zserv.TPo' \ > depmode=gcc3 /bin/sh ../depcomp \ > gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -DMULTIPATH_NUM=1 > -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'zserv.c' > || echo './'`zserv.c > 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 `zread_mpls_out_segment_add': > zserv.c:1725: error: union has no member named `ipv6' > zserv.c:1725: error: union has no member named `prefix6' > zserv.c: In function `zread_mpls_out_segment_delete': > zserv.c:1764: error: union has no member named `ipv6' > zserv.c:1764: error: union has no member named `prefix6' > make[2]: *** [zserv.o] Error 1 > make[2]: Leaving directory `$QUAGGA/zebra' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `$QUAGGA/q_96.4' > make: *** [all] Error 2 > > Appreciate your early response. > > Thanks and Regards, > Sas. > > > ------------------------------------------------------- > 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... |
|
From: Saravanan S. A. <sas...@gm...> - 2004-10-25 10:03:50
|
I saw a related thread in the archive and thought 'update-autotools' might help me. But after running update-autotools, configure and during make, I got the following errors: make all-recursive make[1]: Entering directory `$QUAGGA' Making all in lib make[2]: Entering directory `$QUAGGA/lib' echo '' >version.c echo 'char *host_name = "";' >>version.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"$QUAGGE/etc/\" -I.. -I.. -I../lib -g -O2 -Wall -c version.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"$QUAGGE/etc/\" -I.. -I.. -I../lib -g -O2 -Wall -c zmpls.c zmpls.c: In function `mpls_out_segment_stream_write': zmpls.c:178: error: union has no member named `prefix6' zmpls.c: In function `mpls_out_segment_stream_read': zmpls.c:207: error: union has no member named `prefix6' make[2]: *** [zmpls.o] Error 1 make[2]: Leaving directory `$QUAGGA/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `$QUAGGA' make: *** [all-recursive-am] Error 2 Any help is appreciated. Thanks, Sas On Mon, 25 Oct 2004 15:18:13 +0530, Saravanan Shanmugasundaram Arunachalam <sas...@gm...> wrote: > Hi, > > I am facing a compilation problem after patching quagga.0.96.4 with > ldp-portable 0.800. > > The patch command I used is > [sas:]/.../quagga> patch -p1 < $LDP_PATH/quagga-mpls.diff > > and then I modified the create_links and executed as mentioned. Then I have done > ./configure and make. During 'make' I am facing the following problem: > > make[2]: Entering directory `$QUAGGA/zebra' > source='zserv.c' object='zserv.o' libtool=no \ > depfile='.deps/zserv.Po' tmpdepfile='.deps/zserv.TPo' \ > depmode=gcc3 /bin/sh ../depcomp \ > gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -DMULTIPATH_NUM=1 > -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'zserv.c' > || echo './'`zserv.c > 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 `zread_mpls_out_segment_add': > zserv.c:1725: error: union has no member named `ipv6' > zserv.c:1725: error: union has no member named `prefix6' > zserv.c: In function `zread_mpls_out_segment_delete': > zserv.c:1764: error: union has no member named `ipv6' > zserv.c:1764: error: union has no member named `prefix6' > make[2]: *** [zserv.o] Error 1 > make[2]: Leaving directory `$QUAGGA/zebra' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `$QUAGGA/q_96.4' > make: *** [all] Error 2 > > Appreciate your early response. > > Thanks and Regards, > Sas. > -- - Saravanan |
|
From: Saravanan S. A. <sas...@gm...> - 2004-10-25 11:20:34
|
Hi All, I guess I have found the problem. Please correct me, if I am wrong. In some places, the macro HAVE_IPV6 is not checked and in some places it's checked. Due to this some of the data structures are not declared but are used in the code (ex, prefix6) and hence the compilation problem. I manually put #ifdef HAVE_IPV6 and could compile. Regards, Sas. On Mon, 25 Oct 2004 15:33:47 +0530, Saravanan Shanmugasundaram Arunachalam <sas...@gm...> wrote: > I saw a related thread in the archive and thought 'update-autotools' > might help me. But after running update-autotools, configure and > during make, I got the following errors: > > make all-recursive > make[1]: Entering directory `$QUAGGA' > Making all in lib > make[2]: Entering directory `$QUAGGA/lib' > echo '' >version.c > echo 'char *host_name = "";' >>version.c > gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"$QUAGGE/etc/\" -I.. -I.. -I../lib > -g -O2 -Wall -c version.c > gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"$QUAGGE/etc/\" -I.. -I.. -I../lib > -g -O2 -Wall -c zmpls.c > zmpls.c: In function `mpls_out_segment_stream_write': > zmpls.c:178: error: union has no member named `prefix6' > zmpls.c: In function `mpls_out_segment_stream_read': > zmpls.c:207: error: union has no member named `prefix6' > make[2]: *** [zmpls.o] Error 1 > make[2]: Leaving directory `$QUAGGA/lib' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `$QUAGGA' > make: *** [all-recursive-am] Error 2 > > Any help is appreciated. > > Thanks, > Sas > > > > On Mon, 25 Oct 2004 15:18:13 +0530, Saravanan Shanmugasundaram > Arunachalam <sas...@gm...> wrote: > > Hi, > > > > I am facing a compilation problem after patching quagga.0.96.4 with > > ldp-portable 0.800. > > > > The patch command I used is > > [sas:]/.../quagga> patch -p1 < $LDP_PATH/quagga-mpls.diff > > > > and then I modified the create_links and executed as mentioned. Then I have done > > ./configure and make. During 'make' I am facing the following problem: > > > > make[2]: Entering directory `$QUAGGA/zebra' > > source='zserv.c' object='zserv.o' libtool=no \ > > depfile='.deps/zserv.Po' tmpdepfile='.deps/zserv.TPo' \ > > depmode=gcc3 /bin/sh ../depcomp \ > > gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -DMULTIPATH_NUM=1 > > -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'zserv.c' > > || echo './'`zserv.c > > 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 `zread_mpls_out_segment_add': > > zserv.c:1725: error: union has no member named `ipv6' > > zserv.c:1725: error: union has no member named `prefix6' > > zserv.c: In function `zread_mpls_out_segment_delete': > > zserv.c:1764: error: union has no member named `ipv6' > > zserv.c:1764: error: union has no member named `prefix6' > > make[2]: *** [zserv.o] Error 1 > > make[2]: Leaving directory `$QUAGGA/zebra' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `$QUAGGA/q_96.4' > > make: *** [all] Error 2 > > > > Appreciate your early response. > > > > Thanks and Regards, > > Sas. > > > > > -- > - Saravanan > -- - Saravanan |