Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2001 12:27:11 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        freebsd-alpha@FreeBSD.org, (Christian Weisgerber) <naddy@mips.inka.de>
Subject:   Re: ccc: netdb.h
Message-ID:  <XFMail.010321122711.jhb@FreeBSD.org>
In-Reply-To: <200103210626.XAA21641@usr05.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 21-Mar-01 Terry Lambert wrote:
>> > ccc chokes on socklen_t.  Hmm.
>> 
>> Nailed it.
>> The private <machine/ansi.h> 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 <jhb@FreeBSD.org> -- 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010321122711.jhb>