From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Cc: Netfilter Development Mailing list <netfilter-devel@vger.kernel.org>
Subject: Re: nft compilation issues
Date: Mon, 24 Nov 2014 11:31:44 +0100 [thread overview]
Message-ID: <20141124103144.GA3611@salvia> (raw)
In-Reply-To: <CAOkSjBgxVbCnw7t_6+19v5MLSSPidZ9dRsXhQomb5LAtK9=GAA@mail.gmail.com>
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
next prev parent reply other threads:[~2014-11-24 10:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-24 9:23 nft compilation issues Arturo Borrero Gonzalez
2014-11-24 10:31 ` Pablo Neira Ayuso [this message]
2014-11-24 10:36 ` Arturo Borrero Gonzalez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141124103144.GA3611@salvia \
--to=pablo@netfilter.org \
--cc=arturo.borrero.glez@gmail.com \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.