Re: [mpls-linux-general] Ldp portable compilation fails
Status: Beta
Brought to you by:
jleu
|
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 |