delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
To: | cygwin AT cygwin DOT com |
From: | Andrew Schulman <andrex AT alumni DOT utexas DOT net> |
Subject: | Re: how to link without libutil.so? [repost] |
Date: | Sat, 04 Sep 2004 00:22:35 -0400 |
Lines: | 27 |
Message-ID: | <chbfud$pig$1@sea.gmane.org> |
References: | <chb8ej$enb$1 AT sea DOT gmane DOT org> <20040904023518 DOT GA17453 AT trixie DOT casa DOT cgf DOT cx> <chbc5e$kch$1 AT sea DOT gmane DOT org> <20040904032446 DOT GA18306 AT trixie DOT casa DOT cgf DOT cx> |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT sea DOT gmane DOT org |
X-Gmane-NNTP-Posting-Host: | pcp04398386pcs.nrockv01.md.comcast.net |
User-Agent: | KNode/0.8.0 |
X-Archive: | encrypt |
X-IsSubscribed: | yes |
> "the link still fails" provides almost zero useful information. True. > Since Corinna went to some effort to add libutil functionality to the > cygwin DLL a while ago and since I can't see any functions in libutil.so > which are missing from cygwin1.dll, I don't see why this didn't work. Okay, I went back and tried this again, in order to provide the error message. Instead I solved the problem. The line in question in the Makefile was CLIBS+=-cclib -lutil The first time I looked at this line, in my simplicity I only commented out the '-lutil', and the link failed (can't remember the error message now). This time I commented out the whole line, and the linking completed successfully. So yes, it seems that libutil.so is taken care of by cygwin1.dll. The real problem here is that the latest Unison Makefile isn't correctly detecting that it's building in a Cygwin environment. That's why it executed the line above. I'll send a patch to the Unison developers. Thanks for your help. Andrew. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |