freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: mahendra tallapalem <mahendra410 AT gmail.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Sybperl make error
- Date: Thu, 5 Aug 2010 20:45:40 +0530
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 <srdan.dukic AT gmail.com> 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:
>
> 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
> >
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
-
Re: [freetds] Sybperl make error,
mahendra tallapalem, 08/05/2010
-
Re: [freetds] Sybperl make error,
Srdan Dukic, 08/07/2010
- Re: [freetds] Sybperl make error, mahendra tallapalem, 08/08/2010
-
Re: [freetds] Sybperl make error,
Srdan Dukic, 08/07/2010
Archive powered by MHonArc 2.6.24.