mpls-linux-general Mailing List for MPLS for Linux (Page 121)
Status: Beta
Brought to you by:
jleu
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
(26) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(22) |
Feb
(19) |
Mar
(19) |
Apr
(45) |
May
(52) |
Jun
(101) |
Jul
(79) |
Aug
(24) |
Sep
(43) |
Oct
(54) |
Nov
(71) |
Dec
(53) |
| 2002 |
Jan
(111) |
Feb
(123) |
Mar
(67) |
Apr
(61) |
May
(75) |
Jun
(26) |
Jul
(36) |
Aug
(41) |
Sep
(79) |
Oct
(85) |
Nov
(58) |
Dec
(39) |
| 2003 |
Jan
(26) |
Feb
(61) |
Mar
(80) |
Apr
(56) |
May
(39) |
Jun
(44) |
Jul
(28) |
Aug
(25) |
Sep
(4) |
Oct
(20) |
Nov
(38) |
Dec
(9) |
| 2004 |
Jan
(14) |
Feb
(14) |
Mar
(68) |
Apr
(17) |
May
(45) |
Jun
(42) |
Jul
(41) |
Aug
(23) |
Sep
(46) |
Oct
(89) |
Nov
(55) |
Dec
(33) |
| 2005 |
Jan
(74) |
Feb
(39) |
Mar
(105) |
Apr
(96) |
May
(43) |
Jun
(48) |
Jul
(21) |
Aug
(22) |
Sep
(33) |
Oct
(28) |
Nov
(29) |
Dec
(81) |
| 2006 |
Jan
(37) |
Feb
(32) |
Mar
(147) |
Apr
(37) |
May
(33) |
Jun
(28) |
Jul
(15) |
Aug
(20) |
Sep
(15) |
Oct
(23) |
Nov
(30) |
Dec
(40) |
| 2007 |
Jan
(20) |
Feb
(24) |
Mar
(65) |
Apr
(69) |
May
(41) |
Jun
(53) |
Jul
(39) |
Aug
(76) |
Sep
(53) |
Oct
(43) |
Nov
(26) |
Dec
(24) |
| 2008 |
Jan
(19) |
Feb
(67) |
Mar
(91) |
Apr
(75) |
May
(47) |
Jun
(63) |
Jul
(68) |
Aug
(39) |
Sep
(44) |
Oct
(33) |
Nov
(62) |
Dec
(84) |
| 2009 |
Jan
(14) |
Feb
(39) |
Mar
(55) |
Apr
(63) |
May
(16) |
Jun
(9) |
Jul
(4) |
Aug
(6) |
Sep
(1) |
Oct
(2) |
Nov
(10) |
Dec
(5) |
| 2010 |
Jan
(3) |
Feb
(1) |
Mar
(5) |
Apr
(13) |
May
(4) |
Jun
(5) |
Jul
(2) |
Aug
(8) |
Sep
(6) |
Oct
(1) |
Nov
(2) |
Dec
(2) |
| 2011 |
Jan
(1) |
Feb
(21) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
(6) |
Sep
|
Oct
|
Nov
(2) |
Dec
(6) |
| 2012 |
Jan
(5) |
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(5) |
Aug
(3) |
Sep
(6) |
Oct
|
Nov
|
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
|
From: <e7...@ti...> - 2003-02-14 10:05:01
|
__________________________________________________________________ Tiscali ADSL parte da 6,1 euro al mese e in pi=F9 l'attivazione e il primo mese sono GRATIS! Vai all'offerta, oppure scopri di che ADSL sei con il test on line. http://point.tiscali.it/adsl |
|
From: <e7...@ti...> - 2003-02-14 10:01:59
|
Hi everybody Where i can find sources of MPLS on Linux,source file,compilers and so on= ? I'm new in this word Thanks Edoardo __________________________________________________________________ Tiscali ADSL parte da 6,1 euro al mese e in pi=F9 l'attivazione e il primo mese sono GRATIS! Vai all'offerta, oppure scopri di che ADSL sei con il test on line. http://point.tiscali.it/adsl |
|
From: <e7...@ti...> - 2003-02-14 09:53:33
|
Hi everybody I'm new in this mailing list. I'm studying MPLS on Linux. I would know how can i use MPLS on Linux above all for QoS. Could you help me? Thanks= . Can you explain what is MPLS on Linux and what could i do to contribute at trhis project. Thanks for all Edoardo __________________________________________________________________ Tiscali ADSL parte da 6,1 euro al mese e in pi=F9 l'attivazione e il primo mese sono GRATIS! Vai all'offerta, oppure scopri di che ADSL sei con il test on line. http://point.tiscali.it/adsl |
|
From: Christophe F. <cf...@ut...> - 2003-02-14 08:01:15
|
On Fri, 14 Feb 2003, nerdboy wrote:
Hello,
> here's a macro i came across in the mpls linux code
>
> define INIT_LIST_HEAD(ptr) do { \
> (ptr)->next = (ptr); (ptr)->prev = (ptr); \
> } while (0)
>
> at the risk of sounding prude,
> why is it that the initialization statements were enclosed in braces with a
> while(0) ?
>
> couldn't it be simply written as
>
> define INIT_LIST_HEAD(ptr) (ptr)->next = (ptr); (ptr)->prev = (ptr);
Think to something like that:
if (ptr != NULL)
INIT_LIST_HEAD(ptr);
Without the do { ... }while(0) statement, the second instruction would
be outside the "if".
> or does enclosing it in a one time do-while serve any purpose ?
>
> many many thanks in advance
> nerd
|
|
From: nerdboy <ne...@re...> - 2003-02-14 07:19:36
|
here's a macro i came across in the mpls linux code
define INIT_LIST_HEAD(ptr) do { \
(ptr)->next = (ptr); (ptr)->prev = (ptr); \
} while (0)
at the risk of sounding prude,
why is it that the initialization statements were enclosed in braces with a
while(0) ?
couldn't it be simply written as
define INIT_LIST_HEAD(ptr) (ptr)->next = (ptr); (ptr)->prev = (ptr);
or does enclosing it in a one time do-while serve any purpose ?
many many thanks in advance
nerd
|
|
From: James R. L. <jl...@mi...> - 2003-02-11 14:32:45
|
On Mon, Feb 10, 2003 at 10:10:07PM -0800, Simon Han wrote: > Hello MPLS-Linux people, > We are wondering if anyone has configured zebra/bgp with > mpls-linux. We have been trying to configure the following topology > > 1 2 3 4 5 > (client)-----(BGP+MPLS)-----(BGP)-----(BGP+MPLS)-----(client) > > and we hope to create a tunnel from 2 to 4. The plan is to run MPLS at 2, > 3, 4; and run OSPF between 1,2 and 4,5. We have downloaded BGP and > configured it working at node 2, 3, and 4. We have also downloaded and > installed ldp, mpls-linux, and iproute2. So far, we have not been able to > create the tunnel we like. > > Could someone tell us if above setup is possible in current mpls-linux? No. The main reason is the lack of integration of all of the differnt peices. All of the pieces exist, but haven't been integrated yet. You're missing one peice in your setup, the CE pointing VRFs. One of my other projects provides that functionality. (http://sf.net/projects/linux-vrf/). > Thanks in advance, > Simon > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu |
|
From: Simon H. <sim...@ee...> - 2003-02-11 06:10:35
|
Hello MPLS-Linux people, We are wondering if anyone has configured zebra/bgp with mpls-linux. We have been trying to configure the following topology 1 2 3 4 5 (client)-----(BGP+MPLS)-----(BGP)-----(BGP+MPLS)-----(client) and we hope to create a tunnel from 2 to 4. The plan is to run MPLS at 2, 3, 4; and run OSPF between 1,2 and 4,5. We have downloaded BGP and configured it working at node 2, 3, and 4. We have also downloaded and installed ldp, mpls-linux, and iproute2. So far, we have not been able to create the tunnel we like. Could someone tell us if above setup is possible in current mpls-linux? Thanks in advance, Simon |
|
From: James R. L. <jl...@mi...> - 2003-02-04 15:17:56
|
If you read the docs, you would understand that ldp-portable by itself is just a library. You need to use it with something. For example I have provided a patch that allows you to use it with zebra. On Mon, Feb 03, 2003 at 10:46:12PM +0100, SJ...@te... wrote: > > > Hi James, > > maybe i did not explain the problem correctly, i had allready read the > docs but did not see any info about ldp-portable compile. > > Im allready running a mpls-1.1 kernel with mplsadm2 succesfully > compiled, the docs you told me about does not help me to resolv > the failling compilation. > > Regards > > ----- Mensaje Original ----- > De: "James R. Leu" <jl...@mi...> > Fecha: Lunes, Febrero 3, 2003 11:21 pm > Asunto: Re: [mpls-linux-general] Ldp portable compilation fails > > Return-Path: <jl...@ne...> > Received: from telesmtp2.mail.isp ([10.20.4.62]) by > mb41.terra.es (terra.es) with ESMTP id H9R1ZQ02.WTW for > <sj...@te...>; Mon, 3 Feb 2003 21:23:50 +0100 > Received: from nero.doit.wisc.edu ([128.104.17.130]) by > telesmtp2.mail.isp (terra.es) with ESMTP id H9R1ZQ01.WJV for > <SJ...@te...>; Mon, 3 Feb 2003 21:23:50 +0100 > Received: (from jleu@localhost) > by nero.doit.wisc.edu (8.11.6/8.11.6) id h13MLPG13586; > Mon, 3 Feb 2003 16:21:25 -0600 > Date: Mon, 3 Feb 2003 16:21:24 -0600 > From: "James R. Leu" <jl...@mi...> > To: "SJ...@te..." <SJ...@te...> > Cc: mpl...@li... > Subject: Re: [mpls-linux-general] Ldp portable compilation fails > Message-ID: <200...@ne...> > Reply-To: jl...@mi... > References: <1bd...@te...> > Mime-Version: 1.0 > Content-Type: text/plain; charset=us-ascii > X-Mailer: Mutt 1.0.1i > In-Reply-To: <1bd...@te...>; from SJ...@te... on Sat, Feb 01, 2003 at 07:29:23PM +0100 > Organization: none > > On Sat, Feb 01, 2003 at 07:29:23PM +0100, SJ...@te... wrote: > > > > > > Hi all, > > > > i have succesfully applied the mpls-linux patch to a 2.4.18 kernel, onto > > a redhat 8 linux recompiled the kernbel and compiled mplsadm2 > > succesfully, but cant get ldp compilation to work. > > Hello. > > Start by reading ldp-portable/README, which will point you to > ldp-portable/README.zebra-ldp. Along the way you will probably have > to read mpls-linux/README.1st.really > > Good luck. > > > > > Im trying to compile it under the lsr dir because its the only one that > > have a Makefile inside, but im getting this error msg: > > > > * This is my CFLAGS envar > > > > CFLAGS -g -I. -I/usr/src/ldp-portable/common -I/usr/src/linux > > > > > > In file included from lsr_struct.h:14, > > from lsr_global.c:10: > > /usr/src/ldp-portable/common/mpls_struct.h:16:30: mpls_handle_type.h: No > > such file or directory > > In file included from lsr_struct.h:14, > > from lsr_global.c:10: > > /usr/src/ldp-portable/common/mpls_struct.h:127: parse error before "uint8_t" > > cc1: warnings being treated as errors > > /usr/src/ldp-portable/common/mpls_struct.h:127: warning: no semicolon at > > end of struct or union > > /usr/src/ldp-portable/common/mpls_struct.h:127: warning: no semicolon at > > end of struct or union > > /usr/src/ldp-portable/common/mpls_struct.h:128: warning: type defaults > > to `int' in declaration of `ipv4' > > /usr/src/ldp-portable/common/mpls_struct.h:128: warning: data definition > > has no type or storage class > > /usr/src/ldp-portable/common/mpls_struct.h:129: warning: type defaults > > to `int' in declaration of `u' > > /usr/src/ldp-portable/common/mpls_struct.h:129: warning: data definition > > has no type or storage class > > /usr/src/ldp-portable/common/mpls_struct.h:130: parse error before '}' token > > /usr/src/ldp-portable/common/mpls_struct.h:130: warning: type defaults > > to `int' in declaration of `mpls_inet_addr' > > /usr/src/ldp-portable/common/mpls_struct.h:130: warning: data definition > > has no type or storage class > > /usr/src/ldp-portable/common/mpls_struct.h:133: field `addr' has > > incomplete type > > /usr/src/ldp-portable/common/mpls_struct.h:134: parse error before > > "uint16_t" > > /usr/src/ldp-portable/common/mpls_struct.h:134: warning: no semicolon at > > end of struct or union > > /usr/src/ldp-portable/common/mpls_struct.h:135: warning: type defaults > > to `int' in declaration of `if_handle' > > /usr/src/ldp-portable/common/mpls_struct.h:135: warning: data definition > > has no type or storage class > > /usr/src/ldp-portable/common/mpls_struct.h:136: warning: type defaults > > to `int' in declaration of `mpls_dest' > > /usr/src/ldp-portable/common/mpls_struct.h:136: warning: data definition > > has no type or storage class > > /usr/src/ldp-portable/common/mpls_struct.h:143: parse error before > > "uint16_t" > > /usr/src/ldp-portable/common/mpls_struct.h:143: warning: no semicolon at > > end of struct or union > > /usr/src/ldp-portable/common/mpls_struct.h:143: warning: no semicolon at > > end of struct or union > > /usr/src/ldp-portable/common/mpls_struct.h:144: warning: no semicolon at > > end of struct or union > > /usr/src/ldp-portable/common/mpls_struct.h:145: warning: type defaults > > to `int' in declaration of `atm' > > /usr/src/ldp-portable/common/mpls_struct.h:145: warning: data definition > > has no type or storage class > > /usr/src/ldp-portable/common/mpls_struct.h:146: parse error before "gen" > > /usr/src/ldp-portable/common/mpls_struct.h:146: warning: type defaults > > to `int' in declaration of `gen' > > /usr/src/ldp-portable/common/mpls_struct.h:146: warning: data definition > > has no type or storage class > > /usr/src/ldp-portable/common/mpls_struct.h:147: parse error before "fr" > > /usr/src/ldp-portable/common/mpls_struct.h:147: warning: type defaults > > to `int' in declaration of `fr' > > /usr/src/ldp-portable/common/mpls_struct.h:147: warning: data definition > > has no type or storage class > > /usr/src/ldp-portable/common/mpls_struct.h:148: warning: type defaults > > to `int' in declaration of `max' > > /usr/src/ldp-portable/common/mpls_struct.h:148: warning: type defaults > > to `int' in declaration of `min' > > /usr/src/ldp-portable/common/mpls_struct.h:148: warning: data definition > > has no type or storage class > > /usr/src/ldp-portable/common/mpls_struct.h:149: parse error before '}' token > > /usr/src/ldp-portable/common/mpls_struct.h:149: warning: type defaults > > to `int' in declaration of `mpls_range' > > /usr/src/ldp-portable/common/mpls_struct.h:149: warning: data definition > > has no type or storage class > > /usr/src/ldp-portable/common/mpls_struct.h:168: field `ip' has > > incomplete type > > /usr/src/ldp-portable/common/mpls_struct.h:170: field `ip' has > > incomplete type > > /usr/src/ldp-portable/common/mpls_struct.h:171: parse error before > > "mpls_if_handle" > > /usr/src/ldp-portable/common/mpls_struct.h:171: warning: no semicolon at > > end of struct or union > > /usr/src/ldp-portable/common/mpls_struct.h:171: warning: no semicolon at > > end of struct or union > > /usr/src/ldp-portable/common/mpls_struct.h:173: parse error before > > "if_handle" > > /usr/src/ldp-portable/common/mpls_struct.h:173: warning: type defaults > > to `int' in declaration of `if_handle' > > /usr/src/ldp-portable/common/mpls_struct.h:173: warning: data definition > > has no type or storage class > > /usr/src/ldp-portable/common/mpls_struct.h:174: warning: type defaults > > to `int' in declaration of `u' > > /usr/src/ldp-portable/common/mpls_struct.h:174: warning: data definition > > has no type or storage class > > /usr/src/ldp-portable/common/mpls_struct.h:175: parse error before '}' token > > /usr/src/ldp-portable/common/mpls_struct.h:175: warning: type defaults > > to `int' in declaration of `mpls_nexthop' > > /usr/src/ldp-portable/common/mpls_struct.h:175: warning: data definition > > has no type or storage class > > /usr/src/ldp-portable/common/mpls_struct.h:181: field `network' has > > incomplete type > > /usr/src/ldp-portable/common/mpls_struct.h:182: parse error before "uint8_t" > > /usr/src/ldp-portable/common/mpls_struct.h:182: warning: no semicolon at > > end of struct or union > > /usr/src/ldp-portable/common/mpls_struct.h:182: warning: no semicolon at > > end of struct or union > > /usr/src/ldp-portable/common/mpls_struct.h:186: parse error before > > "uint32_t" > > /usr/src/ldp-portable/common/mpls_struct.h:186: warning: no semicolon at > > end of struct or union > > /usr/src/ldp-portable/common/mpls_struct.h:187: warning: type defaults > > to `int' in declaration of `group_id' > > /usr/src/ldp-portable/common/mpls_struct.h:187: warning: data definition > > has no type or storage class > > /usr/src/ldp-portable/common/mpls_struct.h:188: parse error before "type" > > /usr/src/ldp-portable/common/mpls_struct.h:188: warning: type defaults > > to `int' in declaration of `type' > > /usr/src/ldp-portable/common/mpls_struct.h:188: warning: data definition > > has no type or storage class > > /usr/src/ldp-portable/common/mpls_struct.h:189: warning: type defaults > > to `int' in declaration of `l2cc' > > /usr/src/ldp-portable/common/mpls_struct.h:189: warning: data definition > > has no type or storage class > > /usr/src/ldp-portable/common/mpls_struct.h:190: parse error before '}' token > > /usr/src/ldp-portable/common/mpls_struct.h:190: warning: type defaults > > to `int' in declaration of `u' > > /usr/src/ldp-portable/common/mpls_struct.h:190: warning: data definition > > has no type or storage class > > /usr/src/ldp-portable/common/mpls_struct.h:193: parse error before '}' token > > /usr/src/ldp-portable/common/mpls_struct.h:193: warning: type defaults > > to `int' in declaration of `mpls_fec' > > /usr/src/ldp-portable/common/mpls_struct.h:193: warning: data definition > > has no type or storage class > > /usr/src/ldp-portable/common/mpls_struct.h:197: parse error before > > "uint32_t" > > /usr/src/ldp-portable/common/mpls_struct.h:197: warning: no semicolon at > > end of struct or union > > /usr/src/ldp-portable/common/mpls_struct.h:198: warning: type defaults > > to `int' in declaration of `labelspace' > > /usr/src/ldp-portable/common/mpls_struct.h:198: warning: data definition > > has no type or storage class > > /usr/src/ldp-portable/common/mpls_struct.h:199: parse error before "family" > > /usr/src/ldp-portable/common/mpls_struct.h:199: warning: type defaults > > to `int' in declaration of `family' > > /usr/src/ldp-portable/common/mpls_struct.h:199: warning: data definition > > has no type or storage class > > /usr/src/ldp-portable/common/mpls_struct.h:200: parse error before "handle" > > /usr/src/ldp-portable/common/mpls_struct.h:200: warning: type defaults > > to `int' in declaration of `handle' > > /usr/src/ldp-portable/common/mpls_struct.h:200: warning: data definition > > has no type or storage class > > /usr/src/ldp-portable/common/mpls_struct.h:202: parse error before '}' token > > /usr/src/ldp-portable/common/mpls_struct.h:202: warning: type defaults > > to `int' in declaration of `mpls_insegment' > > /usr/src/ldp-portable/common/mpls_struct.h:202: warning: data definition > > has no type or storage class > > /usr/src/ldp-portable/common/mpls_struct.h:208: parse error before > > "mpls_outsegment_handle" > > /usr/src/ldp-portable/common/mpls_struct.h:208: warning: no semicolon at > > end of struct or union > > /usr/src/ldp-portable/common/mpls_struct.h:210: parse error before '}' token > > /usr/src/ldp-portable/common/mpls_struct.h:210: warning: type defaults > > to `int' in declaration of `mpls_outsegment' > > /usr/src/ldp-portable/common/mpls_struct.h:210: warning: data definition > > has no type or storage class > > /usr/src/ldp-portable/common/mpls_struct.h:213: parse error before > > "uint32_t" > > /usr/src/ldp-portable/common/mpls_struct.h:213: warning: no semicolon at > > end of struct or union > > /usr/src/ldp-portable/common/mpls_struct.h:214: warning: type defaults > > to `int' in declaration of `stack_size' > > /usr/src/ldp-portable/common/mpls_struct.h:214: warning: data definition > > has no type or storage class > > /usr/src/ldp-portable/common/mpls_struct.h:217: parse error before "handle" > > /usr/src/ldp-portable/common/mpls_struct.h:217: warning: type defaults > > to `int' in declaration of `handle' > > /usr/src/ldp-portable/common/mpls_struct.h:217: warning: data definition > > has no type or storage class > > /usr/src/ldp-portable/common/mpls_struct.h:219: parse error before '}' token > > /usr/src/ldp-portable/common/mpls_struct.h:219: warning: type defaults > > to `int' in declaration of `mpls_xconnect' > > /usr/src/ldp-portable/common/mpls_struct.h:219: warning: data definition > > has no type or storage class > > In file included from lsr_global.c:10: > > lsr_struct.h:15:29: lsr_handle_type.h: No such file or directory > > lsr_struct.h:30:30: mpls_handle_type.h: No such file or directory > > In file included from lsr_global.c:10: > > lsr_struct.h:33: parse error before "uint32_t" > > lsr_struct.h:33: warning: no semicolon at end of struct or union > > lsr_struct.h:38: parse error before "index" > > lsr_struct.h:38: warning: type defaults to `int' in declaration of `index' > > lsr_struct.h:38: warning: built-in function `index' declared as non-function > > lsr_struct.h:38: warning: data definition has no type or storage class > > lsr_struct.h:41: parse error before '}' token > > lsr_struct.h:41: warning: type defaults to `int' in declaration of > > `lsr_insegment' > > lsr_struct.h:41: warning: data definition has no type or storage class > > lsr_struct.h:44: parse error before "uint32_t" > > lsr_struct.h:44: warning: no semicolon at end of struct or union > > lsr_struct.h:45: conflicting types for `_global' > > lsr_struct.h:35: previous declaration of `_global' > > lsr_struct.h:50: parse error before "index" > > lsr_struct.h:50: warning: type defaults to `int' in declaration of `index' > > lsr_struct.h:50: warning: data definition has no type or storage class > > lsr_struct.h:51: conflicting types for `info' > > lsr_struct.h:39: previous declaration of `info' > > lsr_struct.h:55: parse error before "if_index" > > lsr_struct.h:55: warning: type defaults to `int' in declaration of > > `if_index' > > lsr_struct.h:55: warning: data definition has no type or storage class > > lsr_struct.h:56: warning: type defaults to `int' in declaration of > > `lsr_outsegment' > > lsr_struct.h:56: warning: data definition has no type or storage class > > lsr_struct.h:59: parse error before "uint32_t" > > lsr_struct.h:59: warning: no semicolon at end of struct or union > > lsr_struct.h:60: conflicting types for `_outsegment' > > lsr_struct.h:34: previous declaration of `_outsegment' > > lsr_struct.h:62: conflicting types for `_global' > > lsr_struct.h:45: previous declaration of `_global' > > lsr_struct.h:64: parse error before "index" > > lsr_struct.h:64: warning: type defaults to `int' in declaration of `index' > > lsr_struct.h:64: warning: data definition has no type or storage class > > lsr_struct.h:65: conflicting types for `info' > > lsr_struct.h:51: previous declaration of `info' > > lsr_struct.h:70: parse error before "outsegment_index" > > lsr_struct.h:70: warning: type defaults to `int' in declaration of > > `outsegment_index' > > lsr_struct.h:70: warning: data definition has no type or storage class > > lsr_struct.h:71: parse error before "insegment_index" > > lsr_struct.h:71: warning: type defaults to `int' in declaration of > > `insegment_index' > > lsr_struct.h:71: warning: data definition has no type or storage class > > lsr_struct.h:72: warning: type defaults to `int' in declaration of > > `lsr_xconnect' > > lsr_struct.h:72: warning: data definition has no type or storage class > > lsr_struct.h:75: parse error before "uint32_t" > > lsr_struct.h:75: warning: no semicolon at end of struct or union > > lsr_struct.h:76: conflicting types for `_outsegment' > > lsr_struct.h:60: previous declaration of `_outsegment' > > lsr_struct.h:77: conflicting types for `_global' > > lsr_struct.h:62: previous declaration of `_global' > > lsr_struct.h:79: parse error before "index" > > lsr_struct.h:79: warning: type defaults to `int' in declaration of `index' > > lsr_struct.h:79: warning: data definition has no type or storage class > > lsr_struct.h:80: parse error before "fec" > > lsr_struct.h:80: warning: type defaults to `int' in declaration of `fec' > > lsr_struct.h:80: warning: data definition has no type or storage class > > lsr_struct.h:84: parse error before "outsegment_index" > > lsr_struct.h:84: warning: type defaults to `int' in declaration of > > `outsegment_index' > > lsr_struct.h:84: warning: data definition has no type or storage class > > lsr_struct.h:85: warning: type defaults to `int' in declaration of `lsr_ftn' > > lsr_struct.h:85: warning: data definition has no type or storage class > > lsr_struct.h:88: parse error before "uint32_t" > > lsr_struct.h:88: warning: no semicolon at end of struct or union > > lsr_struct.h:89: conflicting types for `_global' > > lsr_struct.h:77: previous declaration of `_global' > > lsr_struct.h:92: parse error before "index" > > lsr_struct.h:92: warning: type defaults to `int' in declaration of `index' > > lsr_struct.h:92: warning: data definition has no type or storage class > > lsr_struct.h:95: parse error before "handle" > > lsr_struct.h:95: warning: type defaults to `int' in declaration of `handle' > > lsr_struct.h:95: warning: data definition has no type or storage class > > lsr_struct.h:97: warning: type defaults to `int' in declaration of `lsr_if' > > lsr_struct.h:97: warning: data definition has no type or storage class > > lsr_struct.h:106: parse error before "mpls_lock_handle" > > lsr_struct.h:106: warning: no semicolon at end of struct or union > > lsr_struct.h:107: warning: type defaults to `int' in declaration of > > `user_data' > > lsr_struct.h:107: warning: data definition has no type or storage class > > lsr_struct.h:109: parse error before "ifmgr_handle" > > lsr_struct.h:109: warning: type defaults to `int' in declaration of > > `ifmgr_handle' > > lsr_struct.h:109: warning: data definition has no type or storage class > > lsr_struct.h:110: parse error before "mpls_handle" > > lsr_struct.h:110: warning: type defaults to `int' in declaration of > > `mpls_handle' > > lsr_struct.h:110: warning: data definition has no type or storage class > > lsr_struct.h:113: parse error before '}' token > > lsr_struct.h:113: warning: type defaults to `int' in declaration of > > `lsr_global' > > lsr_struct.h:113: warning: data definition has no type or storage class > > In file included from lsr_global.c:11: > > lsr_global.h:15: parse error before '*' token > > lsr_global.h:15: parse error before "data" > > lsr_global.h:15: warning: type defaults to `int' in declaration of > > `lsr_global_create' > > lsr_global.h:15: warning: data definition has no type or storage class > > lsr_global.h:16: parse error before '*' token > > lsr_global.h:17: parse error before '*' token > > lsr_global.h:18: parse error before '*' token > > lsr_global.h:20: parse error before '*' token > > lsr_global.h:22: parse error before '*' token > > lsr_global.h:24: parse error before '*' token > > lsr_global.h:27: parse error before '*' token > > lsr_global.h:29: parse error before '*' token > > lsr_global.h:31: parse error before '*' token > > lsr_global.h:34: parse error before '*' token > > lsr_global.h:36: parse error before '*' token > > lsr_global.h:38: parse error before '*' token > > lsr_global.h:40: parse error before '*' token > > lsr_global.h:43: parse error before '*' token > > lsr_global.h:45: parse error before '*' token > > lsr_global.h:46: parse error before '*' token > > lsr_global.h:47: parse error before '*' token > > lsr_global.h:47: parse error before '*' token > > lsr_global.h:47: warning: type defaults to `int' in declaration of > > `lsr_global_find_if_ifhandle' > > lsr_global.h:47: warning: data definition has no type or storage class > > lsr_global.h:49: parse error before '*' token > > lsr_global.h:51: parse error before '*' token > > lsr_global.h:53: parse error before '*' token > > lsr_global.h:55: parse error before '*' token > > In file included from lsr_global.c:12: > > lsr_outsegment.h:15: parse error before '*' token > > lsr_outsegment.h:15: warning: type defaults to `int' in declaration of > > `lsr_outsegment_create' > > lsr_outsegment.h:15: warning: data definition has no type or storage class > > lsr_outsegment.h:16: parse error before '*' token > > lsr_outsegment.h:17: parse error before "_lsr_outsegment_get_next_index" > > lsr_outsegment.h:17: warning: type defaults to `int' in declaration of > > `_lsr_outsegment_get_next_index' > > lsr_outsegment.h:17: warning: data definition has no type or storage class > > lsr_outsegment.h:18: parse error before '*' token > > lsr_outsegment.h:19: parse error before '*' token > > lsr_outsegment.h:20: parse error before '*' token > > lsr_outsegment.h:21: parse error before '*' token > > lsr_outsegment.h:22: parse error before '*' token > > lsr_outsegment.h:23: parse error before '*' token > > In file included from lsr_global.c:13: > > lsr_insegment.h:15: parse error before '*' token > > lsr_insegment.h:15: warning: type defaults to `int' in declaration of > > `lsr_insegment_create' > > lsr_insegment.h:15: warning: data definition has no type or storage class > > lsr_insegment.h:16: parse error before '*' token > > lsr_insegment.h:17: parse error before "_lsr_insegment_get_next_index" > > lsr_insegment.h:17: warning: type defaults to `int' in declaration of > > `_lsr_insegment_get_next_index' > > lsr_insegment.h:17: warning: data definition has no type or storage class > > lsr_insegment.h:18: parse error before '*' token > > lsr_insegment.h:19: parse error before '*' token > > In file included from lsr_global.c:14: > > lsr_xconnect.h:15: parse error before '*' token > > lsr_xconnect.h:15: warning: type defaults to `int' in declaration of > > `lsr_xconnect_create' > > lsr_xconnect.h:15: warning: data definition has no type or storage class > > lsr_xconnect.h:16: parse error before '*' token > > lsr_xconnect.h:17: parse error before "_lsr_xconnect_get_next_index" > > lsr_xconnect.h:17: warning: type defaults to `int' in declaration of > > `_lsr_xconnect_get_next_index' > > lsr_xconnect.h:17: warning: data definition has no type or storage class > > lsr_xconnect.h:18: parse error before '*' token > > lsr_xconnect.h:19: parse error before '*' token > > lsr_xconnect.h:20: parse error before '*' token > > lsr_xconnect.h:21: parse error before '*' token > > In file included from lsr_global.c:15: > > lsr_ftn.h:15: parse error before '*' token > > lsr_ftn.h:15: warning: type defaults to `int' in declaration of > > `lsr_ftn_create' > > lsr_ftn.h:15: warning: data definition has no type or storage class > > lsr_ftn.h:16: parse error before '*' token > > lsr_ftn.h:17: parse error before "_lsr_ftn_get_next_index" > > lsr_ftn.h:17: warning: type defaults to `int' in declaration of > > `_lsr_ftn_get_next_index' > > lsr_ftn.h:17: warning: data definition has no type or storage class > > lsr_ftn.h:18: parse error before '*' token > > lsr_ftn.h:19: parse error before '*' token > > In file included from lsr_global.c:16: > > lsr_if.h:15: parse error before '*' token > > lsr_if.h:15: warning: type defaults to `int' in declaration of > > `lsr_if_create' > > lsr_if.h:15: warning: data definition has no type or storage class > > lsr_if.h:16: parse error before '*' token > > lsr_if.h:17: parse error before "_lsr_if_get_next_index" > > lsr_if.h:17: warning: type defaults to `int' in declaration of > > `_lsr_if_get_next_index' > > lsr_if.h:17: warning: data definition has no type or storage class > > lsr_if.h:18: parse error before '*' token > > lsr_if.h:19: parse error before '*' token > > In file included from lsr_global.c:18: > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:14:24: ldp_struct.h: No > > such file or directory > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:15:24: ldp_struct.h: No > > such file or directory > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:16:30: > > mpls_handle_type.h: No such file or directory > > In file included from lsr_global.c:18: > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:22: parse error before > > "handle" > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:28: warning: type > > defaults to `int' in declaration of `mpls_ifmgr_handle' > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:28: parse error before > > "handle" > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:35: parse error before > > "mpls_ifmgr_open" > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:35: warning: type > > defaults to `int' in declaration of `mpls_instance_handle' > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:35: parse error before > > "handle" > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:36: warning: type > > defaults to `int' in declaration of `mpls_ifmgr_open' > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:36: warning: data > > definition has no type or storage class > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:41: warning: type > > defaults to `int' in declaration of `mpls_ifmgr_handle' > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:41: parse error before > > "handle" > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:47: parse error before > > "mpls_ifmgr_open_if" > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:47: warning: type > > defaults to `int' in declaration of `mpls_ifmgr_handle' > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:48: warning: type > > defaults to `int' in declaration of `mpls_ifmgr_open_if' > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:48: warning: data > > definition has no type or storage class > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:53: warning: type > > defaults to `int' in declaration of `mpls_ifmgr_handle' > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:53: warning: type > > defaults to `int' in declaration of `mpls_if_handle' > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:53: parse error before "iff" > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:60: warning: type > > defaults to `int' in declaration of `mpls_ifmgr_handle' > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:61: warning: type > > defaults to `int' in declaration of `mpls_if_handle' > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:61: parse error before "iff" > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:69: warning: type > > defaults to `int' in declaration of `mpls_ifmgr_handle' > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:70: warning: type > > defaults to `int' in declaration of `mpls_if_handle' > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:70: parse error before "iff" > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:76: warning: type > > defaults to `int' in declaration of `mpls_ifmgr_handle' > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:77: parse error before > > "mpls_if_handle" > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:83: warning: type > > defaults to `int' in declaration of `mpls_ifmgr_handle' > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:84: parse error before > > "mpls_if_handle" > > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:86: parse error before > > "ifmgr_handle" > > In file included from lsr_global.c:19: > > /usr/src/ldp-portable/common/mpls_mpls_impl.h:22: parse error before > > "handle" > > /usr/src/ldp-portable/common/mpls_mpls_impl.h:28: parse error before > > "mpls_mpls_open" > > /usr/src/ldp-portable/common/mpls_mpls_impl.h:28: parse error before > > "handle" > > /usr/src/ldp-portable/common/mpls_mpls_impl.h:28: warning: type defaults > > to `int' in declaration of `mpls_mpls_open' > > /usr/src/ldp-portable/common/mpls_mpls_impl.h:28: warning: data > > definition has no type or storage class > > /usr/src/ldp-portable/common/mpls_mpls_impl.h:33: parse error before > > "handle" > > /usr/src/ldp-portable/common/mpls_mpls_impl.h:39: parse error before > > "handle" > > /usr/src/ldp-portable/common/mpls_mpls_impl.h:45: parse error before > > "handle" > > /usr/src/ldp-portable/common/mpls_mpls_impl.h:51: parse error before > > "handle" > > /usr/src/ldp-portable/common/mpls_mpls_impl.h:57: parse error before > > "handle" > > /usr/src/ldp-portable/common/mpls_mpls_impl.h:63: parse error before > > "handle" > > /usr/src/ldp-portable/common/mpls_mpls_impl.h:69: parse error before > > "handle" > > /usr/src/ldp-portable/common/mpls_mpls_impl.h:76: parse error before > > "handle" > > /usr/src/ldp-portable/common/mpls_mpls_impl.h:82: parse error before > > "handle" > > /usr/src/ldp-portable/common/mpls_mpls_impl.h:85: parse error before > > "handle" > > In file included from lsr_global.c:20: > > /usr/src/ldp-portable/common/mpls_lock_impl.h:19: parse error before > > "handle" > > /usr/src/ldp-portable/common/mpls_lock_impl.h:25: parse error before > > "mpls_lock_create" > > /usr/src/ldp-portable/common/mpls_lock_impl.h:25: warning: type defaults > > to `int' in declaration of `mpls_lock_key_type' > > /usr/src/ldp-portable/common/mpls_lock_impl.h:25: parse error before "key" > > /usr/src/ldp-portable/common/mpls_lock_impl.h:25: warning: type defaults > > to `int' in declaration of `mpls_lock_create' > > /usr/src/ldp-portable/common/mpls_lock_impl.h:25: warning: data > > definition has no type or storage class > > /usr/src/ldp-portable/common/mpls_lock_impl.h:30: parse error before > > "handle" > > /usr/src/ldp-portable/common/mpls_lock_impl.h:35: parse error before > > "handle" > > /usr/src/ldp-portable/common/mpls_lock_impl.h:40: parse error before > > "handle" > > In file included from lsr_global.c:21: > > /usr/src/ldp-portable/common/mpls_mm_impl.h:19: warning: type defaults > > to `int' in declaration of `mpls_size_type' > > /usr/src/ldp-portable/common/mpls_mm_impl.h:19: parse error before "size" > > In file included from lsr_global.c:22: > > /usr/src/ldp-portable/common/mpls_trace_impl.h:13:24: mpls_trace.h: No > > such file or directory > > lsr_global.c:24: parse error before '*' token > > lsr_global.c:24: parse error before "data" > > lsr_global.c:25: warning: return type defaults to `int' > > lsr_global.c: In function `lsr_global_create': > > lsr_global.c:26: `g' undeclared (first use in this function) > > lsr_global.c:26: (Each undeclared identifier is reported only once > > lsr_global.c:26: for each function it appears in.) > > lsr_global.c:26: parse error before ')' token > > lsr_global.c:29: warning: implicit declaration of function `memset' > > lsr_global.c:31: warning: implicit declaration of function `LDP_ENTER' > > lsr_global.c:43: `data' undeclared (first use in this function) > > lsr_global.c:47: warning: implicit declaration of function `LDP_EXIT' > > lsr_global.c: At top level: > > lsr_global.c:53: parse error before '*' token > > lsr_global.c: In function `lsr_global_startup': > > lsr_global.c:55: `g' undeclared (first use in this function) > > lsr_global.c:55: `NULL' undeclared (first use in this function) > > lsr_global.c: At top level: > > lsr_global.c:82: parse error before '*' token > > lsr_global.c: In function `lsr_global_shutdown': > > lsr_global.c:84: `g' undeclared (first use in this function) > > lsr_global.c: At top level: > > lsr_global.c:101: parse error before '*' token > > lsr_global.c: In function `lsr_global_delete': > > lsr_global.c:103: `g' undeclared (first use in this function) > > lsr_global.c:105: warning: implicit declaration of function `LDP_PRINT' > > lsr_global.c: At top level: > > lsr_global.c:113: parse error before '*' token > > lsr_global.c: In function `_lsr_global_add_if': > > lsr_global.c:115: `ip' undeclared (first use in this function) > > lsr_global.c:115: `NULL' undeclared (first use in this function) > > lsr_global.c:117: `g' undeclared (first use in this function) > > lsr_global.c:117: `i' undeclared (first use in this function) > > lsr_global.c: At top level: > > lsr_global.c:133: parse error before '*' token > > lsr_global.c: In function `_lsr_global_del_if': > > lsr_global.c:135: `g' undeclared (first use in this function) > > lsr_global.c:135: `i' undeclared (first use in this function) > > lsr_global.c:137: `NULL' undeclared (first use in this function) > > lsr_global.c: At top level: > > lsr_global.c:143: parse error before '*' token > > lsr_global.c: In function `lsr_global_find_if_index': > > lsr_global.c:146: `i' undeclared (first use in this function) > > lsr_global.c:146: `NULL' undeclared (first use in this function) > > lsr_global.c:148: `g' undeclared (first use in this function) > > lsr_global.c:155: dereferencing pointer to incomplete type > > lsr_global.c:162: dereferencing pointer to incomplete type > > lsr_global.c:168: dereferencing pointer to incomplete type > > lsr_global.c: At top level: > > lsr_global.c:172: parse error before '*' token > > lsr_global.c:172: parse error before '*' token > > lsr_global.c:173: warning: return type defaults to `int' > > lsr_global.c: In function `lsr_global_find_if_ifhandle': > > lsr_global.c:174: `i' undeclared (first use in this function) > > lsr_global.c:174: `NULL' undeclared (first use in this function) > > lsr_global.c:176: `g' undeclared (first use in this function) > > lsr_global.c:176: `ifhandle' undeclared (first use in this function) > > lsr_global.c: At top level: > > lsr_global.c:190: parse error before '*' token > > lsr_global.c: In function `_lsr_global_add_outsegment': > > lsr_global.c:192: `op' undeclared (first use in this function) > > lsr_global.c:192: `NULL' undeclared (first use in this function) > > lsr_global.c:194: `g' undeclared (first use in this function) > > lsr_global.c:194: `o' undeclared (first use in this function) > > lsr_global.c: At top level: > > lsr_global.c:210: parse error before '*' token > > lsr_global.c: In function `_lsr_global_del_outsegment': > > lsr_global.c:212: `g' undeclared (first use in this function) > > lsr_global.c:212: `o' undeclared (first use in this function) > > lsr_global.c:214: `NULL' undeclared (first use in this function) > > lsr_global.c: At top level: > > lsr_global.c:220: parse error before '*' token > > lsr_global.c: In function `lsr_global_find_outsegment_index': > > lsr_global.c:223: `o' undeclared (first use in this function) > > lsr_global.c:223: `NULL' undeclared (first use in this function) > > lsr_global.c:225: `g' undeclared (first use in this function) > > lsr_global.c:232: dereferencing pointer to incomplete type > > lsr_global.c:239: dereferencing pointer to incomplete type > > lsr_global.c:245: dereferencing pointer to incomplete type > > lsr_global.c: At top level: > > lsr_global.c:251: parse error before '*' token > > lsr_global.c: In function `_lsr_global_add_insegment': > > lsr_global.c:253: `ip' undeclared (first use in this function) > > lsr_global.c:253: `NULL' undeclared (first use in this function) > > lsr_global.c:255: `g' undeclared (first use in this function) > > lsr_global.c:255: `i' undeclared (first use in this function) > > lsr_global.c: At top level: > > lsr_global.c:271: parse error before '*' token > > lsr_global.c: In function `_lsr_global_del_insegment': > > lsr_global.c:273: `g' undeclared (first use in this function) > > lsr_global.c:273: `i' undeclared (first use in this function) > > lsr_global.c:275: `NULL' undeclared (first use in this function) > > lsr_global.c: At top level: > > lsr_global.c:281: parse error before '*' token > > lsr_global.c: In function `lsr_global_find_insegment_index': > > lsr_global.c:284: `i' undeclared (first use in this function) > > lsr_global.c:284: `NULL' undeclared (first use in this function) > > lsr_global.c:286: `g' undeclared (first use in this function) > > lsr_global.c:293: dereferencing pointer to incomplete type > > lsr_global.c:300: dereferencing pointer to incomplete type > > lsr_global.c:306: dereferencing pointer to incomplete type > > lsr_global.c: At top level: > > lsr_global.c:312: parse error before '*' token > > lsr_global.c: In function `_lsr_global_add_xconnect': > > lsr_global.c:314: `xp' undeclared (first use in this function) > > lsr_global.c:314: `NULL' undeclared (first use in this function) > > lsr_global.c:316: `g' undeclared (first use in this function) > > lsr_global.c:316: `x' undeclared (first use in this function) > > lsr_global.c: At top level: > > lsr_global.c:332: parse error before '*' token > > lsr_global.c: In function `_lsr_global_del_xconnect': > > lsr_global.c:334: `g' undeclared (first use in this function) > > lsr_global.c:334: `x' undeclared (first use in this function) > > lsr_global.c:336: `NULL' undeclared (first use in this function) > > lsr_global.c: At top level: > > lsr_global.c:342: parse error before '*' token > > lsr_global.c: In function `lsr_global_find_xconnect_index': > > lsr_global.c:345: `x' undeclared (first use in this function) > > lsr_global.c:345: `NULL' undeclared (first use in this function) > > lsr_global.c:347: `g' undeclared (first use in this function) > > lsr_global.c:354: `xconnect' undeclared (first use in this function) > > lsr_global.c: At top level: > > lsr_global.c:371: parse error before '*' token > > lsr_global.c: In function `lsr_global_find_xconnect_index2': > > lsr_global.c:374: `iseg' undeclared (first use in this function) > > lsr_global.c:374: `NULL' undeclared (first use in this function) > > lsr_global.c:375: `x' undeclared (first use in this function) > > lsr_global.c:377: `g' undeclared (first use in this function) > > lsr_global.c:377: `in' undeclared (first use in this function) > > lsr_global.c:377: `out' undeclared (first use in this function) > > lsr_global.c:386: `xconnect' undeclared (first use in this function) > > lsr_global.c: At top level: > > lsr_global.c:398: parse error before '*' token > > lsr_global.c: In function `_lsr_global_add_ftn': > > lsr_global.c:400: `fp' undeclared (first use in this function) > > lsr_global.c:400: `NULL' undeclared (first use in this function) > > lsr_global.c:402: `g' undeclared (first use in this function) > > lsr_global.c:402: `f' undeclared (first use in this function) > > lsr_global.c: At top level: > > lsr_global.c:418: parse error before '*' token > > lsr_global.c: In function `_lsr_global_del_ftn': > > lsr_global.c:420: `g' undeclared (first use in this function) > > lsr_global.c:420: `f' undeclared (first use in this function) > > lsr_global.c:422: `NULL' undeclared (first use in this function) > > lsr_global.c: At top level: > > lsr_global.c:428: parse error before '*' token > > lsr_global.c: In function `lsr_global_find_ftn_index': > > lsr_global.c:431: `f' undeclared (first use in this function) > > lsr_global.c:431: `NULL' undeclared (first use in this function) > > lsr_global.c:433: `g' undeclared (first use in this function) > > lsr_global.c:440: `ftn' undeclared (first use in this function) > > lsr_global.c: At top level: > > lsr_global.c:457: parse error before '*' token > > lsr_global.c: In function `lsr_global_find_ftn_index2': > > lsr_global.c:460: `fp' undeclared (first use in this function) > > lsr_global.c:460: `NULL' undeclared (first use in this function) > > lsr_global.c:462: `g' undeclared (first use in this function) > > lsr_global.c:462: `f' undeclared (first use in this function) > > lsr_global.c:471: `ftn' undeclared (first use in this function) > > lsr_global.c: At top level: > > /usr/src/ldp-portable/common/mpls_struct.h:184: storage size of `host' > > isn't known > > lsr_struct.h:65: storage size of `info' isn't known > > make: *** [lsr_global.o] Error 1 > > > > > > Looks like i dont have mpls_handle_type.h maybe the problem is there but > > theres no file with this name in mpls-linux or ldp-portable, what am i > > doing wrong ??? > > > > > > Regards > > > > Javier Sanchez > > sj...@te... > > > > > > > > > > > > ------------------------------------------------------- > > This SF.NET email is sponsored by: > > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > > http://www.vasoftware.com > > _______________________________________________ > > mpls-linux-general mailing list > > mpl...@li... > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > -- > James R. Leu -- James R. Leu |
|
From: James R. L. <jl...@mi...> - 2003-02-04 15:16:31
|
On Tue, Feb 04, 2003 at 11:54:55AM +0530, nerdboy wrote: > Hi, > > i know this is offtopic but i didnt know where else to ask. It's not that far offtopic :-) > i understand that the EXP bits in MPLS are used to provide DSCP > functionality(Diffserv) for EXp inferred LSP's in MPLS. > 1. i want to know how the DSCP bits are mapped to the EXP bits ? A mapping is created, either statically or dynamically. > 2. Further, since the DSCP ( pow(2,8) = 256 combinations ) is 8 bits and > provides 22 different PHB's(or roughly 7 different classes), > and the EXP is just 3 bits and therefore can provide only upto 8 > different classes, wouldnt there be loss of info while mapping DSCP->EXP ? Correct there is not a direct 1 to 1 mapping, but in any given MPLS domain you will only need to support a small number of DSCPs, also any given DiffServ capable device it will only be able to support a small number of PHBs. So when a net admin determins the mapping (EXP <-> DSCP) they need to take these factors into consideration. Most of the time they find that 8 choices is more then enough. You can play around with this type of stuff by using mpls-linux. There are some 'advanced' instructions that you can add to an incoming or outgoing label that translate TC info into DSCP or EXP and vice versa. If you are looking for more info on this take a look at what Pim and his crew have done: http://dsmpls.atlantis.rug.ac.be/ > > any help would be greatly appreciated. > > Warm Regards > nerd > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu |
|
From: nerdboy <ne...@re...> - 2003-02-04 06:17:51
|
Hi,
i know this is offtopic but i didnt know where else to ask.
i understand that the EXP bits in MPLS are used to provide DSCP
functionality(Diffserv) for EXp inferred LSP's in MPLS.
1. i want to know how the DSCP bits are mapped to the EXP bits ?
2. Further, since the DSCP ( pow(2,8) = 256 combinations ) is 8 bits and
provides 22 different PHB's(or roughly 7 different classes),
and the EXP is just 3 bits and therefore can provide only upto 8
different classes, wouldnt there be loss of info while mapping DSCP->EXP ?
any help would be greatly appreciated.
Warm Regards
nerd
|
|
From: <SJ...@te...> - 2003-02-03 21:46:18
|
Hi James, maybe i did not explain the problem correctly, i had allready read the docs but did not see any info about ldp-portable compile. Im allready running a mpls-1.1 kernel with mplsadm2 succesfully compiled, the docs you told me about does not help me to resolv the failling compilation. Regards ----- Mensaje Original ----- De: "James R. Leu" <jl...@mi...> Fecha: Lunes, Febrero 3, 2003 11:21 pm Asunto: Re: [mpls-linux-general] Ldp portable compilation fails |
|
From: James R. L. <jl...@mi...> - 2003-02-03 20:24:03
|
On Sat, Feb 01, 2003 at 07:29:23PM +0100, SJ...@te... wrote: > > > Hi all, > > i have succesfully applied the mpls-linux patch to a 2.4.18 kernel, onto > a redhat 8 linux recompiled the kernbel and compiled mplsadm2 > succesfully, but cant get ldp compilation to work. Hello. Start by reading ldp-portable/README, which will point you to ldp-portable/README.zebra-ldp. Along the way you will probably have to read mpls-linux/README.1st.really Good luck. > > Im trying to compile it under the lsr dir because its the only one that > have a Makefile inside, but im getting this error msg: > > * This is my CFLAGS envar > > CFLAGS -g -I. -I/usr/src/ldp-portable/common -I/usr/src/linux > > > In file included from lsr_struct.h:14, > from lsr_global.c:10: > /usr/src/ldp-portable/common/mpls_struct.h:16:30: mpls_handle_type.h: No > such file or directory > In file included from lsr_struct.h:14, > from lsr_global.c:10: > /usr/src/ldp-portable/common/mpls_struct.h:127: parse error before "uint8_t" > cc1: warnings being treated as errors > /usr/src/ldp-portable/common/mpls_struct.h:127: warning: no semicolon at > end of struct or union > /usr/src/ldp-portable/common/mpls_struct.h:127: warning: no semicolon at > end of struct or union > /usr/src/ldp-portable/common/mpls_struct.h:128: warning: type defaults > to `int' in declaration of `ipv4' > /usr/src/ldp-portable/common/mpls_struct.h:128: warning: data definition > has no type or storage class > /usr/src/ldp-portable/common/mpls_struct.h:129: warning: type defaults > to `int' in declaration of `u' > /usr/src/ldp-portable/common/mpls_struct.h:129: warning: data definition > has no type or storage class > /usr/src/ldp-portable/common/mpls_struct.h:130: parse error before '}' token > /usr/src/ldp-portable/common/mpls_struct.h:130: warning: type defaults > to `int' in declaration of `mpls_inet_addr' > /usr/src/ldp-portable/common/mpls_struct.h:130: warning: data definition > has no type or storage class > /usr/src/ldp-portable/common/mpls_struct.h:133: field `addr' has > incomplete type > /usr/src/ldp-portable/common/mpls_struct.h:134: parse error before > "uint16_t" > /usr/src/ldp-portable/common/mpls_struct.h:134: warning: no semicolon at > end of struct or union > /usr/src/ldp-portable/common/mpls_struct.h:135: warning: type defaults > to `int' in declaration of `if_handle' > /usr/src/ldp-portable/common/mpls_struct.h:135: warning: data definition > has no type or storage class > /usr/src/ldp-portable/common/mpls_struct.h:136: warning: type defaults > to `int' in declaration of `mpls_dest' > /usr/src/ldp-portable/common/mpls_struct.h:136: warning: data definition > has no type or storage class > /usr/src/ldp-portable/common/mpls_struct.h:143: parse error before > "uint16_t" > /usr/src/ldp-portable/common/mpls_struct.h:143: warning: no semicolon at > end of struct or union > /usr/src/ldp-portable/common/mpls_struct.h:143: warning: no semicolon at > end of struct or union > /usr/src/ldp-portable/common/mpls_struct.h:144: warning: no semicolon at > end of struct or union > /usr/src/ldp-portable/common/mpls_struct.h:145: warning: type defaults > to `int' in declaration of `atm' > /usr/src/ldp-portable/common/mpls_struct.h:145: warning: data definition > has no type or storage class > /usr/src/ldp-portable/common/mpls_struct.h:146: parse error before "gen" > /usr/src/ldp-portable/common/mpls_struct.h:146: warning: type defaults > to `int' in declaration of `gen' > /usr/src/ldp-portable/common/mpls_struct.h:146: warning: data definition > has no type or storage class > /usr/src/ldp-portable/common/mpls_struct.h:147: parse error before "fr" > /usr/src/ldp-portable/common/mpls_struct.h:147: warning: type defaults > to `int' in declaration of `fr' > /usr/src/ldp-portable/common/mpls_struct.h:147: warning: data definition > has no type or storage class > /usr/src/ldp-portable/common/mpls_struct.h:148: warning: type defaults > to `int' in declaration of `max' > /usr/src/ldp-portable/common/mpls_struct.h:148: warning: type defaults > to `int' in declaration of `min' > /usr/src/ldp-portable/common/mpls_struct.h:148: warning: data definition > has no type or storage class > /usr/src/ldp-portable/common/mpls_struct.h:149: parse error before '}' token > /usr/src/ldp-portable/common/mpls_struct.h:149: warning: type defaults > to `int' in declaration of `mpls_range' > /usr/src/ldp-portable/common/mpls_struct.h:149: warning: data definition > has no type or storage class > /usr/src/ldp-portable/common/mpls_struct.h:168: field `ip' has > incomplete type > /usr/src/ldp-portable/common/mpls_struct.h:170: field `ip' has > incomplete type > /usr/src/ldp-portable/common/mpls_struct.h:171: parse error before > "mpls_if_handle" > /usr/src/ldp-portable/common/mpls_struct.h:171: warning: no semicolon at > end of struct or union > /usr/src/ldp-portable/common/mpls_struct.h:171: warning: no semicolon at > end of struct or union > /usr/src/ldp-portable/common/mpls_struct.h:173: parse error before > "if_handle" > /usr/src/ldp-portable/common/mpls_struct.h:173: warning: type defaults > to `int' in declaration of `if_handle' > /usr/src/ldp-portable/common/mpls_struct.h:173: warning: data definition > has no type or storage class > /usr/src/ldp-portable/common/mpls_struct.h:174: warning: type defaults > to `int' in declaration of `u' > /usr/src/ldp-portable/common/mpls_struct.h:174: warning: data definition > has no type or storage class > /usr/src/ldp-portable/common/mpls_struct.h:175: parse error before '}' token > /usr/src/ldp-portable/common/mpls_struct.h:175: warning: type defaults > to `int' in declaration of `mpls_nexthop' > /usr/src/ldp-portable/common/mpls_struct.h:175: warning: data definition > has no type or storage class > /usr/src/ldp-portable/common/mpls_struct.h:181: field `network' has > incomplete type > /usr/src/ldp-portable/common/mpls_struct.h:182: parse error before "uint8_t" > /usr/src/ldp-portable/common/mpls_struct.h:182: warning: no semicolon at > end of struct or union > /usr/src/ldp-portable/common/mpls_struct.h:182: warning: no semicolon at > end of struct or union > /usr/src/ldp-portable/common/mpls_struct.h:186: parse error before > "uint32_t" > /usr/src/ldp-portable/common/mpls_struct.h:186: warning: no semicolon at > end of struct or union > /usr/src/ldp-portable/common/mpls_struct.h:187: warning: type defaults > to `int' in declaration of `group_id' > /usr/src/ldp-portable/common/mpls_struct.h:187: warning: data definition > has no type or storage class > /usr/src/ldp-portable/common/mpls_struct.h:188: parse error before "type" > /usr/src/ldp-portable/common/mpls_struct.h:188: warning: type defaults > to `int' in declaration of `type' > /usr/src/ldp-portable/common/mpls_struct.h:188: warning: data definition > has no type or storage class > /usr/src/ldp-portable/common/mpls_struct.h:189: warning: type defaults > to `int' in declaration of `l2cc' > /usr/src/ldp-portable/common/mpls_struct.h:189: warning: data definition > has no type or storage class > /usr/src/ldp-portable/common/mpls_struct.h:190: parse error before '}' token > /usr/src/ldp-portable/common/mpls_struct.h:190: warning: type defaults > to `int' in declaration of `u' > /usr/src/ldp-portable/common/mpls_struct.h:190: warning: data definition > has no type or storage class > /usr/src/ldp-portable/common/mpls_struct.h:193: parse error before '}' token > /usr/src/ldp-portable/common/mpls_struct.h:193: warning: type defaults > to `int' in declaration of `mpls_fec' > /usr/src/ldp-portable/common/mpls_struct.h:193: warning: data definition > has no type or storage class > /usr/src/ldp-portable/common/mpls_struct.h:197: parse error before > "uint32_t" > /usr/src/ldp-portable/common/mpls_struct.h:197: warning: no semicolon at > end of struct or union > /usr/src/ldp-portable/common/mpls_struct.h:198: warning: type defaults > to `int' in declaration of `labelspace' > /usr/src/ldp-portable/common/mpls_struct.h:198: warning: data definition > has no type or storage class > /usr/src/ldp-portable/common/mpls_struct.h:199: parse error before "family" > /usr/src/ldp-portable/common/mpls_struct.h:199: warning: type defaults > to `int' in declaration of `family' > /usr/src/ldp-portable/common/mpls_struct.h:199: warning: data definition > has no type or storage class > /usr/src/ldp-portable/common/mpls_struct.h:200: parse error before "handle" > /usr/src/ldp-portable/common/mpls_struct.h:200: warning: type defaults > to `int' in declaration of `handle' > /usr/src/ldp-portable/common/mpls_struct.h:200: warning: data definition > has no type or storage class > /usr/src/ldp-portable/common/mpls_struct.h:202: parse error before '}' token > /usr/src/ldp-portable/common/mpls_struct.h:202: warning: type defaults > to `int' in declaration of `mpls_insegment' > /usr/src/ldp-portable/common/mpls_struct.h:202: warning: data definition > has no type or storage class > /usr/src/ldp-portable/common/mpls_struct.h:208: parse error before > "mpls_outsegment_handle" > /usr/src/ldp-portable/common/mpls_struct.h:208: warning: no semicolon at > end of struct or union > /usr/src/ldp-portable/common/mpls_struct.h:210: parse error before '}' token > /usr/src/ldp-portable/common/mpls_struct.h:210: warning: type defaults > to `int' in declaration of `mpls_outsegment' > /usr/src/ldp-portable/common/mpls_struct.h:210: warning: data definition > has no type or storage class > /usr/src/ldp-portable/common/mpls_struct.h:213: parse error before > "uint32_t" > /usr/src/ldp-portable/common/mpls_struct.h:213: warning: no semicolon at > end of struct or union > /usr/src/ldp-portable/common/mpls_struct.h:214: warning: type defaults > to `int' in declaration of `stack_size' > /usr/src/ldp-portable/common/mpls_struct.h:214: warning: data definition > has no type or storage class > /usr/src/ldp-portable/common/mpls_struct.h:217: parse error before "handle" > /usr/src/ldp-portable/common/mpls_struct.h:217: warning: type defaults > to `int' in declaration of `handle' > /usr/src/ldp-portable/common/mpls_struct.h:217: warning: data definition > has no type or storage class > /usr/src/ldp-portable/common/mpls_struct.h:219: parse error before '}' token > /usr/src/ldp-portable/common/mpls_struct.h:219: warning: type defaults > to `int' in declaration of `mpls_xconnect' > /usr/src/ldp-portable/common/mpls_struct.h:219: warning: data definition > has no type or storage class > In file included from lsr_global.c:10: > lsr_struct.h:15:29: lsr_handle_type.h: No such file or directory > lsr_struct.h:30:30: mpls_handle_type.h: No such file or directory > In file included from lsr_global.c:10: > lsr_struct.h:33: parse error before "uint32_t" > lsr_struct.h:33: warning: no semicolon at end of struct or union > lsr_struct.h:38: parse error before "index" > lsr_struct.h:38: warning: type defaults to `int' in declaration of `index' > lsr_struct.h:38: warning: built-in function `index' declared as non-function > lsr_struct.h:38: warning: data definition has no type or storage class > lsr_struct.h:41: parse error before '}' token > lsr_struct.h:41: warning: type defaults to `int' in declaration of > `lsr_insegment' > lsr_struct.h:41: warning: data definition has no type or storage class > lsr_struct.h:44: parse error before "uint32_t" > lsr_struct.h:44: warning: no semicolon at end of struct or union > lsr_struct.h:45: conflicting types for `_global' > lsr_struct.h:35: previous declaration of `_global' > lsr_struct.h:50: parse error before "index" > lsr_struct.h:50: warning: type defaults to `int' in declaration of `index' > lsr_struct.h:50: warning: data definition has no type or storage class > lsr_struct.h:51: conflicting types for `info' > lsr_struct.h:39: previous declaration of `info' > lsr_struct.h:55: parse error before "if_index" > lsr_struct.h:55: warning: type defaults to `int' in declaration of > `if_index' > lsr_struct.h:55: warning: data definition has no type or storage class > lsr_struct.h:56: warning: type defaults to `int' in declaration of > `lsr_outsegment' > lsr_struct.h:56: warning: data definition has no type or storage class > lsr_struct.h:59: parse error before "uint32_t" > lsr_struct.h:59: warning: no semicolon at end of struct or union > lsr_struct.h:60: conflicting types for `_outsegment' > lsr_struct.h:34: previous declaration of `_outsegment' > lsr_struct.h:62: conflicting types for `_global' > lsr_struct.h:45: previous declaration of `_global' > lsr_struct.h:64: parse error before "index" > lsr_struct.h:64: warning: type defaults to `int' in declaration of `index' > lsr_struct.h:64: warning: data definition has no type or storage class > lsr_struct.h:65: conflicting types for `info' > lsr_struct.h:51: previous declaration of `info' > lsr_struct.h:70: parse error before "outsegment_index" > lsr_struct.h:70: warning: type defaults to `int' in declaration of > `outsegment_index' > lsr_struct.h:70: warning: data definition has no type or storage class > lsr_struct.h:71: parse error before "insegment_index" > lsr_struct.h:71: warning: type defaults to `int' in declaration of > `insegment_index' > lsr_struct.h:71: warning: data definition has no type or storage class > lsr_struct.h:72: warning: type defaults to `int' in declaration of > `lsr_xconnect' > lsr_struct.h:72: warning: data definition has no type or storage class > lsr_struct.h:75: parse error before "uint32_t" > lsr_struct.h:75: warning: no semicolon at end of struct or union > lsr_struct.h:76: conflicting types for `_outsegment' > lsr_struct.h:60: previous declaration of `_outsegment' > lsr_struct.h:77: conflicting types for `_global' > lsr_struct.h:62: previous declaration of `_global' > lsr_struct.h:79: parse error before "index" > lsr_struct.h:79: warning: type defaults to `int' in declaration of `index' > lsr_struct.h:79: warning: data definition has no type or storage class > lsr_struct.h:80: parse error before "fec" > lsr_struct.h:80: warning: type defaults to `int' in declaration of `fec' > lsr_struct.h:80: warning: data definition has no type or storage class > lsr_struct.h:84: parse error before "outsegment_index" > lsr_struct.h:84: warning: type defaults to `int' in declaration of > `outsegment_index' > lsr_struct.h:84: warning: data definition has no type or storage class > lsr_struct.h:85: warning: type defaults to `int' in declaration of `lsr_ftn' > lsr_struct.h:85: warning: data definition has no type or storage class > lsr_struct.h:88: parse error before "uint32_t" > lsr_struct.h:88: warning: no semicolon at end of struct or union > lsr_struct.h:89: conflicting types for `_global' > lsr_struct.h:77: previous declaration of `_global' > lsr_struct.h:92: parse error before "index" > lsr_struct.h:92: warning: type defaults to `int' in declaration of `index' > lsr_struct.h:92: warning: data definition has no type or storage class > lsr_struct.h:95: parse error before "handle" > lsr_struct.h:95: warning: type defaults to `int' in declaration of `handle' > lsr_struct.h:95: warning: data definition has no type or storage class > lsr_struct.h:97: warning: type defaults to `int' in declaration of `lsr_if' > lsr_struct.h:97: warning: data definition has no type or storage class > lsr_struct.h:106: parse error before "mpls_lock_handle" > lsr_struct.h:106: warning: no semicolon at end of struct or union > lsr_struct.h:107: warning: type defaults to `int' in declaration of > `user_data' > lsr_struct.h:107: warning: data definition has no type or storage class > lsr_struct.h:109: parse error before "ifmgr_handle" > lsr_struct.h:109: warning: type defaults to `int' in declaration of > `ifmgr_handle' > lsr_struct.h:109: warning: data definition has no type or storage class > lsr_struct.h:110: parse error before "mpls_handle" > lsr_struct.h:110: warning: type defaults to `int' in declaration of > `mpls_handle' > lsr_struct.h:110: warning: data definition has no type or storage class > lsr_struct.h:113: parse error before '}' token > lsr_struct.h:113: warning: type defaults to `int' in declaration of > `lsr_global' > lsr_struct.h:113: warning: data definition has no type or storage class > In file included from lsr_global.c:11: > lsr_global.h:15: parse error before '*' token > lsr_global.h:15: parse error before "data" > lsr_global.h:15: warning: type defaults to `int' in declaration of > `lsr_global_create' > lsr_global.h:15: warning: data definition has no type or storage class > lsr_global.h:16: parse error before '*' token > lsr_global.h:17: parse error before '*' token > lsr_global.h:18: parse error before '*' token > lsr_global.h:20: parse error before '*' token > lsr_global.h:22: parse error before '*' token > lsr_global.h:24: parse error before '*' token > lsr_global.h:27: parse error before '*' token > lsr_global.h:29: parse error before '*' token > lsr_global.h:31: parse error before '*' token > lsr_global.h:34: parse error before '*' token > lsr_global.h:36: parse error before '*' token > lsr_global.h:38: parse error before '*' token > lsr_global.h:40: parse error before '*' token > lsr_global.h:43: parse error before '*' token > lsr_global.h:45: parse error before '*' token > lsr_global.h:46: parse error before '*' token > lsr_global.h:47: parse error before '*' token > lsr_global.h:47: parse error before '*' token > lsr_global.h:47: warning: type defaults to `int' in declaration of > `lsr_global_find_if_ifhandle' > lsr_global.h:47: warning: data definition has no type or storage class > lsr_global.h:49: parse error before '*' token > lsr_global.h:51: parse error before '*' token > lsr_global.h:53: parse error before '*' token > lsr_global.h:55: parse error before '*' token > In file included from lsr_global.c:12: > lsr_outsegment.h:15: parse error before '*' token > lsr_outsegment.h:15: warning: type defaults to `int' in declaration of > `lsr_outsegment_create' > lsr_outsegment.h:15: warning: data definition has no type or storage class > lsr_outsegment.h:16: parse error before '*' token > lsr_outsegment.h:17: parse error before "_lsr_outsegment_get_next_index" > lsr_outsegment.h:17: warning: type defaults to `int' in declaration of > `_lsr_outsegment_get_next_index' > lsr_outsegment.h:17: warning: data definition has no type or storage class > lsr_outsegment.h:18: parse error before '*' token > lsr_outsegment.h:19: parse error before '*' token > lsr_outsegment.h:20: parse error before '*' token > lsr_outsegment.h:21: parse error before '*' token > lsr_outsegment.h:22: parse error before '*' token > lsr_outsegment.h:23: parse error before '*' token > In file included from lsr_global.c:13: > lsr_insegment.h:15: parse error before '*' token > lsr_insegment.h:15: warning: type defaults to `int' in declaration of > `lsr_insegment_create' > lsr_insegment.h:15: warning: data definition has no type or storage class > lsr_insegment.h:16: parse error before '*' token > lsr_insegment.h:17: parse error before "_lsr_insegment_get_next_index" > lsr_insegment.h:17: warning: type defaults to `int' in declaration of > `_lsr_insegment_get_next_index' > lsr_insegment.h:17: warning: data definition has no type or storage class > lsr_insegment.h:18: parse error before '*' token > lsr_insegment.h:19: parse error before '*' token > In file included from lsr_global.c:14: > lsr_xconnect.h:15: parse error before '*' token > lsr_xconnect.h:15: warning: type defaults to `int' in declaration of > `lsr_xconnect_create' > lsr_xconnect.h:15: warning: data definition has no type or storage class > lsr_xconnect.h:16: parse error before '*' token > lsr_xconnect.h:17: parse error before "_lsr_xconnect_get_next_index" > lsr_xconnect.h:17: warning: type defaults to `int' in declaration of > `_lsr_xconnect_get_next_index' > lsr_xconnect.h:17: warning: data definition has no type or storage class > lsr_xconnect.h:18: parse error before '*' token > lsr_xconnect.h:19: parse error before '*' token > lsr_xconnect.h:20: parse error before '*' token > lsr_xconnect.h:21: parse error before '*' token > In file included from lsr_global.c:15: > lsr_ftn.h:15: parse error before '*' token > lsr_ftn.h:15: warning: type defaults to `int' in declaration of > `lsr_ftn_create' > lsr_ftn.h:15: warning: data definition has no type or storage class > lsr_ftn.h:16: parse error before '*' token > lsr_ftn.h:17: parse error before "_lsr_ftn_get_next_index" > lsr_ftn.h:17: warning: type defaults to `int' in declaration of > `_lsr_ftn_get_next_index' > lsr_ftn.h:17: warning: data definition has no type or storage class > lsr_ftn.h:18: parse error before '*' token > lsr_ftn.h:19: parse error before '*' token > In file included from lsr_global.c:16: > lsr_if.h:15: parse error before '*' token > lsr_if.h:15: warning: type defaults to `int' in declaration of > `lsr_if_create' > lsr_if.h:15: warning: data definition has no type or storage class > lsr_if.h:16: parse error before '*' token > lsr_if.h:17: parse error before "_lsr_if_get_next_index" > lsr_if.h:17: warning: type defaults to `int' in declaration of > `_lsr_if_get_next_index' > lsr_if.h:17: warning: data definition has no type or storage class > lsr_if.h:18: parse error before '*' token > lsr_if.h:19: parse error before '*' token > In file included from lsr_global.c:18: > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:14:24: ldp_struct.h: No > such file or directory > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:15:24: ldp_struct.h: No > such file or directory > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:16:30: > mpls_handle_type.h: No such file or directory > In file included from lsr_global.c:18: > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:22: parse error before > "handle" > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:28: warning: type > defaults to `int' in declaration of `mpls_ifmgr_handle' > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:28: parse error before > "handle" > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:35: parse error before > "mpls_ifmgr_open" > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:35: warning: type > defaults to `int' in declaration of `mpls_instance_handle' > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:35: parse error before > "handle" > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:36: warning: type > defaults to `int' in declaration of `mpls_ifmgr_open' > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:36: warning: data > definition has no type or storage class > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:41: warning: type > defaults to `int' in declaration of `mpls_ifmgr_handle' > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:41: parse error before > "handle" > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:47: parse error before > "mpls_ifmgr_open_if" > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:47: warning: type > defaults to `int' in declaration of `mpls_ifmgr_handle' > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:48: warning: type > defaults to `int' in declaration of `mpls_ifmgr_open_if' > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:48: warning: data > definition has no type or storage class > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:53: warning: type > defaults to `int' in declaration of `mpls_ifmgr_handle' > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:53: warning: type > defaults to `int' in declaration of `mpls_if_handle' > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:53: parse error before "iff" > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:60: warning: type > defaults to `int' in declaration of `mpls_ifmgr_handle' > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:61: warning: type > defaults to `int' in declaration of `mpls_if_handle' > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:61: parse error before "iff" > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:69: warning: type > defaults to `int' in declaration of `mpls_ifmgr_handle' > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:70: warning: type > defaults to `int' in declaration of `mpls_if_handle' > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:70: parse error before "iff" > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:76: warning: type > defaults to `int' in declaration of `mpls_ifmgr_handle' > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:77: parse error before > "mpls_if_handle" > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:83: warning: type > defaults to `int' in declaration of `mpls_ifmgr_handle' > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:84: parse error before > "mpls_if_handle" > /usr/src/ldp-portable/common/mpls_ifmgr_impl.h:86: parse error before > "ifmgr_handle" > In file included from lsr_global.c:19: > /usr/src/ldp-portable/common/mpls_mpls_impl.h:22: parse error before > "handle" > /usr/src/ldp-portable/common/mpls_mpls_impl.h:28: parse error before > "mpls_mpls_open" > /usr/src/ldp-portable/common/mpls_mpls_impl.h:28: parse error before > "handle" > /usr/src/ldp-portable/common/mpls_mpls_impl.h:28: warning: type defaults > to `int' in declaration of `mpls_mpls_open' > /usr/src/ldp-portable/common/mpls_mpls_impl.h:28: warning: data > definition has no type or storage class > /usr/src/ldp-portable/common/mpls_mpls_impl.h:33: parse error before > "handle" > /usr/src/ldp-portable/common/mpls_mpls_impl.h:39: parse error before > "handle" > /usr/src/ldp-portable/common/mpls_mpls_impl.h:45: parse error before > "handle" > /usr/src/ldp-portable/common/mpls_mpls_impl.h:51: parse error before > "handle" > /usr/src/ldp-portable/common/mpls_mpls_impl.h:57: parse error before > "handle" > /usr/src/ldp-portable/common/mpls_mpls_impl.h:63: parse error before > "handle" > /usr/src/ldp-portable/common/mpls_mpls_impl.h:69: parse error before > "handle" > /usr/src/ldp-portable/common/mpls_mpls_impl.h:76: parse error before > "handle" > /usr/src/ldp-portable/common/mpls_mpls_impl.h:82: parse error before > "handle" > /usr/src/ldp-portable/common/mpls_mpls_impl.h:85: parse error before > "handle" > In file included from lsr_global.c:20: > /usr/src/ldp-portable/common/mpls_lock_impl.h:19: parse error before > "handle" > /usr/src/ldp-portable/common/mpls_lock_impl.h:25: parse error before > "mpls_lock_create" > /usr/src/ldp-portable/common/mpls_lock_impl.h:25: warning: type defaults > to `int' in declaration of `mpls_lock_key_type' > /usr/src/ldp-portable/common/mpls_lock_impl.h:25: parse error before "key" > /usr/src/ldp-portable/common/mpls_lock_impl.h:25: warning: type defaults > to `int' in declaration of `mpls_lock_create' > /usr/src/ldp-portable/common/mpls_lock_impl.h:25: warning: data > definition has no type or storage class > /usr/src/ldp-portable/common/mpls_lock_impl.h:30: parse error before > "handle" > /usr/src/ldp-portable/common/mpls_lock_impl.h:35: parse error before > "handle" > /usr/src/ldp-portable/common/mpls_lock_impl.h:40: parse error before > "handle" > In file included from lsr_global.c:21: > /usr/src/ldp-portable/common/mpls_mm_impl.h:19: warning: type defaults > to `int' in declaration of `mpls_size_type' > /usr/src/ldp-portable/common/mpls_mm_impl.h:19: parse error before "size" > In file included from lsr_global.c:22: > /usr/src/ldp-portable/common/mpls_trace_impl.h:13:24: mpls_trace.h: No > such file or directory > lsr_global.c:24: parse error before '*' token > lsr_global.c:24: parse error before "data" > lsr_global.c:25: warning: return type defaults to `int' > lsr_global.c: In function `lsr_global_create': > lsr_global.c:26: `g' undeclared (first use in this function) > lsr_global.c:26: (Each undeclared identifier is reported only once > lsr_global.c:26: for each function it appears in.) > lsr_global.c:26: parse error before ')' token > lsr_global.c:29: warning: implicit declaration of function `memset' > lsr_global.c:31: warning: implicit declaration of function `LDP_ENTER' > lsr_global.c:43: `data' undeclared (first use in this function) > lsr_global.c:47: warning: implicit declaration of function `LDP_EXIT' > lsr_global.c: At top level: > lsr_global.c:53: parse error before '*' token > lsr_global.c: In function `lsr_global_startup': > lsr_global.c:55: `g' undeclared (first use in this function) > lsr_global.c:55: `NULL' undeclared (first use in this function) > lsr_global.c: At top level: > lsr_global.c:82: parse error before '*' token > lsr_global.c: In function `lsr_global_shutdown': > lsr_global.c:84: `g' undeclared (first use in this function) > lsr_global.c: At top level: > lsr_global.c:101: parse error before '*' token > lsr_global.c: In function `lsr_global_delete': > lsr_global.c:103: `g' undeclared (first use in this function) > lsr_global.c:105: warning: implicit declaration of function `LDP_PRINT' > lsr_global.c: At top level: > lsr_global.c:113: parse error before '*' token > lsr_global.c: In function `_lsr_global_add_if': > lsr_global.c:115: `ip' undeclared (first use in this function) > lsr_global.c:115: `NULL' undeclared (first use in this function) > lsr_global.c:117: `g' undeclared (first use in this function) > lsr_global.c:117: `i' undeclared (first use in this function) > lsr_global.c: At top level: > lsr_global.c:133: parse error before '*' token > lsr_global.c: In function `_lsr_global_del_if': > lsr_global.c:135: `g' undeclared (first use in this function) > lsr_global.c:135: `i' undeclared (first use in this function) > lsr_global.c:137: `NULL' undeclared (first use in this function) > lsr_global.c: At top level: > lsr_global.c:143: parse error before '*' token > lsr_global.c: In function `lsr_global_find_if_index': > lsr_global.c:146: `i' undeclared (first use in this function) > lsr_global.c:146: `NULL' undeclared (first use in this function) > lsr_global.c:148: `g' undeclared (first use in this function) > lsr_global.c:155: dereferencing pointer to incomplete type > lsr_global.c:162: dereferencing pointer to incomplete type > lsr_global.c:168: dereferencing pointer to incomplete type > lsr_global.c: At top level: > lsr_global.c:172: parse error before '*' token > lsr_global.c:172: parse error before '*' token > lsr_global.c:173: warning: return type defaults to `int' > lsr_global.c: In function `lsr_global_find_if_ifhandle': > lsr_global.c:174: `i' undeclared (first use in this function) > lsr_global.c:174: `NULL' undeclared (first use in this function) > lsr_global.c:176: `g' undeclared (first use in this function) > lsr_global.c:176: `ifhandle' undeclared (first use in this function) > lsr_global.c: At top level: > lsr_global.c:190: parse error before '*' token > lsr_global.c: In function `_lsr_global_add_outsegment': > lsr_global.c:192: `op' undeclared (first use in this function) > lsr_global.c:192: `NULL' undeclared (first use in this function) > lsr_global.c:194: `g' undeclared (first use in this function) > lsr_global.c:194: `o' undeclared (first use in this function) > lsr_global.c: At top level: > lsr_global.c:210: parse error before '*' token > lsr_global.c: In function `_lsr_global_del_outsegment': > lsr_global.c:212: `g' undeclared (first use in this function) > lsr_global.c:212: `o' undeclared (first use in this function) > lsr_global.c:214: `NULL' undeclared (first use in this function) > lsr_global.c: At top level: > lsr_global.c:220: parse error before '*' token > lsr_global.c: In function `lsr_global_find_outsegment_index': > lsr_global.c:223: `o' undeclared (first use in this function) > lsr_global.c:223: `NULL' undeclared (first use in this function) > lsr_global.c:225: `g' undeclared (first use in this function) > lsr_global.c:232: dereferencing pointer to incomplete type > lsr_global.c:239: dereferencing pointer to incomplete type > lsr_global.c:245: dereferencing pointer to incomplete type > lsr_global.c: At top level: > lsr_global.c:251: parse error before '*' token > lsr_global.c: In function `_lsr_global_add_insegment': > lsr_global.c:253: `ip' undeclared (first use in this function) > lsr_global.c:253: `NULL' undeclared (first use in this function) > lsr_global.c:255: `g' undeclared (first use in this function) > lsr_global.c:255: `i' undeclared (first use in this function) > lsr_global.c: At top level: > lsr_global.c:271: parse error before '*' token > lsr_global.c: In function `_lsr_global_del_insegment': > lsr_global.c:273: `g' undeclared (first use in this function) > lsr_global.c:273: `i' undeclared (first use in this function) > lsr_global.c:275: `NULL' undeclared (first use in this function) > lsr_global.c: At top level: > lsr_global.c:281: parse error before '*' token > lsr_global.c: In function `lsr_global_find_insegment_index': > lsr_global.c:284: `i' undeclared (first use in this function) > lsr_global.c:284: `NULL' undeclared (first use in this function) > lsr_global.c:286: `g' undeclared (first use in this function) > lsr_global.c:293: dereferencing pointer to incomplete type > lsr_global.c:300: dereferencing pointer to incomplete type > lsr_global.c:306: dereferencing pointer to incomplete type > lsr_global.c: At top level: > lsr_global.c:312: parse error before '*' token > lsr_global.c: In function `_lsr_global_add_xconnect': > lsr_global.c:314: `xp' undeclared (first use in this function) > lsr_global.c:314: `NULL' undeclared (first use in this function) > lsr_global.c:316: `g' undeclared (first use in this function) > lsr_global.c:316: `x' undeclared (first use in this function) > lsr_global.c: At top level: > lsr_global.c:332: parse error before '*' token > lsr_global.c: In function `_lsr_global_del_xconnect': > lsr_global.c:334: `g' undeclared (first use in this function) > lsr_global.c:334: `x' undeclared (first use in this function) > lsr_global.c:336: `NULL' undeclared (first use in this function) > lsr_global.c: At top level: > lsr_global.c:342: parse error before '*' token > lsr_global.c: In function `lsr_global_find_xconnect_index': > lsr_global.c:345: `x' undeclared (first use in this function) > lsr_global.c:345: `NULL' undeclared (first use in this function) > lsr_global.c:347: `g' undeclared (first use in this function) > lsr_global.c:354: `xconnect' undeclared (first use in this function) > lsr_global.c: At top level: > lsr_global.c:371: parse error before '*' token > lsr_global.c: In function `lsr_global_find_xconnect_index2': > lsr_global.c:374: `iseg' undeclared (first use in this function) > lsr_global.c:374: `NULL' undeclared (first use in this function) > lsr_global.c:375: `x' undeclared (first use in this function) > lsr_global.c:377: `g' undeclared (first use in this function) > lsr_global.c:377: `in' undeclared (first use in this function) > lsr_global.c:377: `out' undeclared (first use in this function) > lsr_global.c:386: `xconnect' undeclared (first use in this function) > lsr_global.c: At top level: > lsr_global.c:398: parse error before '*' token > lsr_global.c: In function `_lsr_global_add_ftn': > lsr_global.c:400: `fp' undeclared (first use in this function) > lsr_global.c:400: `NULL' undeclared (first use in this function) > lsr_global.c:402: `g' undeclared (first use in this function) > lsr_global.c:402: `f' undeclared (first use in this function) > lsr_global.c: At top level: > lsr_global.c:418: parse error before '*' token > lsr_global.c: In function `_lsr_global_del_ftn': > lsr_global.c:420: `g' undeclared (first use in this function) > lsr_global.c:420: `f' undeclared (first use in this function) > lsr_global.c:422: `NULL' undeclared (first use in this function) > lsr_global.c: At top level: > lsr_global.c:428: parse error before '*' token > lsr_global.c: In function `lsr_global_find_ftn_index': > lsr_global.c:431: `f' undeclared (first use in this function) > lsr_global.c:431: `NULL' undeclared (first use in this function) > lsr_global.c:433: `g' undeclared (first use in this function) > lsr_global.c:440: `ftn' undeclared (first use in this function) > lsr_global.c: At top level: > lsr_global.c:457: parse error before '*' token > lsr_global.c: In function `lsr_global_find_ftn_index2': > lsr_global.c:460: `fp' undeclared (first use in this function) > lsr_global.c:460: `NULL' undeclared (first use in this function) > lsr_global.c:462: `g' undeclared (first use in this function) > lsr_global.c:462: `f' undeclared (first use in this function) > lsr_global.c:471: `ftn' undeclared (first use in this function) > lsr_global.c: At top level: > /usr/src/ldp-portable/common/mpls_struct.h:184: storage size of `host' > isn't known > lsr_struct.h:65: storage size of `info' isn't known > make: *** [lsr_global.o] Error 1 > > > Looks like i dont have mpls_handle_type.h maybe the problem is there but > theres no file with this name in mpls-linux or ldp-portable, what am i > doing wrong ??? > > > Regards > > Javier Sanchez > sj...@te... > > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu |
|
From: <SJ...@te...> - 2003-02-01 18:29:28
|
Hi all,
i have succesfully applied the mpls-linux patch to a 2.4.18 kernel, onto
a redhat 8 linux recompiled the kernbel and compiled mplsadm2
succesfully, but cant get ldp compilation to work.
Im trying to compile it under the lsr dir because its the only one that
have a Makefile inside, but im getting this error msg:
* This is my CFLAGS envar
CFLAGS -g -I. -I/usr/src/ldp-portable/common -I/usr/src/linux
In file included from lsr_struct.h:14,
from lsr_global.c:10:
/usr/src/ldp-portable/common/mpls_struct.h:16:30: mpls_handle_type.h: No
such file or directory
In file included from lsr_struct.h:14,
from lsr_global.c:10:
/usr/src/ldp-portable/common/mpls_struct.h:127: parse error before "uint8_t"
cc1: warnings being treated as errors
/usr/src/ldp-portable/common/mpls_struct.h:127: warning: no semicolon at
end of struct or union
/usr/src/ldp-portable/common/mpls_struct.h:127: warning: no semicolon at
end of struct or union
/usr/src/ldp-portable/common/mpls_struct.h:128: warning: type defaults
to `int' in declaration of `ipv4'
/usr/src/ldp-portable/common/mpls_struct.h:128: warning: data definition
has no type or storage class
/usr/src/ldp-portable/common/mpls_struct.h:129: warning: type defaults
to `int' in declaration of `u'
/usr/src/ldp-portable/common/mpls_struct.h:129: warning: data definition
has no type or storage class
/usr/src/ldp-portable/common/mpls_struct.h:130: parse error before '}' token
/usr/src/ldp-portable/common/mpls_struct.h:130: warning: type defaults
to `int' in declaration of `mpls_inet_addr'
/usr/src/ldp-portable/common/mpls_struct.h:130: warning: data definition
has no type or storage class
/usr/src/ldp-portable/common/mpls_struct.h:133: field `addr' has
incomplete type
/usr/src/ldp-portable/common/mpls_struct.h:134: parse error before
"uint16_t"
/usr/src/ldp-portable/common/mpls_struct.h:134: warning: no semicolon at
end of struct or union
/usr/src/ldp-portable/common/mpls_struct.h:135: warning: type defaults
to `int' in declaration of `if_handle'
/usr/src/ldp-portable/common/mpls_struct.h:135: warning: data definition
has no type or storage class
/usr/src/ldp-portable/common/mpls_struct.h:136: warning: type defaults
to `int' in declaration of `mpls_dest'
/usr/src/ldp-portable/common/mpls_struct.h:136: warning: data definition
has no type or storage class
/usr/src/ldp-portable/common/mpls_struct.h:143: parse error before
"uint16_t"
/usr/src/ldp-portable/common/mpls_struct.h:143: warning: no semicolon at
end of struct or union
/usr/src/ldp-portable/common/mpls_struct.h:143: warning: no semicolon at
end of struct or union
/usr/src/ldp-portable/common/mpls_struct.h:144: warning: no semicolon at
end of struct or union
/usr/src/ldp-portable/common/mpls_struct.h:145: warning: type defaults
to `int' in declaration of `atm'
/usr/src/ldp-portable/common/mpls_struct.h:145: warning: data definition
has no type or storage class
/usr/src/ldp-portable/common/mpls_struct.h:146: parse error before "gen"
/usr/src/ldp-portable/common/mpls_struct.h:146: warning: type defaults
to `int' in declaration of `gen'
/usr/src/ldp-portable/common/mpls_struct.h:146: warning: data definition
has no type or storage class
/usr/src/ldp-portable/common/mpls_struct.h:147: parse error before "fr"
/usr/src/ldp-portable/common/mpls_struct.h:147: warning: type defaults
to `int' in declaration of `fr'
/usr/src/ldp-portable/common/mpls_struct.h:147: warning: data definition
has no type or storage class
/usr/src/ldp-portable/common/mpls_struct.h:148: warning: type defaults
to `int' in declaration of `max'
/usr/src/ldp-portable/common/mpls_struct.h:148: warning: type defaults
to `int' in declaration of `min'
/usr/src/ldp-portable/common/mpls_struct.h:148: warning: data definition
has no type or storage class
/usr/src/ldp-portable/common/mpls_struct.h:149: parse error before '}' token
/usr/src/ldp-portable/common/mpls_struct.h:149: warning: type defaults
to `int' in declaration of `mpls_range'
/usr/src/ldp-portable/common/mpls_struct.h:149: warning: data definition
has no type or storage class
/usr/src/ldp-portable/common/mpls_struct.h:168: field `ip' has
incomplete type
/usr/src/ldp-portable/common/mpls_struct.h:170: field `ip' has
incomplete type
/usr/src/ldp-portable/common/mpls_struct.h:171: parse error before
"mpls_if_handle"
/usr/src/ldp-portable/common/mpls_struct.h:171: warning: no semicolon at
end of struct or union
/usr/src/ldp-portable/common/mpls_struct.h:171: warning: no semicolon at
end of struct or union
/usr/src/ldp-portable/common/mpls_struct.h:173: parse error before
"if_handle"
/usr/src/ldp-portable/common/mpls_struct.h:173: warning: type defaults
to `int' in declaration of `if_handle'
/usr/src/ldp-portable/common/mpls_struct.h:173: warning: data definition
has no type or storage class
/usr/src/ldp-portable/common/mpls_struct.h:174: warning: type defaults
to `int' in declaration of `u'
/usr/src/ldp-portable/common/mpls_struct.h:174: warning: data definition
has no type or storage class
/usr/src/ldp-portable/common/mpls_struct.h:175: parse error before '}' token
/usr/src/ldp-portable/common/mpls_struct.h:175: warning: type defaults
to `int' in declaration of `mpls_nexthop'
/usr/src/ldp-portable/common/mpls_struct.h:175: warning: data definition
has no type or storage class
/usr/src/ldp-portable/common/mpls_struct.h:181: field `network' has
incomplete type
/usr/src/ldp-portable/common/mpls_struct.h:182: parse error before "uint8_t"
/usr/src/ldp-portable/common/mpls_struct.h:182: warning: no semicolon at
end of struct or union
/usr/src/ldp-portable/common/mpls_struct.h:182: warning: no semicolon at
end of struct or union
/usr/src/ldp-portable/common/mpls_struct.h:186: parse error before
"uint32_t"
/usr/src/ldp-portable/common/mpls_struct.h:186: warning: no semicolon at
end of struct or union
/usr/src/ldp-portable/common/mpls_struct.h:187: warning: type defaults
to `int' in declaration of `group_id'
/usr/src/ldp-portable/common/mpls_struct.h:187: warning: data definition
has no type or storage class
/usr/src/ldp-portable/common/mpls_struct.h:188: parse error before "type"
/usr/src/ldp-portable/common/mpls_struct.h:188: warning: type defaults
to `int' in declaration of `type'
/usr/src/ldp-portable/common/mpls_struct.h:188: warning: data definition
has no type or storage class
/usr/src/ldp-portable/common/mpls_struct.h:189: warning: type defaults
to `int' in declaration of `l2cc'
/usr/src/ldp-portable/common/mpls_struct.h:189: warning: data definition
has no type or storage class
/usr/src/ldp-portable/common/mpls_struct.h:190: parse error before '}' token
/usr/src/ldp-portable/common/mpls_struct.h:190: warning: type defaults
to `int' in declaration of `u'
/usr/src/ldp-portable/common/mpls_struct.h:190: warning: data definition
has no type or storage class
/usr/src/ldp-portable/common/mpls_struct.h:193: parse error before '}' token
/usr/src/ldp-portable/common/mpls_struct.h:193: warning: type defaults
to `int' in declaration of `mpls_fec'
/usr/src/ldp-portable/common/mpls_struct.h:193: warning: data definition
has no type or storage class
/usr/src/ldp-portable/common/mpls_struct.h:197: parse error before
"uint32_t"
/usr/src/ldp-portable/common/mpls_struct.h:197: warning: no semicolon at
end of struct or union
/usr/src/ldp-portable/common/mpls_struct.h:198: warning: type defaults
to `int' in declaration of `labelspace'
/usr/src/ldp-portable/common/mpls_struct.h:198: warning: data definition
has no type or storage class
/usr/src/ldp-portable/common/mpls_struct.h:199: parse error before "family"
/usr/src/ldp-portable/common/mpls_struct.h:199: warning: type defaults
to `int' in declaration of `family'
/usr/src/ldp-portable/common/mpls_struct.h:199: warning: data definition
has no type or storage class
/usr/src/ldp-portable/common/mpls_struct.h:200: parse error before "handle"
/usr/src/ldp-portable/common/mpls_struct.h:200: warning: type defaults
to `int' in declaration of `handle'
/usr/src/ldp-portable/common/mpls_struct.h:200: warning: data definition
has no type or storage class
/usr/src/ldp-portable/common/mpls_struct.h:202: parse error before '}' token
/usr/src/ldp-portable/common/mpls_struct.h:202: warning: type defaults
to `int' in declaration of `mpls_insegment'
/usr/src/ldp-portable/common/mpls_struct.h:202: warning: data definition
has no type or storage class
/usr/src/ldp-portable/common/mpls_struct.h:208: parse error before
"mpls_outsegment_handle"
/usr/src/ldp-portable/common/mpls_struct.h:208: warning: no semicolon at
end of struct or union
/usr/src/ldp-portable/common/mpls_struct.h:210: parse error before '}' token
/usr/src/ldp-portable/common/mpls_struct.h:210: warning: type defaults
to `int' in declaration of `mpls_outsegment'
/usr/src/ldp-portable/common/mpls_struct.h:210: warning: data definition
has no type or storage class
/usr/src/ldp-portable/common/mpls_struct.h:213: parse error before
"uint32_t"
/usr/src/ldp-portable/common/mpls_struct.h:213: warning: no semicolon at
end of struct or union
/usr/src/ldp-portable/common/mpls_struct.h:214: warning: type defaults
to `int' in declaration of `stack_size'
/usr/src/ldp-portable/common/mpls_struct.h:214: warning: data definition
has no type or storage class
/usr/src/ldp-portable/common/mpls_struct.h:217: parse error before "handle"
/usr/src/ldp-portable/common/mpls_struct.h:217: warning: type defaults
to `int' in declaration of `handle'
/usr/src/ldp-portable/common/mpls_struct.h:217: warning: data definition
has no type or storage class
/usr/src/ldp-portable/common/mpls_struct.h:219: parse error before '}' token
/usr/src/ldp-portable/common/mpls_struct.h:219: warning: type defaults
to `int' in declaration of `mpls_xconnect'
/usr/src/ldp-portable/common/mpls_struct.h:219: warning: data definition
has no type or storage class
In file included from lsr_global.c:10:
lsr_struct.h:15:29: lsr_handle_type.h: No such file or directory
lsr_struct.h:30:30: mpls_handle_type.h: No such file or directory
In file included from lsr_global.c:10:
lsr_struct.h:33: parse error before "uint32_t"
lsr_struct.h:33: warning: no semicolon at end of struct or union
lsr_struct.h:38: parse error before "index"
lsr_struct.h:38: warning: type defaults to `int' in declaration of `index'
lsr_struct.h:38: warning: built-in function `index' declared as non-function
lsr_struct.h:38: warning: data definition has no type or storage class
lsr_struct.h:41: parse error before '}' token
lsr_struct.h:41: warning: type defaults to `int' in declaration of
`lsr_insegment'
lsr_struct.h:41: warning: data definition has no type or storage class
lsr_struct.h:44: parse error before "uint32_t"
lsr_struct.h:44: warning: no semicolon at end of struct or union
lsr_struct.h:45: conflicting types for `_global'
lsr_struct.h:35: previous declaration of `_global'
lsr_struct.h:50: parse error before "index"
lsr_struct.h:50: warning: type defaults to `int' in declaration of `index'
lsr_struct.h:50: warning: data definition has no type or storage class
lsr_struct.h:51: conflicting types for `info'
lsr_struct.h:39: previous declaration of `info'
lsr_struct.h:55: parse error before "if_index"
lsr_struct.h:55: warning: type defaults to `int' in declaration of
`if_index'
lsr_struct.h:55: warning: data definition has no type or storage class
lsr_struct.h:56: warning: type defaults to `int' in declaration of
`lsr_outsegment'
lsr_struct.h:56: warning: data definition has no type or storage class
lsr_struct.h:59: parse error before "uint32_t"
lsr_struct.h:59: warning: no semicolon at end of struct or union
lsr_struct.h:60: conflicting types for `_outsegment'
lsr_struct.h:34: previous declaration of `_outsegment'
lsr_struct.h:62: conflicting types for `_global'
lsr_struct.h:45: previous declaration of `_global'
lsr_struct.h:64: parse error before "index"
lsr_struct.h:64: warning: type defaults to `int' in declaration of `index'
lsr_struct.h:64: warning: data definition has no type or storage class
lsr_struct.h:65: conflicting types for `info'
lsr_struct.h:51: previous declaration of `info'
lsr_struct.h:70: parse error before "outsegment_index"
lsr_struct.h:70: warning: type defaults to `int' in declaration of
`outsegment_index'
lsr_struct.h:70: warning: data definition has no type or storage class
lsr_struct.h:71: parse error before "insegment_index"
lsr_struct.h:71: warning: type defaults to `int' in declaration of
`insegment_index'
lsr_struct.h:71: warning: data definition has no type or storage class
lsr_struct.h:72: warning: type defaults to `int' in declaration of
`lsr_xconnect'
lsr_struct.h:72: warning: data definition has no type or storage class
lsr_struct.h:75: parse error before "uint32_t"
lsr_struct.h:75: warning: no semicolon at end of struct or union
lsr_struct.h:76: conflicting types for `_outsegment'
lsr_struct.h:60: previous declaration of `_outsegment'
lsr_struct.h:77: conflicting types for `_global'
lsr_struct.h:62: previous declaration of `_global'
lsr_struct.h:79: parse error before "index"
lsr_struct.h:79: warning: type defaults to `int' in declaration of `index'
lsr_struct.h:79: warning: data definition has no type or storage class
lsr_struct.h:80: parse error before "fec"
lsr_struct.h:80: warning: type defaults to `int' in declaration of `fec'
lsr_struct.h:80: warning: data definition has no type or storage class
lsr_struct.h:84: parse error before "outsegment_index"
lsr_struct.h:84: warning: type defaults to `int' in declaration of
`outsegment_index'
lsr_struct.h:84: warning: data definition has no type or storage class
lsr_struct.h:85: warning: type defaults to `int' in declaration of `lsr_ftn'
lsr_struct.h:85: warning: data definition has no type or storage class
lsr_struct.h:88: parse error before "uint32_t"
lsr_struct.h:88: warning: no semicolon at end of struct or union
lsr_struct.h:89: conflicting types for `_global'
lsr_struct.h:77: previous declaration of `_global'
lsr_struct.h:92: parse error before "index"
lsr_struct.h:92: warning: type defaults to `int' in declaration of `index'
lsr_struct.h:92: warning: data definition has no type or storage class
lsr_struct.h:95: parse error before "handle"
lsr_struct.h:95: warning: type defaults to `int' in declaration of `handle'
lsr_struct.h:95: warning: data definition has no type or storage class
lsr_struct.h:97: warning: type defaults to `int' in declaration of `lsr_if'
lsr_struct.h:97: warning: data definition has no type or storage class
lsr_struct.h:106: parse error before "mpls_lock_handle"
lsr_struct.h:106: warning: no semicolon at end of struct or union
lsr_struct.h:107: warning: type defaults to `int' in declaration of
`user_data'
lsr_struct.h:107: warning: data definition has no type or storage class
lsr_struct.h:109: parse error before "ifmgr_handle"
lsr_struct.h:109: warning: type defaults to `int' in declaration of
`ifmgr_handle'
lsr_struct.h:109: warning: data definition has no type or storage class
lsr_struct.h:110: parse error before "mpls_handle"
lsr_struct.h:110: warning: type defaults to `int' in declaration of
`mpls_handle'
lsr_struct.h:110: warning: data definition has no type or storage class
lsr_struct.h:113: parse error before '}' token
lsr_struct.h:113: warning: type defaults to `int' in declaration of
`lsr_global'
lsr_struct.h:113: warning: data definition has no type or storage class
In file included from lsr_global.c:11:
lsr_global.h:15: parse error before '*' token
lsr_global.h:15: parse error before "data"
lsr_global.h:15: warning: type defaults to `int' in declaration of
`lsr_global_create'
lsr_global.h:15: warning: data definition has no type or storage class
lsr_global.h:16: parse error before '*' token
lsr_global.h:17: parse error before '*' token
lsr_global.h:18: parse error before '*' token
lsr_global.h:20: parse error before '*' token
lsr_global.h:22: parse error before '*' token
lsr_global.h:24: parse error before '*' token
lsr_global.h:27: parse error before '*' token
lsr_global.h:29: parse error before '*' token
lsr_global.h:31: parse error before '*' token
lsr_global.h:34: parse error before '*' token
lsr_global.h:36: parse error before '*' token
lsr_global.h:38: parse error before '*' token
lsr_global.h:40: parse error before '*' token
lsr_global.h:43: parse error before '*' token
lsr_global.h:45: parse error before '*' token
lsr_global.h:46: parse error before '*' token
lsr_global.h:47: parse error before '*' token
lsr_global.h:47: parse error before '*' token
lsr_global.h:47: warning: type defaults to `int' in declaration of
`lsr_global_find_if_ifhandle'
lsr_global.h:47: warning: data definition has no type or storage class
lsr_global.h:49: parse error before '*' token
lsr_global.h:51: parse error before '*' token
lsr_global.h:53: parse error before '*' token
lsr_global.h:55: parse error before '*' token
In file included from lsr_global.c:12:
lsr_outsegment.h:15: parse error before '*' token
lsr_outsegment.h:15: warning: type defaults to `int' in declaration of
`lsr_outsegment_create'
lsr_outsegment.h:15: warning: data definition has no type or storage class
lsr_outsegment.h:16: parse error before '*' token
lsr_outsegment.h:17: parse error before "_lsr_outsegment_get_next_index"
lsr_outsegment.h:17: warning: type defaults to `int' in declaration of
`_lsr_outsegment_get_next_index'
lsr_outsegment.h:17: warning: data definition has no type or storage class
lsr_outsegment.h:18: parse error before '*' token
lsr_outsegment.h:19: parse error before '*' token
lsr_outsegment.h:20: parse error before '*' token
lsr_outsegment.h:21: parse error before '*' token
lsr_outsegment.h:22: parse error before '*' token
lsr_outsegment.h:23: parse error before '*' token
In file included from lsr_global.c:13:
lsr_insegment.h:15: parse error before '*' token
lsr_insegment.h:15: warning: type defaults to `int' in declaration of
`lsr_insegment_create'
lsr_insegment.h:15: warning: data definition has no type or storage class
lsr_insegment.h:16: parse error before '*' token
lsr_insegment.h:17: parse error before "_lsr_insegment_get_next_index"
lsr_insegment.h:17: warning: type defaults to `int' in declaration of
`_lsr_insegment_get_next_index'
lsr_insegment.h:17: warning: data definition has no type or storage class
lsr_insegment.h:18: parse error before '*' token
lsr_insegment.h:19: parse error before '*' token
In file included from lsr_global.c:14:
lsr_xconnect.h:15: parse error before '*' token
lsr_xconnect.h:15: warning: type defaults to `int' in declaration of
`lsr_xconnect_create'
lsr_xconnect.h:15: warning: data definition has no type or storage class
lsr_xconnect.h:16: parse error before '*' token
lsr_xconnect.h:17: parse error before "_lsr_xconnect_get_next_index"
lsr_xconnect.h:17: warning: type defaults to `int' in declaration of
`_lsr_xconnect_get_next_index'
lsr_xconnect.h:17: warning: data definition has no type or storage class
lsr_xconnect.h:18: parse error before '*' token
lsr_xconnect.h:19: parse error before '*' token
lsr_xconnect.h:20: parse error before '*' token
lsr_xconnect.h:21: parse error before '*' token
In file included from lsr_global.c:15:
lsr_ftn.h:15: parse error before '*' token
lsr_ftn.h:15: warning: type defaults to `int' in declaration of
`lsr_ftn_create'
lsr_ftn.h:15: warning: data definition has no type or storage class
lsr_ftn.h:16: parse error before '*' token
lsr_ftn.h:17: parse error before "_lsr_ftn_get_next_index"
lsr_ftn.h:17: warning: type defaults to `int' in declaration of
`_lsr_ftn_get_next_index'
lsr_ftn.h:17: warning: data definition has no type or storage class
lsr_ftn.h:18: parse error before '*' token
lsr_ftn.h:19: parse error before '*' token
In file included from lsr_global.c:16:
lsr_if.h:15: parse error before '*' token
lsr_if.h:15: warning: type defaults to `int' in declaration of
`lsr_if_create'
lsr_if.h:15: warning: data definition has no type or storage class
lsr_if.h:16: parse error before '*' token
lsr_if.h:17: parse error before "_lsr_if_get_next_index"
lsr_if.h:17: warning: type defaults to `int' in declaration of
`_lsr_if_get_next_index'
lsr_if.h:17: warning: data definition has no type or storage class
lsr_if.h:18: parse error before '*' token
lsr_if.h:19: parse error before '*' token
In file included from lsr_global.c:18:
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:14:24: ldp_struct.h: No
such file or directory
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:15:24: ldp_struct.h: No
such file or directory
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:16:30:
mpls_handle_type.h: No such file or directory
In file included from lsr_global.c:18:
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:22: parse error before
"handle"
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:28: warning: type
defaults to `int' in declaration of `mpls_ifmgr_handle'
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:28: parse error before
"handle"
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:35: parse error before
"mpls_ifmgr_open"
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:35: warning: type
defaults to `int' in declaration of `mpls_instance_handle'
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:35: parse error before
"handle"
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:36: warning: type
defaults to `int' in declaration of `mpls_ifmgr_open'
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:36: warning: data
definition has no type or storage class
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:41: warning: type
defaults to `int' in declaration of `mpls_ifmgr_handle'
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:41: parse error before
"handle"
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:47: parse error before
"mpls_ifmgr_open_if"
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:47: warning: type
defaults to `int' in declaration of `mpls_ifmgr_handle'
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:48: warning: type
defaults to `int' in declaration of `mpls_ifmgr_open_if'
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:48: warning: data
definition has no type or storage class
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:53: warning: type
defaults to `int' in declaration of `mpls_ifmgr_handle'
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:53: warning: type
defaults to `int' in declaration of `mpls_if_handle'
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:53: parse error before "iff"
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:60: warning: type
defaults to `int' in declaration of `mpls_ifmgr_handle'
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:61: warning: type
defaults to `int' in declaration of `mpls_if_handle'
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:61: parse error before "iff"
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:69: warning: type
defaults to `int' in declaration of `mpls_ifmgr_handle'
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:70: warning: type
defaults to `int' in declaration of `mpls_if_handle'
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:70: parse error before "iff"
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:76: warning: type
defaults to `int' in declaration of `mpls_ifmgr_handle'
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:77: parse error before
"mpls_if_handle"
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:83: warning: type
defaults to `int' in declaration of `mpls_ifmgr_handle'
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:84: parse error before
"mpls_if_handle"
/usr/src/ldp-portable/common/mpls_ifmgr_impl.h:86: parse error before
"ifmgr_handle"
In file included from lsr_global.c:19:
/usr/src/ldp-portable/common/mpls_mpls_impl.h:22: parse error before
"handle"
/usr/src/ldp-portable/common/mpls_mpls_impl.h:28: parse error before
"mpls_mpls_open"
/usr/src/ldp-portable/common/mpls_mpls_impl.h:28: parse error before
"handle"
/usr/src/ldp-portable/common/mpls_mpls_impl.h:28: warning: type defaults
to `int' in declaration of `mpls_mpls_open'
/usr/src/ldp-portable/common/mpls_mpls_impl.h:28: warning: data
definition has no type or storage class
/usr/src/ldp-portable/common/mpls_mpls_impl.h:33: parse error before
"handle"
/usr/src/ldp-portable/common/mpls_mpls_impl.h:39: parse error before
"handle"
/usr/src/ldp-portable/common/mpls_mpls_impl.h:45: parse error before
"handle"
/usr/src/ldp-portable/common/mpls_mpls_impl.h:51: parse error before
"handle"
/usr/src/ldp-portable/common/mpls_mpls_impl.h:57: parse error before
"handle"
/usr/src/ldp-portable/common/mpls_mpls_impl.h:63: parse error before
"handle"
/usr/src/ldp-portable/common/mpls_mpls_impl.h:69: parse error before
"handle"
/usr/src/ldp-portable/common/mpls_mpls_impl.h:76: parse error before
"handle"
/usr/src/ldp-portable/common/mpls_mpls_impl.h:82: parse error before
"handle"
/usr/src/ldp-portable/common/mpls_mpls_impl.h:85: parse error before
"handle"
In file included from lsr_global.c:20:
/usr/src/ldp-portable/common/mpls_lock_impl.h:19: parse error before
"handle"
/usr/src/ldp-portable/common/mpls_lock_impl.h:25: parse error before
"mpls_lock_create"
/usr/src/ldp-portable/common/mpls_lock_impl.h:25: warning: type defaults
to `int' in declaration of `mpls_lock_key_type'
/usr/src/ldp-portable/common/mpls_lock_impl.h:25: parse error before "key"
/usr/src/ldp-portable/common/mpls_lock_impl.h:25: warning: type defaults
to `int' in declaration of `mpls_lock_create'
/usr/src/ldp-portable/common/mpls_lock_impl.h:25: warning: data
definition has no type or storage class
/usr/src/ldp-portable/common/mpls_lock_impl.h:30: parse error before
"handle"
/usr/src/ldp-portable/common/mpls_lock_impl.h:35: parse error before
"handle"
/usr/src/ldp-portable/common/mpls_lock_impl.h:40: parse error before
"handle"
In file included from lsr_global.c:21:
/usr/src/ldp-portable/common/mpls_mm_impl.h:19: warning: type defaults
to `int' in declaration of `mpls_size_type'
/usr/src/ldp-portable/common/mpls_mm_impl.h:19: parse error before "size"
In file included from lsr_global.c:22:
/usr/src/ldp-portable/common/mpls_trace_impl.h:13:24: mpls_trace.h: No
such file or directory
lsr_global.c:24: parse error before '*' token
lsr_global.c:24: parse error before "data"
lsr_global.c:25: warning: return type defaults to `int'
lsr_global.c: In function `lsr_global_create':
lsr_global.c:26: `g' undeclared (first use in this function)
lsr_global.c:26: (Each undeclared identifier is reported only once
lsr_global.c:26: for each function it appears in.)
lsr_global.c:26: parse error before ')' token
lsr_global.c:29: warning: implicit declaration of function `memset'
lsr_global.c:31: warning: implicit declaration of function `LDP_ENTER'
lsr_global.c:43: `data' undeclared (first use in this function)
lsr_global.c:47: warning: implicit declaration of function `LDP_EXIT'
lsr_global.c: At top level:
lsr_global.c:53: parse error before '*' token
lsr_global.c: In function `lsr_global_startup':
lsr_global.c:55: `g' undeclared (first use in this function)
lsr_global.c:55: `NULL' undeclared (first use in this function)
lsr_global.c: At top level:
lsr_global.c:82: parse error before '*' token
lsr_global.c: In function `lsr_global_shutdown':
lsr_global.c:84: `g' undeclared (first use in this function)
lsr_global.c: At top level:
lsr_global.c:101: parse error before '*' token
lsr_global.c: In function `lsr_global_delete':
lsr_global.c:103: `g' undeclared (first use in this function)
lsr_global.c:105: warning: implicit declaration of function `LDP_PRINT'
lsr_global.c: At top level:
lsr_global.c:113: parse error before '*' token
lsr_global.c: In function `_lsr_global_add_if':
lsr_global.c:115: `ip' undeclared (first use in this function)
lsr_global.c:115: `NULL' undeclared (first use in this function)
lsr_global.c:117: `g' undeclared (first use in this function)
lsr_global.c:117: `i' undeclared (first use in this function)
lsr_global.c: At top level:
lsr_global.c:133: parse error before '*' token
lsr_global.c: In function `_lsr_global_del_if':
lsr_global.c:135: `g' undeclared (first use in this function)
lsr_global.c:135: `i' undeclared (first use in this function)
lsr_global.c:137: `NULL' undeclared (first use in this function)
lsr_global.c: At top level:
lsr_global.c:143: parse error before '*' token
lsr_global.c: In function `lsr_global_find_if_index':
lsr_global.c:146: `i' undeclared (first use in this function)
lsr_global.c:146: `NULL' undeclared (first use in this function)
lsr_global.c:148: `g' undeclared (first use in this function)
lsr_global.c:155: dereferencing pointer to incomplete type
lsr_global.c:162: dereferencing pointer to incomplete type
lsr_global.c:168: dereferencing pointer to incomplete type
lsr_global.c: At top level:
lsr_global.c:172: parse error before '*' token
lsr_global.c:172: parse error before '*' token
lsr_global.c:173: warning: return type defaults to `int'
lsr_global.c: In function `lsr_global_find_if_ifhandle':
lsr_global.c:174: `i' undeclared (first use in this function)
lsr_global.c:174: `NULL' undeclared (first use in this function)
lsr_global.c:176: `g' undeclared (first use in this function)
lsr_global.c:176: `ifhandle' undeclared (first use in this function)
lsr_global.c: At top level:
lsr_global.c:190: parse error before '*' token
lsr_global.c: In function `_lsr_global_add_outsegment':
lsr_global.c:192: `op' undeclared (first use in this function)
lsr_global.c:192: `NULL' undeclared (first use in this function)
lsr_global.c:194: `g' undeclared (first use in this function)
lsr_global.c:194: `o' undeclared (first use in this function)
lsr_global.c: At top level:
lsr_global.c:210: parse error before '*' token
lsr_global.c: In function `_lsr_global_del_outsegment':
lsr_global.c:212: `g' undeclared (first use in this function)
lsr_global.c:212: `o' undeclared (first use in this function)
lsr_global.c:214: `NULL' undeclared (first use in this function)
lsr_global.c: At top level:
lsr_global.c:220: parse error before '*' token
lsr_global.c: In function `lsr_global_find_outsegment_index':
lsr_global.c:223: `o' undeclared (first use in this function)
lsr_global.c:223: `NULL' undeclared (first use in this function)
lsr_global.c:225: `g' undeclared (first use in this function)
lsr_global.c:232: dereferencing pointer to incomplete type
lsr_global.c:239: dereferencing pointer to incomplete type
lsr_global.c:245: dereferencing pointer to incomplete type
lsr_global.c: At top level:
lsr_global.c:251: parse error before '*' token
lsr_global.c: In function `_lsr_global_add_insegment':
lsr_global.c:253: `ip' undeclared (first use in this function)
lsr_global.c:253: `NULL' undeclared (first use in this function)
lsr_global.c:255: `g' undeclared (first use in this function)
lsr_global.c:255: `i' undeclared (first use in this function)
lsr_global.c: At top level:
lsr_global.c:271: parse error before '*' token
lsr_global.c: In function `_lsr_global_del_insegment':
lsr_global.c:273: `g' undeclared (first use in this function)
lsr_global.c:273: `i' undeclared (first use in this function)
lsr_global.c:275: `NULL' undeclared (first use in this function)
lsr_global.c: At top level:
lsr_global.c:281: parse error before '*' token
lsr_global.c: In function `lsr_global_find_insegment_index':
lsr_global.c:284: `i' undeclared (first use in this function)
lsr_global.c:284: `NULL' undeclared (first use in this function)
lsr_global.c:286: `g' undeclared (first use in this function)
lsr_global.c:293: dereferencing pointer to incomplete type
lsr_global.c:300: dereferencing pointer to incomplete type
lsr_global.c:306: dereferencing pointer to incomplete type
lsr_global.c: At top level:
lsr_global.c:312: parse error before '*' token
lsr_global.c: In function `_lsr_global_add_xconnect':
lsr_global.c:314: `xp' undeclared (first use in this function)
lsr_global.c:314: `NULL' undeclared (first use in this function)
lsr_global.c:316: `g' undeclared (first use in this function)
lsr_global.c:316: `x' undeclared (first use in this function)
lsr_global.c: At top level:
lsr_global.c:332: parse error before '*' token
lsr_global.c: In function `_lsr_global_del_xconnect':
lsr_global.c:334: `g' undeclared (first use in this function)
lsr_global.c:334: `x' undeclared (first use in this function)
lsr_global.c:336: `NULL' undeclared (first use in this function)
lsr_global.c: At top level:
lsr_global.c:342: parse error before '*' token
lsr_global.c: In function `lsr_global_find_xconnect_index':
lsr_global.c:345: `x' undeclared (first use in this function)
lsr_global.c:345: `NULL' undeclared (first use in this function)
lsr_global.c:347: `g' undeclared (first use in this function)
lsr_global.c:354: `xconnect' undeclared (first use in this function)
lsr_global.c: At top level:
lsr_global.c:371: parse error before '*' token
lsr_global.c: In function `lsr_global_find_xconnect_index2':
lsr_global.c:374: `iseg' undeclared (first use in this function)
lsr_global.c:374: `NULL' undeclared (first use in this function)
lsr_global.c:375: `x' undeclared (first use in this function)
lsr_global.c:377: `g' undeclared (first use in this function)
lsr_global.c:377: `in' undeclared (first use in this function)
lsr_global.c:377: `out' undeclared (first use in this function)
lsr_global.c:386: `xconnect' undeclared (first use in this function)
lsr_global.c: At top level:
lsr_global.c:398: parse error before '*' token
lsr_global.c: In function `_lsr_global_add_ftn':
lsr_global.c:400: `fp' undeclared (first use in this function)
lsr_global.c:400: `NULL' undeclared (first use in this function)
lsr_global.c:402: `g' undeclared (first use in this function)
lsr_global.c:402: `f' undeclared (first use in this function)
lsr_global.c: At top level:
lsr_global.c:418: parse error before '*' token
lsr_global.c: In function `_lsr_global_del_ftn':
lsr_global.c:420: `g' undeclared (first use in this function)
lsr_global.c:420: `f' undeclared (first use in this function)
lsr_global.c:422: `NULL' undeclared (first use in this function)
lsr_global.c: At top level:
lsr_global.c:428: parse error before '*' token
lsr_global.c: In function `lsr_global_find_ftn_index':
lsr_global.c:431: `f' undeclared (first use in this function)
lsr_global.c:431: `NULL' undeclared (first use in this function)
lsr_global.c:433: `g' undeclared (first use in this function)
lsr_global.c:440: `ftn' undeclared (first use in this function)
lsr_global.c: At top level:
lsr_global.c:457: parse error before '*' token
lsr_global.c: In function `lsr_global_find_ftn_index2':
lsr_global.c:460: `fp' undeclared (first use in this function)
lsr_global.c:460: `NULL' undeclared (first use in this function)
lsr_global.c:462: `g' undeclared (first use in this function)
lsr_global.c:462: `f' undeclared (first use in this function)
lsr_global.c:471: `ftn' undeclared (first use in this function)
lsr_global.c: At top level:
/usr/src/ldp-portable/common/mpls_struct.h:184: storage size of `host'
isn't known
lsr_struct.h:65: storage size of `info' isn't known
make: *** [lsr_global.o] Error 1
Looks like i dont have mpls_handle_type.h maybe the problem is there but
theres no file with this name in mpls-linux or ldp-portable, what am i
doing wrong ???
Regards
Javier Sanchez
sj...@te...
|
|
From: James R. L. <jl...@mi...> - 2003-01-29 15:44:17
|
On Tue, Jan 28, 2003 at 02:37:54PM -0600, deepak wrote: > hi > i have compiles the kernel with the MPLS-LLINUX patch when i want to compile > mplsadm.c i get an error saying linux/mpls.h not found > i have already set the link > ln -s /usr/src/linux/include/linux /usr/include/linux Did you do the same for asm? ln -s /usr/src/linux/include/asm /usr/include/asm To verify things: cd /usr/include/asm pwd cd /usr/include/linux pwd If all of that looks right, then send me the output from you attempt to compile mplsadm2. -- James R. Leu |
|
From: deepak <dxb...@wi...> - 2003-01-28 20:38:15
|
hi i have compiles the kernel with the MPLS-LLINUX patch when i want to compile mplsadm.c i get an error saying linux/mpls.h not found i have already set the link ln -s /usr/src/linux/include/linux /usr/include/linux even thouh im facing this prob plzz help me out on this thank u |
|
From: Zahra F. <mar...@ya...> - 2003-01-25 08:34:14
|
Dear all I woulk like to build a MPLS LINUX Router with Diffserv capability, so I downloaded mpls-linux-1.172 , ldp-portable-0.305 and kernel release 2.4.17.I changed system hedears and copied kernel v2.4.17 to usr/src/ and extract it then I patched : patch -p1 < ../mpls-linux-1.1/patches/linux-mpls.diff but 2 failed occured and 2 .rej files are created: ./include/linux/if-arp.h.rej ./net/netsyms.c.rej How can I fix them? Thank you for your help and sorry for my poor english. Best Regards Z.Farahmand --------------------------------- Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now |
|
From: James R. L. <jl...@mi...> - 2003-01-22 15:04:56
|
On Tue, Jan 21, 2003 at 06:02:59PM +0500, pa...@vs... wrote: > hello everyone, > > i want to test mpls over atm . > do i need to patch a seperate file to enable this support in my MPLS kernel similar to ipatbles ,ppp,etc.. > > i enabled the options specified in "utils/readme" file for MPLS over ATM and recompiled the kernel.how do i add a label to the outgoing packets through atm interface ????????? I removed the MPLS over ATM functionality from the main distribution due to techinical reasons. You will have to go back in the achive to find a version that supports MPLS over ATM. Also you can look to this mailing list archive to find other people who are doing this same thing, they will be able to asnwer your questions. > expecting your reply soon > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu |
|
From: James R. L. <jl...@mi...> - 2003-01-22 15:01:28
|
Take a loot at: Qmulator Home Page: http://www.cs.ucla.edu/NRL/hpi/qmulator/ RSVP-TE daemon for DiffServ over MPLS under Linux: http://dsmpls.atlantis.rug.ac.be/ I know there are others out there doing this type of work, stake a look back at the mailing list archive and see if any of your questions have already been asked/answered. On Sat, Jan 18, 2003 at 11:59:39PM +0100, Krzysztof Musia=B3 wrote: > =09 > Hi I'm using MPLS for study research and I want to use it as a > transport for QoS services - so what is the best method to use it and > what shoud I implement to obtain QoS (LDP??). > I have Alcatel routers and switches with RSVP implementation > with FastEthernet and ATM. Is any method to connect these routers with > my mpls-linux together?=20 >=20 > Krzysztof Musial > km...@is... > Technical University of Wroclaw=20 > POLAND >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts wi= ll > allow you to extend the highest allowed 128 bit encryption to all your=20 > clients even if they use browsers that are limited to 40 bit encryption= .=20 > Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw003= 0en > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general --=20 James R. Leu |
|
From: James R. L. <jl...@mi...> - 2003-01-22 14:56:34
|
On Wed, Jan 22, 2003 at 02:32:12PM +0800, roro wrote: > hi,all > I am reading mplsadm.c. When ioctl is called in it,is mpls_iotls()= in mpls_ioctls,c invoked ? if so ,why? > thanks in advance Are you asking how your user call to ioctl() results in the kernel calling mpls_ioct()? If so, look at: fs/ioctl.c net/socket.c net/ipv4/af_inet.c:inet_ioctl() Jim > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =C7=E9=C8=CB=BD=DA=B2=BB=D2=AA=D4=D9=D7=F6=B9=C2=B6=C0=C8=CB=A3=A1=D4=BC= =BB=E1=C6=E4=CA=B5=BA=DC=BC=F2=B5=A5 http://dating.163.com/ > =CD=F8=D2=D7=BE=E3=C0=D6=B2=BF=CE=AA=C4=E3=BD=A8=D4=EC=D2=BB=B8=F6=B3=AC= =BC=B6=B5=C4=CB=BD=C8=CB=C9=E7=C7=F8=A3=A1 http://our.163.com > =D0=C2=C4=EA=D3=D0=C0=F1=A3=A1 VIP=D3=CA=CF=E4=D2=B2=BF=C9=D2=D4=C3=E2=B7= =D1=D3=C3=A3=A1 http://vip.163.com/payment/MobilePayment.shtml >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: Scholarships for Techies! > Can't afford IT training? All 2003 ictp students receive scholarships. > Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. > www.ictp.com/training/sourceforge.asp > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general --=20 James R. Leu |
|
From: roro <mpl...@16...> - 2003-01-22 06:33:54
|
hi,all
I am reading mplsadm.c. When ioctl is called in it,is mpls_iotls() in mpls_ioctls,c invoked ? if so ,why?
thanks in advance
roro
=============================================================
ÇéÈ˽ڲ»ÒªÔÙ×ö¹Â¶ÀÈË£¡Ô¼»áÆäʵºÜ¼òµ¥ http://dating.163.com/
ÍøÒ×¾ãÀÖ²¿ÎªÄ㽨ÔìÒ»¸ö³¬¼¶µÄ˽ÈËÉçÇø£¡ http://our.163.com
ÐÂÄêÓÐÀñ£¡ VIPÓÊÏäÒ²¿ÉÒÔÃâ·ÑÓã¡ http://vip.163.com/payment/MobilePayment.shtml
|
|
From: <pa...@vs...> - 2003-01-21 12:34:55
|
hello everyone, i want to test mpls over atm . do i need to patch a seperate file to enable this support in my MPLS kernel similar to ipatbles ,ppp,etc.. i enabled the options specified in "utils/readme" file for MPLS over ATM and recompiled the kernel.how do i add a label to the outgoing packets through atm interface ????????? expecting your reply soon |
|
From: <km...@is...> - 2003-01-18 23:01:07
|
Hi I'm using MPLS for study research and I want to use it as a transport for QoS services - so what is the best method to use it and what shoud I implement to obtain QoS (LDP??). I have Alcatel routers and switches with RSVP implementation with FastEthernet and ATM. Is any method to connect these routers with my mpls-linux together? Krzysztof Musial km...@is... Technical University of Wroclaw POLAND |
|
From: Sun J. (Dr) <EJ...@nt...> - 2003-01-14 11:17:01
|
you need to bind the egress label key with the routing table. use "ip =
route add 192.168.8.197/32 via 192.168.8.2 lsp key". the "key" is =
returned by kernel, not the one in your command. you can check the key =
with cf_disp. you'd better read the related documents and the =
mailinglist. there are many discussions.=20
-----Original Message-----
From: roro [mailto:mpl...@16...]
Sent: 2003=C4=EA1=D4=C214=C8=D5 17:25
To: mpl...@li...
Subject: [mpls-linux-general] sorry to ask again
hi,all
Sorry to ask the question again. I asked before but no further info.
I compiled mpls-linux-1.172 in my redhat8.0, and my IP is 192.168.8.2.
Another pc (192.168.8.197)in our lab is installed redhat7.2 and no =
mpls. now I
=20
configure my machine as following :
mplsadm2 -A -O 0
mplsadm2 -O key1 -o push:gen:16:set:eth0:ipv4:192.168.8.197
mplsadm2 -A -I gen:17:0
mplsadm2 -L eth0:0
alse I turn on mpls debug
mplsadm2 -d
next I ping 192.168.8.197(this pc have no mpls)and use ethereal
to capture packets .But I can't see any info about mpls in the=20
ethereal result.=20
I use 'dmesg', but no mpls info except for "mpls version"
I'm anxious for your help,thank you!
roro
=20
=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=C7=E9=C8=CB=BD=DA=B2=BB=D2=AA=D4=D9=D7=F6=B9=C2=B6=C0=C8=CB=A3=A1=D4=BC=BB=
=E1=C6=E4=CA=B5=BA=DC=BC=F2=B5=A5 http://dating.163.com/
=CD=F8=D2=D7=BE=E3=C0=D6=B2=BF=CE=AA=C4=E3=BD=A8=D4=EC=D2=BB=B8=F6=B3=AC=BC=
=B6=B5=C4=CB=BD=C8=CB=C9=E7=C7=F8=A3=A1 http://our.163.com
=D0=C2=C4=EA=D3=D0=C0=F1=A3=A1 =
VIP=D3=CA=CF=E4=D2=B2=BF=C9=D2=D4=C3=E2=B7=D1=D3=C3=A3=A1 =
http://vip.163.com/payment/MobilePayment.shtml
-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
mpls-linux-general mailing list
mpl...@li...
https://lists.sourceforge.net/lists/listinfo/mpls-linux-general
|
|
From: roro <mpl...@16...> - 2003-01-14 09:25:23
|
hi,all
Sorry to ask the question again. I asked before but no further info.
I compiled mpls-linux-1.172 in my redhat8.0, and my IP is 192.168.8.2.
Another pc (192.168.8.197)in our lab is installed redhat7.2 and no mpls. now I
configure my machine as following :
mplsadm2 -A -O 0
mplsadm2 -O key1 -o push:gen:16:set:eth0:ipv4:192.168.8.197
mplsadm2 -A -I gen:17:0
mplsadm2 -L eth0:0
alse I turn on mpls debug
mplsadm2 -d
next I ping 192.168.8.197(this pc have no mpls)and use ethereal
to capture packets .But I can't see any info about mpls in the
ethereal result.
I use 'dmesg', but no mpls info except for "mpls version"
I'm anxious for your help,thank you!
roro
=============================================================
ÇéÈ˽ڲ»ÒªÔÙ×ö¹Â¶ÀÈË£¡Ô¼»áÆäʵºÜ¼òµ¥ http://dating.163.com/
ÍøÒ×¾ãÀÖ²¿ÎªÄ㽨ÔìÒ»¸ö³¬¼¶µÄ˽ÈËÉçÇø£¡ http://our.163.com
ÐÂÄêÓÐÀñ£¡ VIPÓÊÏäÒ²¿ÉÒÔÃâ·ÑÓã¡ http://vip.163.com/payment/MobilePayment.shtml
|
|
From: Sun J. (Dr) <EJ...@nt...> - 2003-01-14 04:47:58
|
it should be, ip route add 192.168.8.197/32 via (egress interface IP address) lsp key1 and here key1 is the returned key by kernel.=20 -----Original Message----- From: roro [mailto:mpl...@16...] Sent: 2003=C4=EA1=D4=C214=C8=D5 12:08 To: mpl...@li... Subject: [mpls-linux-general] err:RTNETLINK answers : no such device hi,all I ran the following commands on my pc: mplsadm2 -A -O 0 mplsadm2 -O key1 -o push:gen:16:set:eth0:ipv4:192.168.8.197 ip route add 192.168.8.197/32 lsp key1 after running "ip route ..." ,err is put out " RTNETLINK answers : no = shuch advice" I can't figure out why it is please help me for it=20 thanks in advance=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =C7=E9=C8=CB=BD=DA=B2=BB=D2=AA=D4=D9=D7=F6=B9=C2=B6=C0=C8=CB=A3=A1=D4=BC=BB= =E1=C6=E4=CA=B5=BA=DC=BC=F2=B5=A5 http://dating.163.com/ =CD=F8=D2=D7=BE=E3=C0=D6=B2=BF=CE=AA=C4=E3=BD=A8=D4=EC=D2=BB=B8=F6=B3=AC=BC= =B6=B5=C4=CB=BD=C8=CB=C9=E7=C7=F8=A3=A1 http://our.163.com =D0=C2=C4=EA=D3=D0=C0=F1=A3=A1 = VIP=D3=CA=CF=E4=D2=B2=BF=C9=D2=D4=C3=E2=B7=D1=D3=C3=A3=A1 = http://vip.163.com/payment/MobilePayment.shtml ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en _______________________________________________ mpls-linux-general mailing list mpl...@li... https://lists.sourceforge.net/lists/listinfo/mpls-linux-general |