delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-Id: | <4.3.1.2.20010223154509.02f65958@pop.ma.ultranet.com> |
X-Sender: | lhall AT pop DOT ma DOT ultranet DOT com |
X-Mailer: | QUALCOMM Windows Eudora Version 4.3.1 |
Date: | Fri, 23 Feb 2001 15:46:24 -0500 |
To: | Ian Smith <irsmith AT telusplanet DOT net>, cygwin AT cygwin DOT com |
From: | "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com> |
Subject: | Re: Cygwin B18 & 1.1.8-2: undefined reference to `ctime_r' |
In-Reply-To: | <5.0.0.25.2.20010223134404.00a6d1e8@pop.telusplanet.net> |
Mime-Version: | 1.0 |
At 03:44 PM 2/23/2001, Ian Smith wrote: >Hello folks, >I have been using Cygwin for almost 3 years now to compile under NT 4.0 >and now Windows 2000. I have recently added some Intermud Chat code >to my mud. In only one location in the source code is there a reference >to ctime_r. >When I compile, I receive the following error: >i3rom.c:2759: undefined reference to `ctime_r' > >I thought my beta 18 version may have been a little out dated and decided >to download 1.1.8-2 and re-compile with the new version. Alas, I receive >the same error. After doing some investigating of the installed files, I >noticed >both the B18 version and 1.1.8-2 have a ctime_r.c file and it there is also a >reference to it in the time.h file. >Anyone have any idea as to why the compiler doesn't know what to do with >ctime_r? As an aside I have compiled the exact same code on a RedHat 6.2 >box and it compiles perfectly. >Any help would be appreciated. >Thank you, They don't appear to be exported from the Cygwin DLL. I'm not sure if that's just an oversight or if there's a good reason to keep it internal at this point. You can poke around at the code a bit if you want to find out more. Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 118 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |