Trouble making .so (undefined symbols)

Warren Young warren@etr-usa.com
Thu Aug 4 17:54:00 GMT 2005


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/



More information about the Cygwin mailing list