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?

 I get none of the "Note (probably harmless): No library found for ..."
messages.

 And later in the build, my link command is considerably longer than the one
you posted:





    link -out:blib\arch\auto\DBD\Oracle\Oracle.dll -dll -nologo -nodefaultli
b -debug -opt:ref,icf  -libpath:"D:\Perl\lib\CORE"  -machine:x86 Oracle.obj
dbd
imp.obj  oci7.obj  oci8.obj   D:\Perl\lib\CORE\perl58.lib
D:\oracle\ora92\oci\LI
B\MSVC\OCI.lib "D:\Program Files\Microsoft Visual Studio .NET
2003\VC7\LIB\oldna
mes.lib" "D:\Program Files\Microsoft Visual Studio .NET
2003\VC7\LIB\kernel32.li
b" "D:\Program Files\Microsoft Visual Studio .NET
2003\VC7\PlatformSDK\lib\user3
2.lib" "D:\Program Files\Microsoft Visual Studio .NET
2003\VC7\PlatformSDK\lib\g
di32.lib" "D:\Program Files\Microsoft Visual Studio .NET
2003\VC7\PlatformSDK\li
b\winspool.lib" "D:\Program Files\Microsoft Visual Studio .NET
2003\VC7\Platform
SDK\lib\comdlg32.lib" "D:\Program Files\Microsoft Visual Studio .NET
2003\VC7\Pl
atformSDK\lib\advapi32.lib" "D:\Program Files\Microsoft Visual Studio .NET
2003\
VC7\PlatformSDK\lib\shell32.lib" "D:\Program Files\Microsoft Visual Studio
.NET
2003\VC7\PlatformSDK\lib\ole32.lib" "D:\Program Files\Microsoft Visual
Studio .N
ET 2003\VC7\PlatformSDK\lib\oleaut32.lib" "D:\Program Files\Microsoft Visual
Stu
dio .NET 2003\VC7\PlatformSDK\lib\netapi32.lib" "D:\Program Files\Microsoft
Visu
al Studio .NET 2003\VC7\PlatformSDK\lib\uuid.lib" "D:\Program
Files\Microsoft Vi
sual Studio .NET 2003\VC7\PlatformSDK\lib\wsock32.lib" "D:\Program
Files\Microso
ft Visual Studio .NET 2003\VC7\PlatformSDK\lib\mpr.lib" "D:\Program
Files\Micros
oft Visual Studio .NET 2003\VC7\PlatformSDK\lib\winmm.lib" "D:\Program
Files\Mic
rosoft Visual Studio .NET 2003\VC7\PlatformSDK\lib\version.lib" "D:\Program
File
s\Microsoft Visual Studio .NET 2003\VC7\PlatformSDK\lib\odbc32.lib"
"D:\Program
Files\Microsoft Visual Studio .NET 2003\VC7\PlatformSDK\lib\odbccp32.lib"
"D:\Pr
ogram Files\Microsoft Visual Studio .NET
2003\VC7\LIB\msvcrt.lib" -def:Oracle.de
f

-- 
Andy Hassall <[EMAIL PROTECTED]> / Space: disk usage analysis tool
<http://www.andyh.co.uk> / <http://www.andyhsoftware.co.uk/space>

Reply via email to