Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Compiling 2.14
Date: Aug 2 2002 7:06PM
On Fri, 2002-08-02 at 11:47, JPifer@jefco.com wrote:
> I'm having difficulties compiling 2.14 (and 2.14_50) on Solaris 2.7.
> Here is one of my attempts:
> cc -c -I/opt/sybase/OCS-12_0/include -D_REENTRANT -O -DVERSION=\"2.14\"
> -DXS_VERSION=\"2.14\" -KPIC
> -I/opt/FSFperl/lib/5.00503/sun4-solaris-thread/CORE -DCTLIBVS=100
> -DSYBPLVER='"2.14"' -DDO_TIE CTlib.c
> "CTlib.xs", line 538: undefined symbol: thr
> "CTlib.xs", line 538: left operand of "->" must be pointer to struct/union
> cc: acomp failed for CTlib.c
You have perl built with threading turned on which is not recommended.
Still, sybperl *should* build - so this is a bug.
You can fix this by adding
at the beginning of the C function that is at line 538 of CTlib.xs
(which appears to be get_ConInfoFromMagic())
Michael Peppler / email@example.com / http://www.mbay.net/~mpeppler
firstname.lastname@example.org / ZetaTools, Inc / http://www.zetatools.com
ZetaTools: Call perl functions as Sybase stored procedures!