From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Ayuso Subject: Re: nft compilation issues Date: Mon, 24 Nov 2014 11:31:44 +0100 Message-ID: <20141124103144.GA3611@salvia> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Netfilter Development Mailing list To: Arturo Borrero Gonzalez Return-path: Received: from mail.us.es ([193.147.175.20]:35277 "EHLO mail.us.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751033AbaKXK3k (ORCPT ); Mon, 24 Nov 2014 05:29:40 -0500 Content-Disposition: inline In-Reply-To: Sender: netfilter-devel-owner@vger.kernel.org List-ID: On Mon, Nov 24, 2014 at 10:23:06AM +0100, Arturo Borrero Gonzalez wrote= : > Hi, >=20 > I have some compilation issues in nft. >=20 > [...] > CC proto.o > CC payload.o > In file included from main.c:23:0: > src/parser.y:129:17: error: field =E2=80=98handle=E2=80=99 has incomp= lete type > main.c: In function =E2=80=98nft_netlink=E2=80=99: > 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 =E2=80=98nft_run=E2=80=99: > 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 =E2=80=98main=E2=80=99: > main.c:251:22: error: storage size of =E2=80=98state=E2=80=99 isn=E2=80= =99t known > main.c:340:3: warning: implicit declaration of function =E2=80=98pars= er_init=E2=80=99 > [-Wimplicit-function-declaration] > main.c:341:3: warning: implicit declaration of function =E2=80=98scan= ner_init=E2=80=99 > [-Wimplicit-function-declaration] > main.c:342:3: warning: implicit declaration of function > =E2=80=98scanner_push_buffer=E2=80=99 [-Wimplicit-function-declaratio= n] > main.c:346:3: warning: implicit declaration of function > =E2=80=98scanner_read_file=E2=80=99 [-Wimplicit-function-declaration] > main.c:363:2: warning: implicit declaration of function > =E2=80=98scanner_destroy=E2=80=99 [-Wimplicit-function-declaration] > main.c:251:22: warning: unused variable =E2=80=98state=E2=80=99 [-Wun= used-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=3D850e311d98a2340a9d2d86d2= 8a4d2280fa6cf76c -- To unsubscribe from this list: send the line "unsubscribe netfilter-dev= el" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html