freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Frédéric Marchal <frederic.marchal AT wowcompany.com>
- To: freetds AT lists.ibiblio.org
- Subject: Re: [freetds] Issue with Sybase DBD installation
- Date: Tue, 25 May 2010 14:15:39 +0200
On Tuesday 25 May 2010, Prasanth Sasidharan wrote:
> Hi all,
> I need to install DBD for Sybase in PERL 5.8.8.. I am
> having DBD-Sybase-1.10... Yeah, also I am using DBI-1.611.. All this is
> runnin on Sun Solaris .. Now, I start off, by setting the SYBASE env
> variable to '/usr/local/lib/sybase' .. After this, I am running 'perl
> MakeFile.PL'.. Till this step things are fine.. Then the disaster strikes..
> I get an error on running 'make'..
> Please find the error and its details below(on running make)..
>
> gcc -c -I/usr/local/lib/sybase/include -DNO_BLK=1
> -I/usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/auto/DBI
> -fno-strict-aliasing -pipe -Wdeclaration-after-statement
> -I/usr/local/include -I/opt/gnu/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.10\" -DXS_VERSION=\"1.10\"
> -fPIC "-I/usr/local/lib/perl5/5.8.8/sun4-solaris/CORE" Sybase.c gcc -c
> -I/usr/local/lib/sybase/include -DNO_BLK=1
> -I/usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/auto/DBI
> -fno-strict-aliasing -pipe -Wdeclaration-after-statement
> -I/usr/local/include -I/opt/gnu/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.10\" -DXS_VERSION=\"1.10\"
> -fPIC "-I/usr/local/lib/perl5/5.8.8/sun4-solaris/CORE" dbdimp.c dbdimp.c:
> In function `clientmsg_cb':
> dbdimp.c:358: error: `CS_LOGIN_STATUS' undeclared (first use in this
> function) dbdimp.c:358: error: (Each undeclared identifier is reported only
> once dbdimp.c:358: error: for each function it appears in.)
> *** Error code 1
CS_LOGIN_STATUS is defined in cspublic.h and was added there more than 5
years
ago. Defining it yourself may not help as the program you are compiling may
actually need some features that were added in FreeTDS around or after that
time.
Is your version of FreeTDS recent enough ?
Could you be compiling your program with an old set of include files (coming
from a development package not up to date or installed manually) ?
Frederic
-
[freetds] Issue with Sybase DBD installation,
Prasanth Sasidharan, 05/25/2010
-
Re: [freetds] Issue with Sybase DBD installation,
Frédéric Marchal, 05/25/2010
- Re: [freetds] Issue with Sybase DBD installation, Prasanth Sasidharan, 05/25/2010
-
Re: [freetds] Issue with Sybase DBD installation,
Frédéric Marchal, 05/25/2010
Archive powered by MHonArc 2.6.24.