Skip to Content.
Sympa Menu

freetds - [freetds] [Fwd: [bug 629] New: Does not compile due to undeclared CS_LOGIN_STATUS]

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Michael Peppler <mpeppler AT peppler.org>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] [Fwd: [bug 629] New: Does not compile due to undeclared CS_LOGIN_STATUS]
  • Date: Tue, 08 May 2007 20:32:46 +0200

Hi,

It looks like CS_LOGIN_STATUS isn't defined in freetds's header files (or at least not in 0.63, according to this bug report.)

I figured Frediano &/or jkl would be interested to add this (and maybe other missing identifiers ?)

Michael
--
Michael Peppler - Peppler Consulting SaRL
mpeppler AT peppler.org - http://www.peppler.org
Sybase DBA/Developer - TeamSybase: http://www.teamsybase.com
Sybase on Linux FAQ - http://www.peppler.org/FAQ/linux.html
--- Begin Message ---
  • From: bugdb AT peppler.org
  • To: mpeppler AT peppler.org
  • Subject: [bug 629] New: Does not compile due to undeclared CS_LOGIN_STATUS
  • Date: Tue, 8 May 2007 04:16:58 -0400
New bug 629 entered by tom AT eborcom.com

http://www.peppler.org/bugdb/view?bug_id=629

Platform: All Product: DBD::Sybase
OS: Linux Component: Installation
Summary: Does not compile due to undeclared CS_LOGIN_STATUS

I'm trying to build 1.08 on an Ubuntu Edgy machine that has FreeTDS 0.63
installed. Compilation fails due to CS_LOGIN_STATUS being undeclared.

I can build 1.07 successfully as its source code does not contain
CS_LOGIN_STATUS.

Tom


tom@tom-top [~/DBD-Sybase-1.08] env SYBASE=/usr perl Makefile.PL
Unknown Client Library version - assuming FreeTDS.

By default DBD::Sybase 1.05 and later use the 'CHAINED' mode (where available)
when 'AutoCommit' is turned off. Versions 1.04 and older instead managed
the transactions explicitly with a 'BEGIN TRAN' before the first DML
statement. Using the 'CHAINED' mode is preferable as it is the way that
Sybase implements AutoCommit handling for both its ODBC and JDBC drivers.

Use 'CHAINED' mode by default (Y/N) [Y]:

BLK api NOT available.
The DBD::Sybase module need access to a Sybase server to run the tests.
To clear an entry please enter 'undef'
Sybase server to use (default: SYBASE): undef
User ID to log in to Sybase (default: sa):
Password (default: undef):

Sybase database to use on undef (default: undef):

* Writing login information, including password, to file PWD.

Note (probably harmless): No library found for -lcs
Note (probably harmless): No library found for -lsybtcl
Note (probably harmless): No library found for -lcomn
Note (probably harmless): No library found for -lintl
Note (probably harmless): No library found for -lblk
Using DBI 1.54 (for perl 5.008008 on i686-linux) installed in
/home/tom/p58/lib/perl5/site_perl/5.8.8/i686-linux/auto/DBI/
Writing Makefile for DBD::Sybase
tom@tom-top [~/DBD-Sybase-1.08] make
cc -c -I/usr/include -DNO_BLK=1
-I/home/tom/p58/lib/perl5/site_perl/5.8.8/i686-linux/auto/DBI
-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.08\"
-DXS_VERSION=\"1.08\" -fpic "-I/home/tom/p58/lib/perl5/5.8.8/i686-linux/CORE"

Sybase.c
cc -c -I/usr/include -DNO_BLK=1
-I/home/tom/p58/lib/perl5/site_perl/5.8.8/i686-linux/auto/DBI
-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.08\"
-DXS_VERSION=\"1.08\" -fpic "-I/home/tom/p58/lib/perl5/5.8.8/i686-linux/CORE"

dbdimp.c
dbdimp.c: In function ‘clientmsg_cb’:
dbdimp.c:328: error: ‘CS_LOGIN_STATUS’ undeclared (first use in this
function)
dbdimp.c:328: error: (Each undeclared identifier is reported only once
dbdimp.c:328: error: for each function it appears in.)
make: *** [dbdimp.o] Error 1




--- End Message ---



Archive powered by MHonArc 2.6.24.

Top of Page