delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/10/07:06:53

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Thu, 10 Jul 2003 12:06:34 +0100
From: Elfyn McBratney <elfyn AT emcb DOT co DOT uk>
X-X-Sender: elfyn AT ellixia
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: php-mysql-cygwin how to
In-Reply-To: <98-2126715365.20030708185259@familiehaase.de>
Message-ID: <Pine.CYG.4.55.0307101205260.1464@ellixia>
References: <Pine DOT LNX DOT 4 DOT 44 DOT 0307081050590 DOT 4255-100000 AT sark DOT cryst DOT bbk DOT ac DOT uk>
<Pine DOT CYG DOT 4 DOT 55 DOT 0307081056450 DOT 4008 AT ellixia> <01b701c34540$49ae9eb0$3d94883e AT pomello>
<50-2142006192 DOT 20030708143808 AT familiehaase DOT de> <029601c34562$d10eb760$3d94883e AT pomello>
<98-2126715365 DOT 20030708185259 AT familiehaase DOT de>
Mail-Followup-To: cygwin AT cygwin DOT com
MIME-Version: 1.0

On Tue, 8 Jul 2003, Gerrit P. Haase wrote:

> Hello Max,
>
> > Gerrit P. Haase wrote:
> >> Hello Max,
> >>> 3) The long standing server problem. It seems like the complex C++ is
> >>> confusing gcc?
>
> >> No, it is a problem with the Cygwin/MySQL socket code.  Nothing works
> >> with 1.3.22, similar as it is with Apache.  The older versions, e.g.
> >> 1.3.10 works better, but still not without crashes.
>
> >> After Corinna fixed the code, so Apache is running without problems on
> >> 1.5 now, MySQL still crashes randomly (same behaviour as with 1.3.10),
> >> maybe it crashes more often as before, well it is completely unstable
> >> and nor usable as database server.
>
> > Huh? I get lots of "undefined reference to
> > `__static_initialization_and_destruction_0(int, int)'" errors during
> > *linking*. I never get a server binary to test.
>
> > N.B. This is with 4.0.13  - you mentioned 4.1-alpha before, perhaps that is
> > why we see different problems.
>
> This was easy :-)
>
> That is the main part of the patch I promised to send Elfyn.
>
> In short:  Comment out all '#pragma interface' and '#pragma implementation'
> lines, it doesn't work on Cygwin.
>
> And besides that, compiling and linking works well.

Wish I'd read this before blingly hacking the source to bits. :-)

Gerrit, if you wouldn't mind, could you send me your patches to to 4.1-alpha?

Elfyn

-- 
Elfyn McBratney, EMCB
http://www.emcb.co.uk
elfyn AT emcb DOT co DOT uk



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