[evs] unresolved external symbol "__declspec(dllimport) void * __cdecl evs::_free

Arthur Barrett arthur.barrett at march-hare.com
Mon Sep 17 12:46:23 BST 2007


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Any ideas on this?

> Something is wrong when I try and link on VS.NET 2005 / windows xp 
> (win32), I get lots of unresolved externals because evsapi and evstools 
> are NOT included in the link (even thought they are listed as 
> dependencies).  Any ideas?  evsapi.dll and evsapi.lib are compiled ok and 
> sitting in "windebug"...
>
> Here is the start of the log:
>
> ------ Build started: Project: evs, Configuration: Debug Win32 ------
> Linking...
> Microsoft (R) Incremental Linker Version 8.00.50727.42
> Copyright (C) Microsoft Corporation.  All rights reserved.
> "/OUT:D:\users\abarrett\cvsnt\CVSNT_TRUNK\/WinDebug\evs.dll" /INCREMENTAL 
> /DLL /MANIFEST 
> "/MANIFESTFILE:D:\users\abarrett\cvsnt\CVSNT_TRUNK\\Build\Win32\evs\Debug\evs.dll.intermediate.manifest" 
> "/DELAYLOAD:secur32.dll" "/DELAYLOAD:dbghelp.dll" /DEBUG 
> "/PDB:d:\users\abarrett\cvsnt\cvsnt_trunk\windebug\/evs.pdb" 
> /SUBSYSTEM:WINDOWS /OPT:NOWIN98 /MACHINE:X86 /MACHINE:I386 wsock32.lib 
> netapi32.lib mpr.lib ole32.lib iconv.lib dbghelp.lib wininet.lib 
> secur32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib 
> advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib 
> odbccp32.lib DelayImp.lib
> "..\build\win32\evs\debug\cvsnt.res"
> "..\build\win32\evs\debug\add.obj"
> "..\build\win32\evs\debug\annotate.obj"
> "..\build\win32\evs\debug\buffer.obj"
> "..\build\win32\evs\debug\chacl.obj"
> "..\build\win32\evs\debug\checkin.obj"
> "..\build\win32\evs\debug\checkout.obj"
> "..\build\win32\evs\debug\classify.obj"
> "..\build\win32\evs\debug\client.obj"
> "..\build\win32\evs\debug\commit.obj"
> "..\build\win32\evs\debug\CompatRecursion.obj"
> "..\build\win32\evs\debug\cvsrc.obj"
> "..\build\win32\evs\debug\cvsrcs.obj"
> ".\windebug\2\diff.obj"
> "..\build\win32\evs\debug\edit.obj"
> "..\build\win32\evs\debug\error.obj"
> "..\build\win32\evs\debug\expand_path.obj"
> "..\build\win32\evs\debug\filesubr.obj"
> "..\build\win32\evs\debug\hash.obj"
> "..\build\win32\evs\debug\history.obj"
> "..\build\win32\evs\debug\ignore.obj"
> "..\build\win32\evs\debug\import.obj"
> "..\build\win32\evs\debug\info.obj"
> "..\build\win32\evs\debug\link.obj"
> "..\build\win32\evs\debug\lock.obj"
> "..\build\win32\evs\debug\log.obj"
> "..\build\win32\evs\debug\login.obj"
> "..\build\win32\evs\debug\logmsg.obj"
> "..\build\win32\evs\debug\ls.obj"
> "..\build\win32\evs\debug\lsacl.obj"
> "..\build\win32\evs\debug\main.obj"
> "..\build\win32\evs\debug\mkdir.obj"
> "..\build\win32\evs\debug\mkmodules.obj"
> "..\build\win32\evs\debug\no_diff.obj"
> "..\build\win32\evs\debug\parseinfo.obj"
> "..\build\win32\evs\debug\passwd.obj"
> "..\build\win32\evs\debug\patch.obj"
> "..\build\win32\evs\debug\perms.obj"
> "..\build\win32\evs\debug\properties.obj"
> "..\build\win32\evs\debug\pwd.obj"
> "..\build\win32\evs\debug\rcscmds.obj"
> "..\build\win32\evs\debug\release.obj"
> "..\build\win32\evs\debug\remove.obj"
> "..\build\win32\evs\debug\rename.obj"
> "..\build\win32\evs\debug\repos.obj"
> "..\build\win32\evs\debug\root.obj"
> "..\build\win32\evs\debug\run.obj"
> "..\build\win32\evs\debug\savecwd.obj"
> "..\build\win32\evs\debug\server.obj"
> "..\build\win32\evs\debug\setuid.obj"
> "..\build\win32\evs\debug\status.obj"
> "..\build\win32\evs\debug\stripslash.obj"
> "..\build\win32\evs\debug\subr.obj"
> "..\build\win32\evs\debug\tag.obj"
> "..\build\win32\evs\debug\update.obj"
> "..\build\win32\evs\debug\upgrade.obj"
> "..\build\win32\evs\debug\vers_ts.obj"
> ".\windebug\1\version.obj"
> "..\build\win32\evs\debug\waitpid.obj"
> "..\build\win32\evs\debug\watch.obj"
> "..\build\win32\evs\debug\win32.obj"
> "..\build\win32\evs\debug\wrapper.obj"
> "..\build\win32\evs\debug\xdiff.obj"
> "..\build\win32\evs\debug\xgetwd.obj"
> "..\build\win32\evs\debug\yesno.obj"
> "..\build\win32\evs\debug\zlib.obj"
> "..\Build\Win32\evs\Debug\evs.dll.embed.manifest.res"
> LINK : D:\users\abarrett\cvsnt\CVSNT_TRUNK\/WinDebug\evs.dll not found or 
> not built by the last incremental link; performing full link
>   Creating library D:\users\abarrett\cvsnt\CVSNT_TRUNK\/WinDebug\evs.lib 
> and object D:\users\abarrett\cvsnt\CVSNT_TRUNK\/WinDebug\evs.exp
> LINK : warning LNK4199: /DELAYLOAD:dbghelp.dll ignored; no imports found 
> from dbghelp.dll
> zlib.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) void * __cdecl evs::malloc(unsigned int)" 
> (__imp_?malloc at evs@@YAPAXI at Z) referenced in function "struct buffer * 
> __cdecl compress_buffer_initialize(struct buffer *,int,int,void 
> (__cdecl*)(struct buffer *))" 
> (?compress_buffer_initialize@@YAPAUbuffer@@PAU1 at HHP6AX0@Z at Z)
> win32.obj : error LNK2001: unresolved external symbol 
> "__declspec(dllimport) void * __cdecl evs::malloc(unsigned int)" 
> (__imp_?malloc at evs@@YAPAXI at Z)
>
> etc
> etc
> etc
>
> Regards,
>
>
> Arthur
>
> 




More information about the evs mailing list