delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/03/22/13:10:51

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <20000322180855.12705.qmail@web113.yahoomail.com>
Date: Wed, 22 Mar 2000 10:08:55 -0800 (PST)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: earnie_boyd AT yahoo DOT com
Subject: Re: ld problems
To: Kirth <kirth AT hole DOT org>, cygwin AT sourceware DOT cygnus DOT com
MIME-Version: 1.0

--- Kirth <kirth AT hole DOT org> wrote:
> ahh right that fixed it, mind you im not getting undefined reference's
> to thinks like mysql_init .. theres are definitly part of the mysqlclient
> lib. I had thought to compilie mysql myself, however it gives a few hundred
> errors, so that was no go.
> 

Hmm... I believe I remember a post that mysql had been ported to Cygwin. Check
the archives and the ported packages information on the Cygwin pages at
sourceware.cygnus.com.

> Any suggestions ? ive tried the library that comes with mysql for windows,
> the one from the extra mysqlclients package, and even copying across
> my linux library, all give roughly the same undefined reference's.
> 

I wasn't aware that you were using a M$ built library.  Anders Norlander has a
program he's called pexports which is able to read a dll if you have the
headers and create a def file so that you can create an import library.  You
can find pexports at his URL of
http://www.acc.umu.se/~anorland/gnu-win32/index.html.

The caveat to this is that the Non-Cygwin mysql.dll won't understand the Cygwin
mounted paths.

Good Luck,
Earnie.

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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