On Thu, Jan 29, 2004 at 11:09:53PM -0000, Andy Hassall wrote:
> Jeff Holt wrote:
> > I can't create the makefile target oracle.dll. It took me only a few
> > minutes to discover relevant nmake arguments that would fix most of my
> > problems but there is still one unresolved external symbol. I can't
> > get past it. Here's the error:
> >
> > dbdimp.obj : error LNK2019: unresolved external symbol __imp__strcmpi
> > referenced in function _ora_init
> > blib\arch\auto\DBD\Oracle\Oracle.dll : fatal error LNK1120: 1
> > unresolved externals
> > NMAKE : fatal error U1077: 'link' : return code '0x460'
>
> > cl
> > Microsoft (R) 32-bit C/C++ Standard Compiler Version 13.10.3077 for
> > 80x86
> > Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
> >
> > link
> > Microsoft (R) Incremental Linker Version 7.10.3077
> > Copyright (C) Microsoft Corporation. All rights reserved.
>
> Sounds like we have similar environments, but 1.15 compiled out of the box
> for me; same compiler version [Visual Studio.NET 2003]. Provided I used the
> Command Prompt shortcut from the Visual Studio .NET Tools start menu entry,
> anyway - i.e. ran vcvars32.bat - did you do this?
If vcvars32.bat should always be run when using visual C (as I
presume it should be in this case) then I'd love someone to post
some code that detects when it should be run ($Config{cc} eq 'cl'?)
but hasn't been (!$ENV{foo}) and gives an clear message about it.
Tim.