Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2004 02:39:15 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Mike Jeays <Mike.Jeays@rogers.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Xmkmf/make problem
Message-ID:  <20041018233914.GA89931@gothmog.gr>
In-Reply-To: <1098141941.1086.19.camel@chaucer>
References:  <1098141941.1086.19.camel@chaucer>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2004-10-18 19:25, Mike Jeays <Mike.Jeays@rogers.com> 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 <sys/types.h>
	#include <stdint.h>
	#include <limits.h>

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



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