freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] [Fwd: [bug 629] New: Does not compile due to undeclared CS_LOGIN_STATUS]
- From: Justin Zygmont <justin AT cityfone.net>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] [Fwd: [bug 629] New: Does not compile due to undeclared CS_LOGIN_STATUS]
- Date: Tue, 08 May 2007 13:45:35 -0700
Michael Peppler wrote:
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
------------------------------------------------------------------------
Subject:
[bug 629] New: Does not compile due to undeclared CS_LOGIN_STATUS
From:
bugdb AT peppler.org
Date:
Tue, 8 May 2007 04:16:58 -0400
To:
mpeppler AT peppler.org
To:
mpeppler AT peppler.org
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
Could he just use 0.64? I can run make and it works fine for me. Too bad make test fails for a seemingly unrelated problem, any recomendations on how I can throw things into debugging mode to see where the problem actually is? You don't need write permissions on the database for the test do you?
Thanks,
-
[freetds] [Fwd: [bug 629] New: Does not compile due to undeclared CS_LOGIN_STATUS],
Michael Peppler, 05/08/2007
- Re: [freetds] [Fwd: [bug 629] New: Does not compile due to undeclared CS_LOGIN_STATUS], Justin Zygmont, 05/08/2007
Archive powered by MHonArc 2.6.24.