This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Trouble making .so (undefined symbols)


Warren Young wrote:

Brian Dessent wrote:

http://cygwin.com/ml/cygwin/2004-11/msg00159.html


Okay...that gets the DLL to build. For the archives, the pthread changes are no longer required with current v4.1.x versions.

But the MySQL++ examples still hang when built against a Cygwin MySQL client DLL.

New problem: example programs link, and run for a short while, then


This is with a native server? Or a Cygwin server?


With a native Linux server, on another box. :)

You might be interested to try it yourself. Apply the attached patch to MySQL++. Then say "./bootstrap" to re-build all the autoconf stuff, and then "make" them. The very first example you need to run, examples/resetdb, exhibits the problem.

FYI, usually it sufficient (or even better) to link against import libraries, i.e. add -lmysqlclient as it is done on Linux.

Gerrit
--
=^..^=

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]