Skip to Content.
Sympa Menu

freetds - RE: [freetds] Error link libraries

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] Error link libraries
  • Date: Tue, 20 Jan 2004 12:14:25 +0100

>
> Hello. I have done a C program with freeTds based on
> t0001.c example (in dblib/unitests). The program compile
> well, but when i link, i have many error because donĀ“t find
> the functions defined in common.h. I compile with -lsysdb
> -ltds. Which library i need?
>

Hi
t0001.c is a test, not an example. You can consider an example however it
was written to test some DBLib bahaviour. Most tests use functions from a
common.c file (that contain some utility), so you have to add common.c to
your project (or copy/paste functions). You need only sybdb library, libtds
is already included in sybdb.

freddy77




Archive powered by MHonArc 2.6.24.

Top of Page