From owner-freebsd-questions@FreeBSD.ORG Mon Oct 18 23:39:25 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3341216A4CE for ; Mon, 18 Oct 2004 23:39:25 +0000 (GMT) Received: from nic.ach.sch.gr (nic.sch.gr [194.63.238.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED59F43D53 for ; Mon, 18 Oct 2004 23:39:22 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: (qmail 11559 invoked by uid 207); 18 Oct 2004 23:39:21 -0000 Received: from keramida@ceid.upatras.gr by nic by uid 201 with qmail-scanner-1.21 (sophie: 3.04/2.19/3.81. Clear:RC:1(81.186.70.65):. Processed in 0.62701 secs); 18 Oct 2004 23:39:21 -0000 Received: from dialup65.ach.sch.gr (HELO gothmog.gr) ([81.186.70.65]) (envelope-sender ) by nic.sch.gr (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 18 Oct 2004 23:39:20 -0000 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.1/8.13.1) with ESMTP id i9INdFbn094925; Tue, 19 Oct 2004 02:39:15 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.13.1/8.13.1/Submit) id i9INdFQf094921; Tue, 19 Oct 2004 02:39:15 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 19 Oct 2004 02:39:15 +0300 From: Giorgos Keramidas To: Mike Jeays Message-ID: <20041018233914.GA89931@gothmog.gr> References: <1098141941.1086.19.camel@chaucer> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1098141941.1086.19.camel@chaucer> cc: freebsd-questions@freebsd.org Subject: Re: Xmkmf/make problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Oct 2004 23:39:25 -0000 On 2004-10-18 19:25, Mike Jeays wrote: > I have several Xlib programs that compiled successfully on earlier > versions of FreeBSD (4.1 and before), using xmkmf and make. With 5.1, I > get an error message: > > "make: don't know how to make /usr/include/machine/ansi.h. Stop" > > It looks as though this header file, and several others, have been moved > to other directories. > > Is there a simple fix to a configuration file somewhere, or is the > problem fixed in 5.3-BETA? AFAIK, the best option is to fix the broken programs. Depending on what it is exactly that these programs needed to pull in from ansi.h you can use one or more of: #include #include #include To give a more definitive reply, we'd have to look at the source or at least at the error messages you get by removing (or simply commenting out) the inclusion of the ansi.h header. - Giorgos