delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/05/14/16:40:28

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: please help
Date: Wed, 14 May 2008 15:39:56 -0500
Message-ID: <297343D29C14AA4D822142893ABEAEF304BBE075@srv1163ex1.flightsafety.com>
In-Reply-To: <73478.41441.qm@web33502.mail.mud.yahoo.com>
References: <482B44DB DOT 5040806 AT cygwin DOT com> <73478 DOT 41441 DOT qm AT web33502 DOT mail DOT mud DOT yahoo DOT com>
From: "Thrall, Bryan" <bryan DOT thrall AT flightsafety DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m4EKeRV5019793

Longyu Mei wrote on Wednesday, May 14, 2008 3:20 PM:
> Thank you for your help.
> 
> I have successfully eliminated those two error
> messages.
> 
> They were caused by the ACE make include files.
> 
> In those include files, there are some checking for
> library, such as
> PLATFORM_AIO_SUPPORT := \
>        $(shell test -e /usr/lib/librt.so && echo
> -DACE_HAS_AIO_CALLS)
> 
> I commented out those checking related to librt.so*
> then those error message went away.
> 
> I don't know whether Cygwin should include those lib
> or ACE should remove those checking.
> 
> Anyway, a progress was made.
> 
> thanks,

Have you built ACE for Cygwin? You will probably need to regenerate your
make files; if they are testing for *.so, then they are still the Linux
versions, and it's a bad idea to just disable those checks!

The instructions for building ACE on Cygwin
(http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/ACE-INSTALL.html#cy
gwin) are a little out of date, but they might work for you. Note the
ACE build on Cygwin is experimental.

> --- "Larry Hall (Cygwin)"
> <reply-to-list-only-lh AT cygwin DOT com> wrote:
> 
>> Longyu Mei wrote:
>>> Great! I see friends are here now.
>>> 
>>> Let me tell you the entire story.
>>> 
>>> We have a Linux application without any GUI. We used
>>> ACE (for socket) and boost for portability. It is a
>>> product now. We did not build it on Windows before
>>> even we plan to do that. Now we try too see if we can
>>> build and run it on Windows machine.
>>> 
>>> I did a little research and then decided try CygWin
>>> first. I used the setup to download and install
>>> CygWin. I copy the entire project tree from source
>>> control onto my XP machine.
>>> 
>>> Then I start the CygWin by click the Cygwin icon and
>>> cd to my source directory and tried "make clean" as I did on Linux
>>> machine. 
>>> 
>>> The first two lines are the error messages I mentioned on my
>>> previous email. 
>>> 
>>> I did do any system environment variable configuration which is not
>>> required. 
>>> 
>>> The issue is why that librt.so is required and why
>>> there is no such file under the installation. I have
>>> installed ALL packages.
>> 
>> Shared objects are a *nix manifestation.  The
>> closest thing
>> on Windows is dynamic link libraries (DLL).  There
>> are
>> significant differences in these two concepts though so
>> if you're app is relying on the existence and
>> semantics
>> of SOs, you're in for a long, difficult port to
>> Windows.
>> Cygwin won't magically massage this away for you.
-- 
Bryan Thrall
FlightSafety International
Bryan DOT Thrall AT flightsafety DOT com

--
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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019