[if !mso]> [if !mso]>

RE: [EDK DEV] Tiano linker problem

Subject: RE: [EDK DEV] Tiano linker problem

From: "Gao, Liming" <liming.gao@intel.com>

To: <dev@edk.tianocore.org>

Date: 2008-03-05 22:40:53

Hi, Velado

  You mean that the linker will report the error LNK2019: unresolved external symbol ASPrint.  In fact, this API is implemented in PrintLib. So, you need to add PrintLib library in your app inf to make your app link successfully.




From: Nick F Velado [mailto:nfvelado@us.ibm.com]
Sent: 2008
34 23:24
To: dev@edk.tianocore.org
Subject: [EDK DEV] Tiano linker problem



I am new to UEFI, and am currently writing a shell app that makes a call to the ASPrint() function. I've included EfiCommonLib.h, and specified the paths and library in my inf file. When linking, I get an error that that the external function I'm calling cannot be found. I'm compiling with VS2005. Is there some other library/headerfile/path I need to include, and/or dependency expression I need to use so that the asprint functions gets created so eliminate this linker problem? Is there something else that I'm missing or should check? Thanks,

Nick Velado
IBM, System-X Firmware Development
Office: 512-823-4360
Email: nfvelado@us.ibm.com