Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: earnie_boyd AT yahoo DOT com Subject: Re: ld problems To: Kirth , cygwin AT sourceware DOT cygnus DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Kirth 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