From owner-freebsd-current Fri Dec 17 14: 4:41 1999 Delivered-To: freebsd-current@freebsd.org Received: from mail3.teleport.com (mail3.teleport.com [192.108.254.31]) by hub.freebsd.org (Postfix) with SMTP id 8F3EC14C29 for ; Fri, 17 Dec 1999 14:04:39 -0800 (PST) (envelope-from anholt@teleport.com) Received: (qmail 29105 invoked from network); 17 Dec 1999 22:03:36 -0000 Received: from i48-17-41.pdx.du.teleport.com (HELO ?10.1.1.2?) (216.26.6.41) by mail3.teleport.com with SMTP; 17 Dec 1999 22:03:36 -0000 X-Sender: anholt@mail.teleport.com Message-Id: In-Reply-To: <199912171808.SAA02594@vulture.dmem.strath.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Fri, 17 Dec 1999 14:08:50 -0800 To: current@freebsd.org From: Eric Anholt Subject: Re: fcnt, ecvt, gcvt and XFree86 2.9.16f build errors Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Hi, >The latest XFree86 snapshot, 3.9.16f (which is about to become >the public 3.9.17 snapshot) does not build on FreeBSD -current. > >It compains about fcvt, ecvt and gcvt. >The exact error log from building XFree86 3.9.16f follows. > >It compiles ok on my 3.4 box (just CVSuped) > The problem is that gcc 2.95.2 in -current does not include #define __FreeBSD__ any more. XF can't tell the OS, so it assumes you lack snprintf(), and tries a different way of putting strings into numbers (fcvt, ecvt, gcvt). Check the top of a log from make World to see the OS detection. If you drop a #define __FreeBSD__ in config/cf/Imake.cf, it'll detect and get at least farther along. (still having troubles compiling from their cvs, going to submit a report rsn). Hopefully we can find a bit nicer way of doing things soon. -- Eric Anholt anholt@teleport.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message