From owner-freebsd-commit Tue Nov 21 22:21:42 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA07345 for freebsd-commit-outgoing; Tue, 21 Nov 1995 22:21:42 -0800 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA07333 for cvs-all-outgoing; Tue, 21 Nov 1995 22:21:37 -0800 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA07323 for cvs-ports-outgoing; Tue, 21 Nov 1995 22:21:34 -0800 Received: from grunt.grondar.za (grunt.grondar.za [196.7.18.129]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id WAA07314 ; Tue, 21 Nov 1995 22:21:03 -0800 Received: from grumble.grondar.za (root@grumble.grondar.za [196.7.18.130]) by grunt.grondar.za (8.6.12/8.6.9) with ESMTP id IAA21741; Wed, 22 Nov 1995 08:20:43 +0200 Received: from localhost (mark@localhost [127.0.0.1]) by grumble.grondar.za (8.6.12/8.6.9) with SMTP id IAA26686; Wed, 22 Nov 1995 08:20:41 +0200 Message-Id: <199511220620.IAA26686@grumble.grondar.za> X-Authentication-Warning: grumble.grondar.za: Host localhost didn't use HELO protocol To: Bruce Evans cc: asami@cs.berkeley.edu, CVS-commiters@freefall.freebsd.org, cvs-ports@freefall.freebsd.org, markm@freefall.freebsd.org Subject: Re: URGENT: Re: cvs commit: ports/security/pidentd/patches patch-ae Date: Wed, 22 Nov 1995 08:20:40 +0200 From: Mark Murray Sender: owner-commit@FreeBSD.ORG Precedence: bulk > 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 . Er, no. I fixed it for 2.2 by _adding_ #include . I included this file because I was having the same error as Satoshi below, and the the only file that defined KERN_FILE was this one. > >Hmm. I tried it in my -current machine (made world from last night), > >it fails at a different place. :< This is where mine _used_ to fail until I put in the include. > >>> 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 -DHA VE_KVM -c identd.c > >cc -O2 -m486 -pipe -fno-strength-reduce -DFREEBSD -DINCLUDE_EXTENSIONS -DHA VE_KVM -c parse.c > >cc -c -I. -O2 -m486 -pipe -fno-strength-reduce -DFREEBSD -DINCLUDE_EXTENSIO NS -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. Right! M -- Mark Murray 46 Harvey Rd, Claremont, Cape Town 7700, South Africa +27 21 61-3768 GMT+0200 Finger mark@grumble.grondar.za for PGP key