Re: Sybperl make error
Srdan Dukic <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
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: http://lists.ibiblio.org/pipermail/freetds/2008q4/023907.html Cheers -- Srđan Đukić On 30 July 2010 14:13, mahendra tallapalem <[email protected]> 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 > [email protected] > http://lists.ibiblio.org/mailman/listinfo/freetds > _______________________________________________ FreeTDS mailing list [email protected] http://lists.ibiblio.org/mailman/listinfo/freetds