delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/06/04:49:19

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: <42F47981.7040409@familiehaase.de>
Date: Sat, 06 Aug 2005 10:49:05 +0200
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT 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 AT etr-usa DOT com>
CC: 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> <42F2564F DOT 5020603 AT etr-usa DOT com> <42F2ACD8 DOT 461F9EA8 AT dessent DOT net> <42F341CB DOT 5010602 AT etr-usa DOT com>
In-Reply-To: <42F341CB.5010602@etr-usa.com>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019