Re: ebtables2 compile errors
Mohamed Eldesoky <[email protected]>
| Newsgroups | gmane.linux.network.bridge.ebtables.user |
|---|---|
| Message-ID | <[email protected]> |
It is attached now On 7/26/05, Mohamed Eldesoky <[email protected]> wrote: > Checked a fresh copy just now > When I try to compile ebtables2 userspace I get the attached errors > > > On 7/17/05, Bart De Schuymer <[email protected]> wrote: > > Op di, 12-07-2005 te 13:35 +0300, schreef Mohamed Eldesoky: > > > I have checked out the userspace tools from > > > > > > http://cvs.sourceforge.net/viewcvs.py/ebtables/ebtables2/userspace/ebtables2/ > > > And tried to compile it, but it gave lots of warnings and errors. > > > My OS is RHEL AS 3 > > > > > > Any hints ?? > > > > I've been away for 2 weeks. I thought I checked all the changes in my > > local tree into CVS before leaving, but I was wrong. > > Things should work again now, thanks for the report. > > > > cheers, > > Bart > > > > > > > > > -- > Mohamed Eldesoky > www.eldesoky.net > RHCE > -- Mohamed Eldesoky www.eldesoky.net RHCE
error.txt
(text/plain, 16.2 KB)
In file included from communication.c:22: include/ebtables_u.h:27:45: linux/netfilter_bridge/ebtables.h: No such file or directory In file included from communication.c:22: include/ebtables_u.h:46: `EBT_CHAIN_MAXNAMELEN' undeclared here (not in a function) include/ebtables_u.h:68: `EBT_TABLE_MAXNAMELEN' undeclared here (not in a function) include/ebtables_u.h:72: `NF_BR_NUMHOOKS' undeclared here (not in a function) include/ebtables_u.h:98: `EBT_TABLE_MAXNAMELEN' undeclared here (not in a function) include/ebtables_u.h:121: `IFNAMSIZ' undeclared here (not in a function) include/ebtables_u.h:122: `IFNAMSIZ' undeclared here (not in a function) include/ebtables_u.h:123: `IFNAMSIZ' undeclared here (not in a function) include/ebtables_u.h:124: `IFNAMSIZ' undeclared here (not in a function) include/ebtables_u.h:125: `ETH_ALEN' undeclared here (not in a function) include/ebtables_u.h:126: `ETH_ALEN' undeclared here (not in a function) include/ebtables_u.h:127: `ETH_ALEN' undeclared here (not in a function) include/ebtables_u.h:128: `ETH_ALEN' undeclared here (not in a function) include/ebtables_u.h:133: field `cnt' has incomplete type include/ebtables_u.h:134: field `cnt_surplus' has incomplete type include/ebtables_u.h:142: `EBT_FUNCTION_MAXNAMELEN' undeclared here (not in a function) include/ebtables_u.h:175: `EBT_FUNCTION_MAXNAMELEN' undeclared here (not in a function) include/ebtables_u.h:199: `EBT_FUNCTION_MAXNAMELEN' undeclared here (not in a function) include/ebtables_u.h:334: `NF_BR_NUMHOOKS' undeclared here (not in a function) include/ebtables_u.h:335: `NUM_STANDARD_TARGETS' undeclared here (not in a function) communication.c:24: `NF_BR_NUMHOOKS' undeclared here (not in a function) communication.c: In function `translate_user2kernel': communication.c:61: sizeof applied to an incomplete type communication.c:64: dereferencing pointer to incomplete type communication.c:65: dereferencing pointer to incomplete type communication.c:66: dereferencing pointer to incomplete type communication.c:67: dereferencing pointer to incomplete type communication.c:68: dereferencing pointer to incomplete type communication.c:76: `NF_BR_NUMHOOKS' undeclared (first use in this function) communication.c:76: (Each undeclared identifier is reported only once communication.c:76: for each function it appears in.) communication.c:83: dereferencing pointer to incomplete type communication.c:94: sizeof applied to an incomplete type communication.c:99: sizeof applied to an incomplete type communication.c:102: dereferencing pointer to incomplete type communication.c:103: sizeof applied to an incomplete type communication.c:108: dereferencing pointer to incomplete type communication.c:109: sizeof applied to an incomplete type communication.c:112: dereferencing pointer to incomplete type communication.c:113: sizeof applied to an incomplete type communication.c:125: dereferencing pointer to incomplete type communication.c:131: dereferencing pointer to incomplete type communication.c:139: dereferencing pointer to incomplete type communication.c:144: dereferencing pointer to incomplete type communication.c:150: dereferencing pointer to incomplete type communication.c:151: dereferencing pointer to incomplete type communication.c:152: dereferencing pointer to incomplete type communication.c:153: dereferencing pointer to incomplete type communication.c:154: dereferencing pointer to incomplete type communication.c:155: sizeof applied to an incomplete type communication.c:160: dereferencing pointer to incomplete type communication.c:160: `EBT_ENTRY_OR_ENTRIES' undeclared (first use in this function) communication.c:161: dereferencing pointer to incomplete type communication.c:162: dereferencing pointer to incomplete type communication.c:163: dereferencing pointer to incomplete type communication.c:164: dereferencing pointer to incomplete type communication.c:165: dereferencing pointer to incomplete type communication.c:166: dereferencing pointer to incomplete type communication.c:167: dereferencing pointer to incomplete type communication.c:168: dereferencing pointer to incomplete type communication.c:169: dereferencing pointer to incomplete type communication.c:170: dereferencing pointer to incomplete type communication.c:171: dereferencing pointer to incomplete type communication.c:171: dereferencing pointer to incomplete type communication.c:172: dereferencing pointer to incomplete type communication.c:172: dereferencing pointer to incomplete type communication.c:175: sizeof applied to an incomplete type communication.c:178: dereferencing pointer to incomplete type communication.c:179: sizeof applied to an incomplete type communication.c:180: dereferencing pointer to incomplete type communication.c:181: sizeof applied to an incomplete type communication.c:184: dereferencing pointer to incomplete type communication.c:187: dereferencing pointer to incomplete type communication.c:188: sizeof applied to an incomplete type communication.c:189: dereferencing pointer to incomplete type communication.c:190: sizeof applied to an incomplete type communication.c:193: dereferencing pointer to incomplete type communication.c:194: dereferencing pointer to incomplete type communication.c:195: sizeof applied to an incomplete type communication.c:196: dereferencing pointer to incomplete type communication.c:196: `EBT_STANDARD_TARGET' undeclared (first use in this function) communication.c:200: dereferencing pointer to incomplete type communication.c:201: dereferencing pointer to incomplete type communication.c:202: dereferencing pointer to incomplete type communication.c:204: dereferencing pointer to incomplete type communication.c:205: sizeof applied to an incomplete type communication.c:206: dereferencing pointer to incomplete type communication.c:215: dereferencing pointer to incomplete type communication.c:215: dereferencing pointer to incomplete type communication.c: In function `store_table_in_file': communication.c:244: sizeof applied to an incomplete type communication.c:244: dereferencing pointer to incomplete type communication.c:245: dereferencing pointer to incomplete type communication.c:245: sizeof applied to an incomplete type communication.c:249: sizeof applied to an incomplete type communication.c:250: sizeof applied to an incomplete type communication.c:250: dereferencing pointer to incomplete type communication.c:251: dereferencing pointer to incomplete type communication.c:253: sizeof applied to an incomplete type communication.c:253: dereferencing pointer to incomplete type communication.c:254: dereferencing pointer to incomplete type communication.c:254: sizeof applied to an incomplete type communication.c: In function `ebt_deliver_table': communication.c:280: sizeof applied to an incomplete type communication.c:280: dereferencing pointer to incomplete type communication.c:283: `EBT_SO_SET_ENTRIES' undeclared (first use in this function) communication.c: In function `store_counters_in_file': communication.c:300: sizeof applied to an incomplete type communication.c:302: storage size of `hlp' isn't known communication.c:314: sizeof applied to an incomplete type communication.c:302: warning: unused variable `hlp' communication.c: In function `ebt_deliver_counters': communication.c:335: storage size of `repl' isn't known communication.c:345: sizeof applied to an incomplete type communication.c:348: sizeof applied to an incomplete type communication.c:354: `NF_BR_NUMHOOKS' undeclared (first use in this function) communication.c:362: dereferencing pointer to incomplete type communication.c:362: dereferencing pointer to incomplete type communication.c:363: dereferencing pointer to incomplete type communication.c:366: increment of pointer to unknown structure communication.c:366: arithmetic on pointer to an incomplete type communication.c:368: increment of pointer to unknown structure communication.c:368: arithmetic on pointer to an incomplete type communication.c:372: increment of pointer to unknown structure communication.c:372: arithmetic on pointer to an incomplete type communication.c:375: dereferencing pointer to incomplete type communication.c:375: dereferencing pointer to incomplete type communication.c:377: dereferencing pointer to incomplete type communication.c:377: dereferencing pointer to incomplete type communication.c:379: dereferencing pointer to incomplete type communication.c:379: dereferencing pointer to incomplete type communication.c:381: dereferencing pointer to incomplete type communication.c:383: dereferencing pointer to incomplete type communication.c:383: dereferencing pointer to incomplete type communication.c:385: dereferencing pointer to incomplete type communication.c:385: dereferencing pointer to incomplete type communication.c:387: dereferencing pointer to incomplete type communication.c:389: dereferencing pointer to incomplete type communication.c:390: dereferencing pointer to incomplete type communication.c:393: increment of pointer to unknown structure communication.c:393: arithmetic on pointer to an incomplete type communication.c:395: increment of pointer to unknown structure communication.c:395: arithmetic on pointer to an incomplete type communication.c:396: increment of pointer to unknown structure communication.c:396: arithmetic on pointer to an incomplete type communication.c:411: sizeof applied to an incomplete type communication.c:412: sizeof applied to an incomplete type communication.c:420: `EBT_SO_SET_COUNTERS' undeclared (first use in this function) communication.c:335: warning: unused variable `repl' communication.c: In function `ebt_translate_match': communication.c:452: dereferencing pointer to incomplete type communication.c:452: sizeof applied to an incomplete type communication.c:455: dereferencing pointer to incomplete type communication.c:455: sizeof applied to an incomplete type communication.c:459: dereferencing pointer to incomplete type communication.c:461: dereferencing pointer to incomplete type communication.c: In function `ebt_translate_watcher': communication.c:479: dereferencing pointer to incomplete type communication.c:479: sizeof applied to an incomplete type communication.c:482: dereferencing pointer to incomplete type communication.c:482: sizeof applied to an incomplete type communication.c:486: dereferencing pointer to incomplete type communication.c:488: dereferencing pointer to incomplete type communication.c: At top level: communication.c:497: warning: `struct ebt_entry' declared inside parameter list communication.c:497: warning: its scope is only this definition or declaration, which is probably not what you want communication.c: In function `ebt_translate_entry': communication.c:500: dereferencing pointer to incomplete type communication.c:500: `EBT_ENTRY_OR_ENTRIES' undeclared (first use in this function) communication.c:509: dereferencing pointer to incomplete type communication.c:515: dereferencing pointer to incomplete type communication.c:516: dereferencing pointer to incomplete type communication.c:517: dereferencing pointer to incomplete type communication.c:518: dereferencing pointer to incomplete type communication.c:519: dereferencing pointer to incomplete type communication.c:520: dereferencing pointer to incomplete type communication.c:521: dereferencing pointer to incomplete type communication.c:522: dereferencing pointer to incomplete type communication.c:523: dereferencing pointer to incomplete type communication.c:524: dereferencing pointer to incomplete type communication.c:527: invalid use of undefined type `struct ebt_counter' communication.c:527: dereferencing pointer to incomplete type communication.c:533: warning: implicit declaration of function `EBT_MATCH_ITERATE' communication.c:535: warning: implicit declaration of function `EBT_WATCHER_ITERATE' communication.c:537: dereferencing pointer to incomplete type communication.c:539: dereferencing pointer to incomplete type communication.c:539: sizeof applied to an incomplete type communication.c:542: dereferencing pointer to incomplete type communication.c:544: dereferencing pointer to incomplete type communication.c:547: dereferencing pointer to incomplete type communication.c:548: sizeof applied to an incomplete type communication.c:550: dereferencing pointer to incomplete type communication.c:550: `EBT_STANDARD_TARGET' undeclared (first use in this function) communication.c:552: dereferencing pointer to incomplete type communication.c:567: dereferencing pointer to incomplete type communication.c:584: dereferencing pointer to incomplete type communication.c:586: `NF_BR_NUMHOOKS' undeclared (first use in this function) communication.c: At top level: communication.c:606: warning: `struct ebt_entry' declared inside parameter list communication.c: In function `ebt_translate_chains': communication.c:613: dereferencing pointer to incomplete type communication.c:613: `EBT_ENTRY_OR_ENTRIES' undeclared (first use in this function) communication.c:614: `NF_BR_NUMHOOKS' undeclared (first use in this function) communication.c:644: dereferencing pointer to incomplete type communication.c:645: dereferencing pointer to incomplete type communication.c:647: dereferencing pointer to incomplete type communication.c:648: dereferencing pointer to incomplete type communication.c: In function `retrieve_from_file': communication.c:667: dereferencing pointer to incomplete type communication.c:670: dereferencing pointer to incomplete type communication.c:672: sizeof applied to an incomplete type communication.c:673: sizeof applied to an incomplete type communication.c:678: dereferencing pointer to incomplete type communication.c:683: dereferencing pointer to incomplete type communication.c:690: sizeof applied to an incomplete type communication.c:691: dereferencing pointer to incomplete type communication.c:691: sizeof applied to an incomplete type communication.c:691: dereferencing pointer to incomplete type communication.c:698: dereferencing pointer to incomplete type communication.c:701: dereferencing pointer to incomplete type communication.c:702: dereferencing pointer to incomplete type communication.c:704: dereferencing pointer to incomplete type communication.c:704: sizeof applied to an incomplete type communication.c:705: dereferencing pointer to incomplete type communication.c:706: dereferencing pointer to incomplete type communication.c:709: dereferencing pointer to incomplete type communication.c:711: sizeof applied to an incomplete type communication.c:712: dereferencing pointer to incomplete type communication.c:712: dereferencing pointer to incomplete type communication.c:713: dereferencing pointer to incomplete type communication.c:714: sizeof applied to an incomplete type communication.c:714: dereferencing pointer to incomplete type communication.c:716: dereferencing pointer to incomplete type communication.c:717: dereferencing pointer to incomplete type communication.c:717: sizeof applied to an incomplete type communication.c:718: dereferencing pointer to incomplete type communication.c:718: sizeof applied to an incomplete type communication.c:721: dereferencing pointer to incomplete type communication.c: In function `retrieve_from_kernel': communication.c:737: sizeof applied to an incomplete type communication.c:742: `EBT_SO_GET_INIT_INFO' undeclared (first use in this function) communication.c:744: `EBT_SO_GET_INFO' undeclared (first use in this function) communication.c:748: dereferencing pointer to incomplete type communication.c:750: dereferencing pointer to incomplete type communication.c:751: dereferencing pointer to incomplete type communication.c:755: dereferencing pointer to incomplete type communication.c:755: sizeof applied to an incomplete type communication.c:757: dereferencing pointer to incomplete type communication.c:760: dereferencing pointer to incomplete type communication.c:763: dereferencing pointer to incomplete type communication.c:763: dereferencing pointer to incomplete type communication.c:764: dereferencing pointer to incomplete type communication.c:764: dereferencing pointer to incomplete type communication.c:765: sizeof applied to an incomplete type communication.c:767: `EBT_SO_GET_INIT_ENTRIES' undeclared (first use in this function) communication.c:769: `EBT_SO_GET_ENTRIES' undeclared (first use in this function) communication.c: In function `ebt_get_table': communication.c:779: storage size of `repl' isn't known communication.c:815: warning: implicit declaration of function `EBT_ENTRY_ITERATE' communication.c:779: warning: unused variable `repl' make: *** [communication.o] Error 1