Re: Missing Lib Files

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



How are you doing the compiling? Is this within a CE build window? Are you
compiling a subproject, smart device application, or OS image? If not
building an OS image, do you have an SDK?

Looks like you're missing references to coredll, which is the CE equivalent
to Kernel32.dll on the desktop.

--
Dean Ramsier - eMVP
BSQUARE Corporation


"bb_wince_dev" <bbwincedev@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:326F68A7-632F-43FC-AABB-00466BF4E2EA@xxxxxxxxxxxxxxxx
Hi,
I have encountered some issues when compiling and linking which seem to
involve missing libraries. Below are some of the errors. I looked around
on
the MSDN Developer site and it seems that, for example,
InterlockedIncrement
is part of Kernel32.lib. That library exists on my machine in some paths
associated with Visual Studio 8, but not in WINCE600. corelibc.lib is not
in
the *\public\common\* path, but it is in some of the \OSDesigns\* paths.

BUILD: [00:0000001256:WARNN ]
C:\WINCE600\PLATFORM\Aspenite\SRC\DRIVERS\IPM\Driver\: Missing source
file:
C:\WINCE600\public\common\sdk\lib\ARMV4I\retail\corelibc.lib

Followed by:
BUILD: [01:0000001380:ERRORE] gps_driver_wince.obj : error LNK2019:
unresolved external symbol DisableThreadLibraryCalls referenced in
function
"int __cdecl DllEntry(void *,unsigned long,void *)"
(?DllEntry@@YAHPAXK0@Z)

BUILD: [01:0000001381:ERRORE] corelib0.lib(dllmain.obj) : error LNK2001:
unresolved external symbol DisableThreadLibraryCalls

BUILD: [01:0000001382:ERRORE] gps_driver_wince.obj : error LNK2019:
unresolved external symbol NKDbgPrintfW referenced in function "int
__cdecl
DllEntry(void *,unsigned long,void *)" (?DllEntry@@YAHPAXK0@Z)

BUILD: [01:0000001383:ERRORE] gps_driver_wince.obj : error LNK2019:
unresolved external symbol LocalFree referenced in function GPS_Deinit

BUILD: [01:0000001384:ERRORE] gps_driver_wince.obj : error LNK2019:
unresolved external symbol InterlockedIncrement referenced in function
GPS_Open

etc...

I am wondering if I may have blown some things away by doing an accidental
Sysgen some time back when I first installed these tools.

Any ideas on how to resolve this? I'm hoping I don't have to do an entire
reinstall. Can I copy the libraries to the paths they are missing from
without causing other problems?

Thanks,
Ben


.



Relevant Pages

  • Re: Queries dont work after moving database
    ... Open a code module and try Compiling. ... I suspect at least one of them will show as "MISSING". ... Uncheck any MISSING and. ... Reopen References and recheck those you unchecked. ...
    (microsoft.public.access.queries)
  • Re: Missing Lib Files
    ... Looks like you're missing references to coredll, ... I have encountered some issues when compiling and linking which seem to ... unresolved external symbol DisableThreadLibraryCalls ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Missing Lib Files
    ... I have encountered some issues when compiling and linking which seem to ... involve missing libraries. ... unresolved external symbol DisableThreadLibraryCalls referenced in function ...
    (microsoft.public.windowsce.platbuilder)
  • Cant resolve __GSHandlerCheck
    ... I'm compiling with "Platform SDK for Windows Server 2003 R2" and I'm linking to a library that someone else (Brian Gladman) built using VC 8, ... And I keep getting this one unresolved external symbol: ... Does anyone know how I might resolve this symbol? ...
    (microsoft.public.vstudio.general)
  • Compilation Problems in Win98
    ... I am having considerable difficulty in compiling and linking tk on ... Bad command or file name ... *** Linker has 'Win98 alignment problem' ... winMain.obj: error LNK2001: unresolved external symbol ...
    (comp.lang.tcl)