The problem is that DP will build, but not function properly with those NULL 
libs.  You need to use the libs that your platform uses to get correct results.

-Jaben

From: Isakov Sergey [mailto:[email protected]]
Sent: Friday, August 16, 2013 9:30 PM
To: [email protected]
Subject: Re: [edk2] Shell Build Issues with INCLUDE_DP

I will confirm. (GCC47 toolset).
For successful compilation I have to add
---------
[LibraryClasses.common]

  TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
  
PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf

---------

On 16.08.2013, at 22:23, Tim Lewis wrote:


We found that if we try to build the Shell with Dp. Included using the 
following command line, we get an error. Without it, no problem. Help.

Thanks,

Tim

build -a IA32 -a X64 -p ShellPkg\ShellPkg.dsc -b DEBUG -D INCLUDE_DP
Build environment: Windows-Vista-6.1.7601
Build start time: 18:17:31, Aug.14 2013

WORKSPACE        = c:\insyde\kernel\trunk
ECP_SOURCE       = c:\insyde\kernel\trunk\edkcompatibilitypkg
EDK_SOURCE       = c:\insyde\kernel\trunk\edkcompatibilitypkg
EFI_SOURCE       = c:\insyde\kernel\trunk\insydeframeworkmodulepkg
EDK_TOOLS_PATH   = c:\insyde\kernel\trunk\basetools

Architecture(s)  = IA32 X64
Build target     = DEBUG
Toolchain        = DEVTLS

Active Platform  = c:\insyde\kernel\trunk\ShellPkg\ShellPkg.dsc

Processing meta-data .

build...
c:\insyde\kernel\trunk\ShellPkg\ShellPkg.dsc(...): error 4000: Instance of 
library class [TimerLib] is not found
        in [c:\insyde\kernel\trunk\ShellPkg\Library\UefiDpLib\UefiDpLib.inf] 
[IA32]
        consumed by module 
[c:\insyde\kernel\trunk\ShellPkg\Application\Shell\Shell.inf]

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk_______________________________________________
edk2-devel mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to