Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Dec 1999 14:08:50 -0800
From:      Eric Anholt <anholt@teleport.com>
To:        current@freebsd.org
Subject:   Re: fcnt, ecvt, gcvt and XFree86 2.9.16f build errors
Message-ID:  <l03130301b48063d2b6d9@[10.1.1.2]>
In-Reply-To: <199912171808.SAA02594@vulture.dmem.strath.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
>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




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