Re: nft compilation issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 24, 2014 at 10:23:06AM +0100, Arturo Borrero Gonzalez wrote:
> Hi,
> 
> I have some compilation issues in nft.
> 
> [...]
>   CC       proto.o
>   CC       payload.o
> In file included from main.c:23:0:
> src/parser.y:129:17: error: field ‘handle’ has incomplete type
> main.c: In function ‘nft_netlink’:
> main.c:188:2: error: dereferencing pointer to incomplete type
> main.c:188:2: error: dereferencing pointer to incomplete type
> main.c:206:3: error: dereferencing pointer to incomplete type
> main.c:206:3: error: dereferencing pointer to incomplete type
> main.c: In function ‘nft_run’:
> main.c:232:23: error: dereferencing pointer to incomplete type
> main.c:241:2: error: dereferencing pointer to incomplete type
> main.c:241:2: error: dereferencing pointer to incomplete type
> main.c: In function ‘main’:
> main.c:251:22: error: storage size of ‘state’ isn’t known
> main.c:340:3: warning: implicit declaration of function ‘parser_init’
> [-Wimplicit-function-declaration]
> main.c:341:3: warning: implicit declaration of function ‘scanner_init’
> [-Wimplicit-function-declaration]
> main.c:342:3: warning: implicit declaration of function
> ‘scanner_push_buffer’ [-Wimplicit-function-declaration]
> main.c:346:3: warning: implicit declaration of function
> ‘scanner_read_file’ [-Wimplicit-function-declaration]
> main.c:363:2: warning: implicit declaration of function
> ‘scanner_destroy’ [-Wimplicit-function-declaration]
> main.c:251:22: warning: unused variable ‘state’ [-Wunused-variable]
> Makefile:430: recipe for target 'main.o' failed

Did you remove the old autogenerated parser.c and parser.h as this
commit indicates?

http://git.netfilter.org/nftables/commit/?id=850e311d98a2340a9d2d86d28a4d2280fa6cf76c
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux