From owner-freebsd-ports@FreeBSD.ORG Fri Jul 9 17:25:30 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6C0016A4D5 for ; Fri, 9 Jul 2004 17:25:30 +0000 (GMT) Received: from grunt23.ihug.com.au (grunt23.ihug.com.au [203.109.249.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BC1D43D53 for ; Fri, 9 Jul 2004 17:25:30 +0000 (GMT) (envelope-from mail@ozzmosis.com) Received: from p331-tnt1.mel.ihug.com.au (blizzard.dnsalias.org) [203.173.161.77] by grunt23.ihug.com.au with esmtp (Exim 3.35 #1 (Debian)) id 1Biz7n-0006cb-00; Sat, 10 Jul 2004 03:25:28 +1000 Received: from blizzard.dnsalias.org (ozzmosis@localhost [127.0.0.1]) i69HPPxb064607 for ; Sat, 10 Jul 2004 03:25:25 +1000 (EST) (envelope-from mail@ozzmosis.com) Received: (from ozzmosis@localhost) by blizzard.dnsalias.org (8.12.8p2/8.12.8/Submit) id i69HPOST064606 for freebsd-ports@freebsd.org; Sat, 10 Jul 2004 03:25:24 +1000 (EST) X-Authentication-Warning: blizzard.dnsalias.org: ozzmosis set sender to mail@ozzmosis.com using -f Date: Sat, 10 Jul 2004 03:25:24 +1000 From: andrew clarke To: freebsd-ports@freebsd.org Message-ID: <20040709172523.GA64473@ozzmosis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: devel/linux_devtools question X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2004 17:25:30 -0000 Hi, I've installed linux_devtools-8.0_1 from the ports tree on a FreeBSD 4.8 machine but have run into some problems building anything useful apparently due to missing header files. Is it correct to expect that the following should compile, are there files missing from the port, am I doing something wrong, or am I expecting too much? Thanks. $cat blah.c #include int main(void) { return 0; } $setenv CC /compat/linux/usr/bin/gcc $make blah /compat/linux/usr/bin/gcc -O -pipe blah.c -o blah In file included from /usr/include/errno.h:36, from blah.c:1: /usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory *** Error code 1 Stop in /usr/home/ozzmosis/src/csource/blah. $file /compat/linux/usr/include/linux/errno.h /compat/linux/usr/include/linux/errno.h: can't stat `/compat/linux/usr/include/linux/errno.h' (No such file or directory). $file /compat/linux/usr/include/linux /compat/linux/usr/include/linux: can't stat `/compat/linux/usr/include/linux' (No such file or directory).