X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; 	charset="US-ASCII"
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.5040806@cygwin.com> <73478.41441.qm@web33502.mail.mud.yahoo.com>
From: "Thrall, Bryan" <bryan.thrall@flightsafety.com>
To: <cygwin@cygwin.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
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@cygwin.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.Thrall@flightsafety.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/


