Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
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
Message-ID: <42F47981.7040409@familiehaase.de>
Date: Sat, 06 Aug 2005 10:49:05 +0200
From: "Gerrit P. Haase" <gerrit@familiehaase.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.11) Gecko/20050728
MIME-Version: 1.0
To: Warren Young <warren@etr-usa.com>
CC: cygwin@cygwin.com
Subject: Re: Trouble making .so (undefined symbols)
References: <42F02793.8080109@etr-usa.com> <42F07A02.4040308@familiehaase.de> <42F20ACF.8050309@etr-usa.com> <42F2134E.59A5E50F@dessent.net> <42F23B1F.7000303@etr-usa.com> <42F2564F.5020603@etr-usa.com> <42F2ACD8.461F9EA8@dessent.net> <42F341CB.5010602@etr-usa.com>
In-Reply-To: <42F341CB.5010602@etr-usa.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

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/

