Re: Sybperl make error

mahendra tallapalem <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
Hi Srdan,
Thank you so much for your reply.

Though I am not getting that error now, I was getting some other errors.
So now I have thought of installing perl  into my local directory. When I
run make, I get the following error.

cc -c -I/apps/sqlserver/client/freetds/0.82-1//include  -xO3 -xdepend
-DVERSION=\"2.19\"  -DXS_VERSION=\"2.19\" -KPIC
-I/usr/perl5/5.00503/sun4-solaris/CORE -DCTLIBVS=100 -DSYBPLVER='"2.19"'
-DDO_TIE CTlib.c

ucbcc: illegal option usage -xdepend

*** Error code 1

make: Fatal error: Command failed for target `CTlib.o'

Current working directory /home/platinum/pltsched/poc/sybperl-2.19/CTlib

*** Error code 1

make: Fatal error: Command failed for target `subdirs'

Is it something to do with C compiler? I am running this on solaris 5.
Any advice please?

Thanks,
Mahendra

On 30 July 2010 09:23, Srdan Dukic <[email protected]> wrote:

> 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
>
_______________________________________________
FreeTDS mailing list
[email protected]
http://lists.ibiblio.org/mailman/listinfo/freetds
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.