NetBSD Problem Report #33194
From www@netbsd.org Wed Apr 5 03:07:39 2006
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
id 6B3B763B968; Wed, 5 Apr 2006 03:07:39 +0000 (UTC)
Message-Id: <20060405030739.6B3B763B968@narn.netbsd.org>
Date: Wed, 5 Apr 2006 03:07:39 +0000 (UTC)
From: thetemplar@free.fr
Reply-To: thetemplar@free.fr
To: gnats-bugs@netbsd.org
Subject: Packet Filter support breaks kernel compilation
X-Send-Pr-Version: www-1.0
>Number: 33194
>Category: kern
>Synopsis: Packet Filter support breaks kernel compilation
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 05 03:10:00 +0000 2006
>Closed-Date: Tue Nov 27 19:44:02 +0000 2018
>Last-Modified: Tue Nov 27 19:44:02 +0000 2018
>Originator: Eddahbi Karim
>Release: NetBSD 3.0
>Organization:
>Environment:
System: NetBSD PouipPouip 3.0 NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:04:02 UTC 2005 builds@works.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/i386/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
I've activated the support for Packet Filter in my kernel configuration file (see below) and it breaks the kernel compilation, returning the following error :
# compile MOIMOI/pf.o
cc -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss -Di386 -I. -I../../../../arch -I../../../.. -nostdinc -DLKM -DEXT2FS_SYSTEM_FLAGS -DFRENCH_KBD -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I../../../../dist/pf -c ../../../../dist/pf/net/pf.c
../../../../dist/pf/net/pf.c: In function `pf_send_tcp':
../../../../dist/pf/net/pf.c:1355: error: dereferencing pointer to incomplete type
../../../../dist/pf/net/pf.c:1358: error: dereferencing pointer to incomplete type
../../../../dist/pf/net/pf.c:1360: error: dereferencing pointer to incomplete type
../../../../dist/pf/net/pf.c:1361: error: dereferencing pointer to incomplete type
../../../../dist/pf/net/pf.c: In function `pf_send_icmp':
../../../../dist/pf/net/pf.c:1505: error: dereferencing pointer to incomplete type
../../../../dist/pf/net/pf.c:1508: error: dereferencing pointer to incomplete type
../../../../dist/pf/net/pf.c:1510: error: dereferencing pointer to incomplete type
../../../../dist/pf/net/pf.c:1511: error: dereferencing pointer to incomplete type
../../../../dist/pf/net/pf.c: In function `pf_test':
../../../../dist/pf/net/pf.c:5722: error: dereferencing pointer to incomplete type
../../../../dist/pf/net/pf.c:5726: error: dereferencing pointer to incomplete type
../../../../dist/pf/net/pf.c:5728: error: dereferencing pointer to incomplete type
../../../../dist/pf/net/pf.c:5730: error: dereferencing pointer to incomplete type
../../../../dist/pf/net/pf.c:5731: error: dereferencing pointer to incomplete type
../../../../dist/pf/net/pf.c: In function `pf_test6':
../../../../dist/pf/net/pf.c:6048: error: dereferencing pointer to incomplete type
../../../../dist/pf/net/pf.c:6052: error: dereferencing pointer to incomplete type
../../../../dist/pf/net/pf.c:6054: error: dereferencing pointer to incomplete type
../../../../dist/pf/net/pf.c:6056: error: dereferencing pointer to incomplete type
../../../../dist/pf/net/pf.c:6057: error: dereferencing pointer to incomplete type
*** Error code 1
Stop.
make: stopped in /usr/src/sys/arch/i386/compile/MOIMOI
>How-To-Repeat:
Enabling Packet Filter support in the configuration file with the latest kernel of NetBSD 3.0.
You can download the configuration file from this URL :
http://thetemplar.free.fr/MOIMOI
>Fix:
The only way I know, at the moment, is to desactivate the support of Packet Filter in the latest NetBSD 3.0 kernel if I use the configuration given before.
>Release-Note:
>Audit-Trail:
From: Pavel Cahyna <pavel@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: thetemplar@free.fr
Subject: Re: kern/33194: Packet Filter support breaks kernel compilation
Date: Wed, 5 Apr 2006 10:04:02 +0200
On Wed, Apr 05, 2006 at 03:10:00AM +0000, thetemplar@free.fr wrote:
> I've activated the support for Packet Filter in my kernel configuration
> file (see below) and it breaks the kernel compilation, returning the
> following error :
pf is not compatible with ALTQ, see
http://www.netbsd.org/Documentation/network/pf.html#differences
It seems you could use the LKM.
(The documentation certainly needs improving.)
State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Tue, 27 Nov 2018 19:44:02 +0000
State-Changed-Why:
The link in the reply now mentions the combination should work.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.