RE: Missing Lib Files



I've found that strange errors tend to go away after a clean sysgen.

Consider using a build window (if you're in Visual Studio right click your
OSDesign, click open release directory build window)

Then do a blddemo clean -q

That will clean the sysgen directories and re-sysgen everything, including
libraries and header files. Then try to compile your module again.

Justin Bouffard
WM Dev
Microsoft

This posting is provided "AS IS" with no warranties, and confers no rights

"bb_wince_dev" wrote:

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: unresolved external symbol in VS8 from VS6
    ... in Visual Studio .NET, it is likely that another library is being pulled ... This will output all of the libraries that are being ... Debug version works while release version doesn´t link. ... pruebaMFC.obj: error LNK2001: unresolved external symbol ...
    (microsoft.public.vc.mfc)
  • Re: linking error
    ... It is clear that the libraries you are loading are inconsistent in some way. ... 1>client.obj: error LNK2019: unresolved external symbol ...
    (microsoft.public.vc.mfc)
  • Link problem with Compaq Visual Fortran
    ... yet one of the source codes is a Fortran program. ... to compile the Fortran and C into a library. ... I first got some message saying some libraries are missing (ex: ... dfor.lib: error LNK2001: unresolved external symbol ...
    (comp.lang.fortran)
  • Missing Lib Files
    ... involve missing libraries. ... unresolved external symbol DisableThreadLibraryCalls referenced in function ... Can I copy the libraries to the paths they are missing from ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Missing Lib Files
    ... involve missing libraries. ... unresolved external symbol DisableThreadLibraryCalls referenced in function ...
    (microsoft.public.windowsce.platbuilder)