Skip to Content.
Sympa Menu

freetds - Re: Is it the compiler Problem

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: James K. Lowden <jklowden AT speakeasy.org>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Cc: rajani.shankar AT ssiworldwide.com
  • Subject: Re: Is it the compiler Problem
  • Date: Wed, 25 Sep 2002 07:53:25 -0400


On Wed, 25 Sep 2002 16:49:43 +0530, "Rajani M S"
<rajani.shankar AT ssiworldwide.com> wrote:
> $ gcc -o common.o common.c
> Undefined first referenced
> symbol in file
> DBDEAD /var/tmp/ccz7v0Hx.o
> main
> /opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.
> 95.2/crt1.o
> ld: fatal: Symbol referencing errors. No output written to common.o
> collect2: ld returned 1 exit status

Rajani,

FreeTDS 0.60 exports dbdead, lowercase. If (your file?) common.c includes
the FreeTDS 0.53 header files, it will try to import DBDEAD from libsybdb.
If linked to the FreeTDS 0.60 libraries, it will fail, producing the
above message.

This change was made to improve binary compatibility with Sybase's
libraries.

Regards,

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page