Skip to Content.
Sympa Menu

freetds - [freetds] [ freetds-Patches-1073201 ] Error at sybdb.h for MS-SQL

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "SourceForge.net" <noreply AT sourceforge.net>
  • To: noreply AT sourceforge.net
  • Cc:
  • Subject: [freetds] [ freetds-Patches-1073201 ] Error at sybdb.h for MS-SQL
  • Date: Sun, 28 Nov 2004 01:29:20 -0800

Patches item #1073201, was opened at 2004-11-25 15:19
Message generated for change (Comment added) made by freddy77
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=1073201&group_id=33106

Category: application
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Eduardo DC (carliedu)
Assigned to: Nobody/Anonymous (nobody)
Summary: Error at sybdb.h for MS-SQL

Initial Comment:
We are installing Apache 2.0.52 and PHP 5.0.2, for use
with MS-SQL2000.
The compilation of freetds-current.tgz was normal.
Compilation of Apache too.
At compilation of PHP the problem appeared.

./configure --with-apxs2=/etc/httpd/bin/apxs --with-
mssql=/usr/local/freetds --disable-libxml --with-
openssl=/usr --enable-track-vars

At make we got the error.

After looking for the error, we found it at:

/usr/local/freetds/include/sybdb.h

Change

#if MSDBLIB

by

#ifdef MSDBLIB

at lines 268, 381 e 616.

I hope we could help you.

Renato Andalik
Eduardo De Carli
Sao Paulo - Brazil





----------------------------------------------------------------------

>Comment By: Frediano Ziglio (freddy77)
Date: 2004-11-28 10:29

Message:
Logged In: YES
user_id=75766

Fixed. Now FreeTDS compiled with or without --enable-msdblib
are binary compatible. You can define MSDBLIB or SYBDBLIB
(not both) in your source to use MS or Sybase bahaviour.
--enable-msdblib define only the default (if nor MSDBLIB nor
SYBDBLIB are defined).

freddy77

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=1073201&group_id=33106




Archive powered by MHonArc 2.6.24.

Top of Page