RE: Missing Lib Files
- From: Justin Bouffard [MSFT] <Justin Bouffard [MSFT]@discussions.microsoft.com>
- Date: Thu, 14 May 2009 00:29:01 -0700
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
- References:
- Missing Lib Files
- From: bb_wince_dev
- Missing Lib Files
- Prev by Date: Re: Problem using SetKMode() and RDMSR
- Next by Date: PostMessage to LargeKB
- Previous by thread: Re: Missing Lib Files
- Next by thread: Re: Missing Lib Files
- Index(es):
Relevant Pages
|