Subject: Re: kern/12298: fairly impressive cross-compilation bogon in
To: None <firstname.lastname@example.org>
From: Todd Vierling <email@example.com>
Date: 02/28/2001 17:20:23
On Tue, 27 Feb 2001 firstname.lastname@example.org wrote:
: #ifdef _STANDALONE
: #include "/usr/include/arpa/tftp.h" /* XXX */
: #include <arpa/tftp.h>
: given that the code is typically compiled with _STANDALONE, that
: pulls in the host's /usr/include/arpa/tftp.h.
: unknown what the right solution is. can't just include <arpa/tftp.h>,
: even if the cross-compiler is built properly (i.e., with complete
: NetBSD includes, etc.), because the code is typically compiled with
The problem here is that relevant protocol includes are in src/include
and not src/sys. If there's kernel/standalone code that uses definitions
from <arpa/*>, it's probably better to move the arpa/*.h files into src/sys.
-- Todd Vierling <email@example.com> * Wasabi NetBSD: Run with it.
-- NetBSD 1.5 now available on CD-ROM -- http://www.wasabisystems.com/