From owner-freebsd-current Fri Sep 13 4:11: 1 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A26D37B400; Fri, 13 Sep 2002 04:10:58 -0700 (PDT) Received: from dilbert.robbins.dropbear.id.au (130.a.011.mel.iprimus.net.au [210.50.216.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2A2643E42; Fri, 13 Sep 2002 04:10:55 -0700 (PDT) (envelope-from tim@robbins.dropbear.id.au) Received: from dilbert.robbins.dropbear.id.au (7j8vaq4irs5a0igx@localhost [127.0.0.1]) by dilbert.robbins.dropbear.id.au (8.12.6/8.12.6) with ESMTP id g8DBAsUD046372; Fri, 13 Sep 2002 21:10:55 +1000 (EST) (envelope-from tim@dilbert.robbins.dropbear.id.au) Received: (from tim@localhost) by dilbert.robbins.dropbear.id.au (8.12.6/8.12.6/Submit) id g8DBAQbF046369; Fri, 13 Sep 2002 21:10:26 +1000 (EST) Date: Fri, 13 Sep 2002 21:10:25 +1000 From: Tim Robbins To: Josef Karthauser Cc: current@FreeBSD.ORG Subject: Re: missing 'wcscoll'. Message-ID: <20020913211025.A45820@dilbert.robbins.dropbear.id.au> References: <20020913092209.GA9911@genius.tao.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020913092209.GA9911@genius.tao.org.uk>; from joe@FreeBSD.ORG on Fri, Sep 13, 2002 at 10:22:09AM +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Sep 13, 2002 at 10:22:09AM +0100, Josef Karthauser wrote: > I've not looked too deeply as to the cause, but I'm hoping someone here > can shed some light on it for me. I'm having trouble building openjade > from the ports on -current. The build bombs out with: > > LangObj.cxx: In member function `virtual bool > RefLangObj::areEquivalent(const > StringC&, const StringC&, short unsigned int) const': > LangObj.cxx:122: `wcsxfrm' undeclared (first use this function) wcsxfrm() is not implemented. > LangObj.cxx:122: (Each undeclared identifier is reported only once for > each > function it appears in.) > LangObj.cxx: In member function `virtual bool RefLangObj::isLess(const > StringC&, const StringC&) const': > LangObj.cxx:146: `wcscoll' undeclared (first use this function) wcscoll() is not implemented. > gmake[2]: *** [LangObj.lo] Error 1 > gmake[2]: Leaving directory > `/data/ports/workdirs/usr/ports/textproc/openjade/work/openjade-1.3.1/style' > gmake[1]: *** [style] Error 2 > gmake[1]: Leaving directory > `/data/ports/workdirs/usr/ports/textproc/openjade/work/openjade-1.3.1' > gmake: *** [all] Error 2 > *** Error code 2 > > > Is this a known problem (it builds find under -stable), or is > something spammed at my end? Some GNU (and GNU-style) programs assume that the presence of the restartable multibyte/wide character functions (mbsrtowcs(), wcsrtombs()) means that all of the other ISO C90 Amd.1 wide character functions exist. The restartable mb/wc functions were added recently and do not exist in -stable. Making blind assumptions like this defeats the purpose of using autoconf at all.. a hack solution is probably to tell it not to use wcscoll/wcsxfrm by editing config.h. The real solution is for us to implement these functions, and for whoever wrote the autoconf gunk to be more careful. Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message