From owner-freebsd-alpha Wed Mar 21 12:30:33 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id D623937B735 for ; Wed, 21 Mar 2001 12:30:30 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f2LKRcG43158; Wed, 21 Mar 2001 12:27:38 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200103210626.XAA21641@usr05.primenet.com> Date: Wed, 21 Mar 2001 12:27:11 -0800 (PST) From: John Baldwin To: Terry Lambert Subject: Re: ccc: netdb.h Cc: freebsd-alpha@FreeBSD.org, (Christian Weisgerber) Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 21-Mar-01 Terry Lambert wrote: >> > ccc chokes on socklen_t. Hmm. >> >> Nailed it. >> The private installed by the port hasn't kept up >> with /usr/include/machine/ansi.h. > > Why is it using /usr/include/machine/ansi.h instead of the correct > ansi.h from /usr/src/sys/alpha/include/ansi.h in the first damn > palce to compile the kernel code? Because we are using the non-system compiler which has its own tweaked header files. Duh. During a normal kernel build machine in the compile directory is symlinked to /sys/alpha/include, the problem is probably that ccc looks in its own private directory for header files before it searches any other directories, so it finds its internal machine/ansi.h before the one in the kenrel. /usr/include/machine/ansi.h is not used during the kernel build. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message