freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Bernd Jendrissek <berndj AT prism.co.za>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: toward binary compatibility
- Date: Mon, 5 Aug 2002 10:50:06 +0200
On Sat, Aug 03, 2002 at 03:42:48PM -0400, James K. Lowden wrote:
> I've discovered we're a lot closer to being binary compatible to Sybase's
> dblib than I think is generally assumed.
Imagine my surprise when I got *linker* errors instead of preprocessor errors
when I tried "just to see what happens" to build an in-house project I
recently inherited. I had completely forgotten about some ancient FreeTDS
libraries that I had installed maybe two years ago. (0.50 or thereabouts.)
> While I'm on the subject, I've been asked to ask: has anyone tried to use
> FreeTDS as a binary replacement for Sybase's libraries? The poor soul in
Well, I suppose I have. I *can*, if nothing else...
gcc -g -O2 -o dblogcln dblogcln.o ../common/libcommon.a -lnsl -lsybdb
-lsybdb -lpthread -lnsl -lcurses
../common/libcommon.a(iom.o): In function `fetch_results':
/mnt/disk/src/portal/common/iom.c:683: undefined reference to `dbnumcompute'
/mnt/disk/src/portal/common/iom.c:671: undefined reference to `dbchange'
/mnt/disk/src/portal/common/iom.c:672: undefined reference to `dbchange'
../common/libcommon.a(iom.o): In function `bind_compute':
/mnt/disk/src/portal/common/iom.c:779: undefined reference to `dbnumcompute'
/mnt/disk/src/portal/common/iom.c:795: undefined reference to `dbaltbind'
collect2: ld returned 1 exit status
make[2]: *** [dblogcln] Error 1
(There's probably still a lot of brain damage to fix...)
--
berndj AT users.sourceforge.net is probably better to bookmark than any
employer-specific email address I may have appearing in the headers.
-
toward binary compatibility,
James K . Lowden, 08/03/2002
- <Possible follow-up(s)>
- Re: toward binary compatibility, Brian Bruns, 08/03/2002
- Re: toward binary compatibility, Brian Bruns, 08/03/2002
- Re: toward binary compatibility, Frediano Ziglio, 08/04/2002
- Re: toward binary compatibility, Bernd Jendrissek, 08/05/2002
- Re: toward binary compatibility, Castellano, Nicholas, 08/07/2002
Archive powered by MHonArc 2.6.24.