Skip to Content.
Sympa Menu

freetds - Re: toward binary compatibility

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • 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.




Archive powered by MHonArc 2.6.24.

Top of Page