Re: [mpls-linux-general] Queations about compiling LDP for Quagga 0.99.6
Status: Beta
Brought to you by:
jleu
From: Adrian P. <adr...@gm...> - 2008-07-25 07:10:01
|
Hello, Try compiling quagga with --disable-ipv6 (or something similar). See ./configure --help for more details. On Mon, Jul 21, 2008 at 7:36 AM, Nguyen Anh Dung <se...@gm...> wrote: > Hi All, > > Sorry if this letter is not on the right mailing list. > > I'm trying to get ldp-portable 0.900 work with quagga 0.99.6 (I use this > version because it's recommended with ldp-portable 0.900, just see the > readme) so that I can test LDP on MPLS network. I do the following steps. > > 1. Compile quagga on Fedora Core 7 (my development system) > > There is an error of reference to type of '__x64' so that I make a change > in /usr/src/include/asm/types.h > > I change > > #if defined(__GNUC__) && !defined(__STRICT_ANSI__) > > typedef __signed__ long long __s64; > > typedef unsigned long long __u64; > > #endif > > > > to > > #if (defined(__GNUC__) && !defined(__STRICT_ANSI__)) || > defined(__USE_ISOC99) > > typedef __signed__ long long __s64; > > typedef unsigned long long __u64; > > #endif > > After that quagga 0.99.6 is compiled OK. > > 2. Patch quagga using quagga-mpls.diff > > quagga-0.99.6> patch p1 < /usr/src/ldp-portable.quagga-mpls.diff > > After that I the date for configure.ac, Makefile.in, and Makefile.am > > 3. Then I compile (e.g. make) quagga again and get the following > error > > … > > zebra_vty.c: In function "do_zebra_static_ipv4": > > zebra_vty.c:131: warning: cast discards qualifiers from pointer target type > > zebra_vty.c: At top level: > > zebra_vty.c:148: warning: no previous prototype for "zebra_static_ipv4" > > zebra_vty.c: In function "vty_show_ipv6_route": > > zebra_vty.c:2672: error: invalid storage class for function > ‘show_ipv6_route" > > zebra_vty.c:2672: error: "show_ipv6_route" undeclared (first use in this > function) > > zebra_vty.c:2672: error: (Each undeclared identifier is reported only once > > zebra_vty.c:2672: error: for each function it appears in.) > > zebra_vty.c:2678: error: invalid storage class for function > "show_ipv6_route" > > zebra_vty.c:2678: warning: no previous prototype for "show_ipv6_route" > > … > > There are much more errors but I just put the first one. One man has the > same error but no response, you can see it at: > http://lists.quagga.net/pipermail/quagga-users/2008-March/009443.html > > > > > > Did anyone face this problem please give me a hand. Thanks a lot! > > Dzung. > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > |