All of lore.kernel.org
 help / color / mirror / Atom feed
* nft compilation issues
@ 2014-11-24  9:23 Arturo Borrero Gonzalez
  2014-11-24 10:31 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 3+ messages in thread
From: Arturo Borrero Gonzalez @ 2014-11-24  9:23 UTC (permalink / raw)
  To: Netfilter Development Mailing list; +Cc: Pablo Neira Ayuso

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

regards
-- 
Arturo Borrero González
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: nft compilation issues
  2014-11-24  9:23 nft compilation issues Arturo Borrero Gonzalez
@ 2014-11-24 10:31 ` Pablo Neira Ayuso
  2014-11-24 10:36   ` Arturo Borrero Gonzalez
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Neira Ayuso @ 2014-11-24 10:31 UTC (permalink / raw)
  To: Arturo Borrero Gonzalez; +Cc: Netfilter Development Mailing list

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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: nft compilation issues
  2014-11-24 10:31 ` Pablo Neira Ayuso
@ 2014-11-24 10:36   ` Arturo Borrero Gonzalez
  0 siblings, 0 replies; 3+ messages in thread
From: Arturo Borrero Gonzalez @ 2014-11-24 10:36 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: Netfilter Development Mailing list

On 24 November 2014 at 11:31, Pablo Neira Ayuso <pablo@netfilter.org> wrote:
>
> Did you remove the old autogenerated parser.c and parser.h as this
> commit indicates?
>
> http://git.netfilter.org/nftables/commit/?id=850e311d98a2340a9d2d86d28a4d2280fa6cf76c

Ok, solved. Thanks.

-- 
Arturo Borrero González
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-24 10:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-24  9:23 nft compilation issues Arturo Borrero Gonzalez
2014-11-24 10:31 ` Pablo Neira Ayuso
2014-11-24 10:36   ` Arturo Borrero Gonzalez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.