title: Converting C source code to a DLL results in "unresolved externals"
body: <p>I am trying to run the code which is written using C and that is for a dialogic board <code>dmv 960A 4T1pci</code>. I am trying to convert that code to a DLL but I am facing 34 errors which are almost same , here is the list of them:</p>
  
  <pre><code>Linking...
     Creating library Debug/drivendll.lib and object Debug/drivendll.exp
  drivendll.obj : error LNK2001: unresolved external symbol _sr_waitevt
  drivendll.obj : error LNK2001: unresolved external symbol _gc_CCLibStatusEx
  drivendll.obj : error LNK2001: unresolved external symbol _gc_Start
  drivendll.obj : error LNK2001: unresolved external symbol _sr_setparm
  drivendll.obj : error LNK2001: unresolved external symbol _gc_DropCall
  drivendll.obj : error LNK2001: unresolved external symbol _gc_WaitCall
  drivendll.obj : error LNK2001: unresolved external symbol _gc_ResetLineDev
  drivendll.obj : error LNK2001: unresolved external symbol _gc_Close
  drivendll.obj : error LNK2001: unresolved external symbol _gc_ResultInfo
  drivendll.obj : error LNK2001: unresolved external symbol _gc_util_delete_parm_blk
  drivendll.obj : error LNK2001: unresolved external symbol _gc_SetUserInfo
  drivendll.obj : error LNK2001: unresolved external symbol _gc_util_insert_parm_val
  drivendll.obj : error LNK2001: unresolved external symbol _gc_GetMetaEvent
  drivendll.obj : error LNK2001: unresolved external symbol _gc_AlarmSourceObjectName
  drivendll.obj : error LNK2001: unresolved external symbol _gc_AlarmSourceObjectID
  drivendll.obj : error LNK2001: unresolved external symbol _gc_AlarmName
  drivendll.obj : error LNK2001: unresolved external symbol _gc_AlarmNumber
  drivendll.obj : error LNK2001: unresolved external symbol _gc_ReleaseCallEx
  drivendll.obj : error LNK2001: unresolved external symbol _gc_AnswerCall
  drivendll.obj : error LNK2001: unresolved external symbol _gc_AcceptCall
  drivendll.obj : error LNK2001: unresolved external symbol _gc_GetCallInfo
  drivendll.obj : error LNK2001: unresolved external symbol _gc_SetAlarmNotifyAll
  drivendll.obj : error LNK2001: unresolved external symbol _gc_GetResourceH
  drivendll.obj : error LNK2001: unresolved external symbol _gc_MakeCall
  drivendll.obj : error LNK2001: unresolved external symbol _gc_OpenEx
  drivendll.obj : error LNK2001: unresolved external symbol _gc_LoadDxParm
  drivendll.obj : error LNK2001: unresolved external symbol __imp__inet_ntoa@4
  drivendll.obj : error LNK2001: unresolved external symbol __imp__gethostbyname@4
  drivendll.obj : error LNK2001: unresolved external symbol __imp__gethostname@8
  drivendll.obj : error LNK2001: unresolved external symbol _gc_util_insert_parm_ref
  drivendll.obj : error LNK2001: unresolved external symbol _gc_SetCallingNum
  drivendll.obj : error LNK2001: unresolved external symbol _gc_ErrorInfo
  drivendll.obj : error LNK2001: unresolved external symbol _gc_Stop
  Debug/drivendll.dll : fatal error LNK1120: 33 unresolved externals
  Error executing link.exe.
  </code></pre>