Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <6.1.2.0.1.20050127235728.026e9008@pop.ntlworld.com> X-Sender: www DOT mail AT pop DOT ntlworld DOT com Date: Fri, 28 Jan 2005 00:13:53 +0000 To: cygwin AT cygwin DOT com From: "www.mail" Subject: Compiling GNU sed Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-IsSubscribed: yes Hi, I have just updated my Cygwin, and I'm trying to compile the latest GNU sed (4.1.3) with the command: CC="gcc -mno-cygwin" ./configure --disable-nls It compiles OK. But when I run make, I get several errors stating "undefined reference to `_wcrtomb'". If I compile it without the -mno-cygwin option, make produces the executable successfully. During compilation without -mno-cygwin, there is a message: checking for wcrtomb... yes But during compilation with -mno-cygwin, the corresponding message is: checking for wcrtomb... no Please could someone tell me my I'm getting ths error? All I know about wcrtomb is that it's included in wchar.h. I don't have all Cygwin packages, but the ones that I do have are the latest versions. Any help would be much appreciated. Regards, Jonny -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/