Skip to Content.
Sympa Menu

freetds - Re: [freetds] Sybperl make error

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Srdan Dukic <srdan.dukic AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Sybperl make error
  • Date: Fri, 30 Jul 2010 15:53:04 +1200

Hi Mahendra,

I had the same problem trying to install on Ubuntu 9.04.

In order to fix these errors, I simply added the following lines after any
#include statements in the 'dbdimp.c' file:

#define BLK_VERSION_150 BLK_VERSION_100
#define BLK_VERSION_125 BLK_VERSION_100
#define BLK_VERSION_120 BLK_VERSION_100


This allowed the compile to go ahead without problem, although it did give a
few warnings.

I found the solution after quite a bit of googling, although the problem is
not new:

https://lists.ibiblio.org/sympa/arc/freetds/2008q4/023907.html

Cheers
--
Srđan Đukić


On 30 July 2010 14:13, mahendra tallapalem <mahendra410 AT gmail.com> wrote:

> Hi,
>
> I am new to Sybperl, I have downloaded sybperl from CPAN and would like to
> install it on solaris with freeTDS.
> I have executed perl Makefile.PL, it was completed successfully.
> But when I run *make *I get the following error.
>
> "CTlib.xls", line2081: undefined symbol: BLK_VERSION_150
> "CTlib.xls", line2085: undefined symbol: BLK_VERSION_125
> "CTlib.xls", line2089: undefined symbol: BLK_VERSION_120
> cc: acomp failed for CTlib.c
> *** Error code 2
> make: Fatal error: Command failed for target `CTlib.o`
> Current working directory /home/..../sybperl 1-2.19/CTlib
> *** Error code 1
> make: Fatal error: Command failed for target `subdirs`
>
> Any suggestions please?
>
> Thanks,
> Mahendra
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>




Archive powered by MHonArc 2.6.24.

Top of Page