From owner-cvs-ports Tue Nov 21 18:29:46 1995 Return-Path: owner-cvs-ports Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA20084 for cvs-ports-outgoing; Tue, 21 Nov 1995 18:29:46 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id SAA20071 ; Tue, 21 Nov 1995 18:29:35 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id NAA22683; Wed, 22 Nov 1995 13:25:30 +1100 Date: Wed, 22 Nov 1995 13:25:30 +1100 From: Bruce Evans Message-Id: <199511220225.NAA22683@godzilla.zeta.org.au> To: asami@cs.berkeley.edu, mark@grondar.za Subject: Re: URGENT: Re: cvs commit: ports/security/pidentd/patches patch-ae Cc: CVS-commiters@freefall.freebsd.org, cvs-ports@freefall.freebsd.org, markm@freefall.freebsd.org Sender: owner-cvs-ports@FreeBSD.ORG Precedence: bulk >******************************************************************** >This is a big problem. I don't know who changed the include files, >but that person should be on this list (i.e., committers). Whoever >that is, can you please step forward and explain the differences >between 2.1 and 2.2 in this area? >******************************************************************** phk removed some polluting #includes from . > * What version are you running? I did this to fix compiles in 2.2-CURRENT. > * > cc -c -I. -O2 -m486 -pipe -fno-strength-reduce -DFREEBSD -DINCLUDE_EXTENSIONS -DHAVE_KVM kernel/freebsd.c > * > In file included from /usr/include/sys/sysctl.h:48, > * > from kernel/freebsd.c:16: > * > /usr/include/sys/ucred.h:47: `NGROUPS' undeclared here (not in a function) >This was on 2.1 (thud). In 2.1, included . Including doesn't work unless NGROUPS is already defined. NGROUPS is a POSIX value that is defined in (a file included by) . It also happens to be defined in (a file included by) and in . Mark apparently fixed a problem for 2.1 by removing . The correct fix was probably to include or or to complain until someone fixes . >Hmm. I tried it in my -current machine (made world from last night), >it fails at a different place. :< >--- >>> make >Checksums OK. >===> Configuring for pidentd-2.6.1 >===> Building for pidentd-2.6.1 >Building for FreeBSD 2.x ... >cc -O2 -m486 -pipe -fno-strength-reduce -DFREEBSD -DINCLUDE_EXTENSIONS -DHAVE_KVM -c identd.c >cc -O2 -m486 -pipe -fno-strength-reduce -DFREEBSD -DINCLUDE_EXTENSIONS -DHAVE_KVM -c parse.c >cc -c -I. -O2 -m486 -pipe -fno-strength-reduce -DFREEBSD -DINCLUDE_EXTENSIONS -DHAVE_KVM kernel/freebsd.c >kernel/freebsd.c: In function `k_getuid': >kernel/freebsd.c:215: `KERN_FILE' undeclared (first use this function) >kernel/freebsd.c:215: (Each undeclared identifier is reported only once >kernel/freebsd.c:215: for each function it appears in.) >*** Error code 1 KERN_FILE is defined in . is not included by any other header. Bruce Bruce