delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/04/13:54:36

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
Message-ID: <42F2564F.5020603@etr-usa.com>
Date: Thu, 04 Aug 2005 11:54:23 -0600
From: Warren Young <warren AT etr-usa DOT com>
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
MIME-Version: 1.0
To: Cygwin-L <cygwin AT cygwin DOT com>
Subject: Re: Trouble making .so (undefined symbols)
References: <42F02793 DOT 8080109 AT etr-usa DOT com> <42F07A02 DOT 4040308 AT familiehaase DOT de> <42F20ACF DOT 8050309 AT etr-usa DOT com> <42F2134E DOT 59A5E50F AT dessent DOT net> <42F23B1F DOT 7000303 AT etr-usa DOT com>
In-Reply-To: <42F23B1F.7000303@etr-usa.com>
X-IsSubscribed: yes

Warren Young wrote:
> 
> I may have found the postings you refer to, but both include URLs to 
> dead sites.  Can you provide a direct link?

Nevermind.  I found another post by Gerrit showing how to make a shared 
library from a static one.  For the archives:

	http://sourceware.org/ml/cygwin/2002-07/msg02202.html

New problem: example programs link, and run for a short while, then 
hang, hard.  They ignore Ctrl-C, and have to be killed from Task 
Manager.  I traced one of them, and it's hanging during the return of a 
function.  It's line 199 in v2.0 beta 2 of examples/util.cpp, if you'd 
like to try debugging it yourself; store() never returns.  MySQL++ isn't 
failing outright: I can see that the simple1 example does indeed 
retrieve the data by adding debug output before this return statement. 
The result set just never makes it back to store()'s caller.

Assuming that MySQL++ isn't scrogging the stack or something evil like 
that, this looks like a compiler or binutils type of problem.  And this 
seems like a reasonable assumption to me, because it works on many other 
platforms, including Cygwin when built statically.

I'm officially out of my depth now.

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