Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) MIME-Version: 1.0 To: Cygwin-L 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> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/