I spent some time trying to find something in the archives, with
no luck.

I need to call functions from a C-based DLL from Perl.  The SO/XS
interface works fine on Linux, but when I try to build the XS layer
under AS Perl on Windows I get the following errors:

>nmake

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

Skip blib\lib\MSC\LAPI.pm (unchanged)
Running Mkbootstrap for MSC::LAPI ()
        C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 LAPI.bs
link -out:blib\arch\auto\MSC\LAPI\LAPI.dll -dll -nologo -nodefaultlib -d ebug -opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:x86 LAPI.obj C:\Perl\
lib\CORE\perl58.lib M:\v9.2\i86_n3\lapim.lib -def:LAPI.def
Creating library blib\arch\auto\MSC\LAPI\LAPI.lib and object blib\arch\auto\M
SC\LAPI\LAPI.exp
LAPI.obj : error LNK2001: unresolved external symbol _strcmp
LINK : error LNK2001: unresolved external symbol [EMAIL PROTECTED]
blib\arch\auto\MSC\LAPI\LAPI.dll : fatal error LNK1120: 2 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.

Any ideas?  TIA.



--
Brian Casey
[EMAIL PROTECTED]
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to