Re: adding a lib to the hal.lib
- From: "Dean Ramsier" <ramsiernospam@xxxxxxxxxx>
- Date: Tue, 30 May 2006 09:23:55 -0400
Probably an error in your sources file, which you didn't post. Note that
the best way to do this is probaby to not reference the new library in
hal.lib, but reference it in your targets in the BUILDEXE tree. You should
be using TARGETLIBS in that tree.
The _CloseHandle reference is probably coming in because of a function you
referenced in your new code.
--
Dean Ramsier - eMVP
BSQUARE Corporation
"Gizmo" <jens.fuellemann@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:1148980117.525558.255430@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
hi all
i have a problem to add a self created lib to the existing hal.lib in
the platform part.
i try to replace the existing drwatsorn functionality with an own self
created on which allows to dump on non volatile storage. for this case
i wrote a static library called kerneldump.lib.
in the oeminit() function i do reprogramm the global function pointers
with the new ones i wrote from my kerneldump.lib.
so i added the kerneldump.lib to the souces file under SOURCELIBS
section. the hal.lib is linked whitouht problems.
--> but when i try to build the kern.exe which needs the hal.lib i get
this strange errors:
BUILD: [01:0000000050:ERRORE] hal.lib(Init.obj) : error LNK2019:
unresolved external symbol _CFDrWatsonWrite referenced in function
_OEMPostInit
BUILD: [01:0000000051:ERRORE] hal.lib(Init.obj) : error LNK2019:
unresolved external symbol _CFDrWatsonRead referenced in function
_OEMPostInit
BUILD: [01:0000000052:ERRORE] hal.lib(Init.obj) : error LNK2019:
unresolved external symbol _CFDrWatsonClear referenced in function
_OEMPostInit
BUILD: [01:0000000053:ERRORE] hal.lib(Init.obj) : error LNK2019:
unresolved external symbol _CFDrWatsonFlush referenced in function
_OEMPostInit
BUILD: [01:0000000054:ERRORE] hal.lib(Init.obj) : error LNK2019:
unresolved external symbol _CloseHandle referenced in function
_OEMPostInit
the unresolved external symbols are all implemented in the
kerneldump.lib.
the _coloseHandle error is completly strange for me.
now my question:
1. why do i get these errors whe i build the kern.exe and not at the
time when i build the hal.lib? and how can i eliminate them?
can anybody help me?
regards gizmo
.
- Follow-Ups:
- Re: adding a lib to the hal.lib
- From: Gizmo
- Re: adding a lib to the hal.lib
- References:
- adding a lib to the hal.lib
- From: Gizmo
- adding a lib to the hal.lib
- Prev by Date: Re: RNDIS driver problem
- Next by Date: Re: LCD Driver: Smart Panel.
- Previous by thread: adding a lib to the hal.lib
- Next by thread: Re: adding a lib to the hal.lib
- Index(es):
Relevant Pages
|