[p4perl] link issues while compiling -- __alldvrm missing
Daugherty, Jeff
jeff.daugherty at aspentech.com
Tue Dec 6 13:18:27 PST 2005
I am also getting this link error. I noticed that libcmt.lib was not
included in the lib list for the linker; msvrct.lib was included instead. I
removed msvcrt and included libcmt, right after libsupp.lib in the list, and
still received the following:
libsupp.lib(strbuf.obj) : error LNK2001: unresolved external symbol
__alldvrm
blib\arch\auto\P4\P4.dll : fatal error LNK1120: 1 unresolved externals
Does anybody have any ideas on this? Any help would be much appreciated.
I've even tried a simplified library list, since the C++ api documentation
claims dependency on only the following:
libcmt.lib
oldnames.lib
kernel32.lib
wsock32.lib
advapi32.lib
Here's the command text and output:
link -out:blib\arch\auto\P4\P4.dll -dll -nologo -nodefaultlib -debug
-opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:x86 P4.obj
lib/libp4.lib C:\Perl\lib\CORE\perl56.lib C:\P4\P4api\libclient.lib
C:\P4\P4api\librpc.lib C:\P4\P4api\libsupp.lib "C:\Program Files\Microsoft
Visual Studio\VC98\lib\libcmt.lib" "C:\Program Files\Microsoft Visual
Studio\VC98\lib\oldnames.lib" "C:\Program Files\Microsoft Visual
Studio\VC98\lib\kernel32.lib" "C:\Program Files\Microsoft Visual
Studio\VC98\lib\advapi32.lib" "C:\Program Files\Microsoft Visual
Studio\VC98\lib\wsock32.lib" -def:P4.def
Creating library blib\arch\auto\P4\P4.lib and object
blib\arch\auto\P4\P4.exp
LINK : warning LNK4049: locally defined symbol "_sprintf" imported
LINK : warning LNK4049: locally defined symbol "_printf" imported
LINK : warning LNK4049: locally defined symbol "_isdigit" imported
LINK : warning LNK4049: locally defined symbol "_atoi" imported
LINK : warning LNK4049: locally defined symbol "_strstr" imported
libsupp.lib(strbuf.obj) : error LNK2001: unresolved external symbol
__alldvrm
blib\arch\auto\P4\P4.dll : fatal error LNK1120: 1 unresolved externals
Configuraton:
WinXP 2002
VC 6
Perl v5.6.1 build 635
P4-3.4804
Regards,
Jeff Daugherty
Software Engineering / Integration
Aspen Technology, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://maillist.perforce.com/pipermail/p4perl/attachments/20051206/9d602e91/attachment.html
More information about the p4perl
mailing list