On Wed, Jun 05, 2002 at 10:07:55AM +0000, Ian Crowley wrote:
> Hi
> 
> Trying to build DBI-1.24 but it dies and give the following error... using 
> activestate latest build on win 2000. DBI-1.23 built fine last week. Any 
> help would be great.
> 
>         cl -c  -nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT 
> -DHAVE_DE
> S_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX 
> -O1 -
> MD -DNDEBUG    -DVERSION=\"1.24\"  -DXS_VERSION=\"1.24\"  -ID:\Perl\lib\CORE 
>   DB
> I.c
> DBI.c
> DBI.xs(1841) : error C2065: 'PERINTERP' : undeclared identifier
> DBI.xs(1841) : error C2223: left of '->dbi_state' must point to struct/union
> DBI.xs(1842) : error C2223: left of '->dbi_state' must point to struct/union
> DBI.xs(1842) : warning C4133: 'function' : incompatible types - from 'char 
> [31]'
> to 'struct _PerlIO *'

Try adding

        dPERINTERP;

to the top of the dbi_profile() function.
Please let me know soon if that fixes it for you.

Tim.

p.s. Please also send me the output of 'perl -V'

Reply via email to