> On Jul 7, 2015, at 2:58 PM, Shubha Ramani <shubharam...@yahoo.com> wrote:
> 
> Command used:
> C:\edk2\MyWorkspace>build -p DuetPkg/DuetPkgX64.dsc -a X64 -m 
> NetworkPkg/Applica
> tion/Ping6/Ping6.inf
> 

Did you add Ping6 to the DuetPkgX64.dsc? 

> build...
> c:\edk2\myworkspace\DuetPkg\DuetPkgX64.dsc(...): error 4000: Instance of 
> library
>  class [ShellLib] is not found
>         in [c:\edk2\myworkspace\NetworkPkg\Application\Ping6\Ping6.inf] [X64]
>         consumed by module 
> [c:\edk2\myworkspace\NetworkPkg\Application\Ping6\Pin
> g6.inf]
> 

The error message is telling you to add a mapping for this library class in 
[LibraryClasses] section of the DSC. 

~/work/src/edk2(master)>git grep ShellLib -- *.dsc
AppPkg/AppPkg.dsc:84:  ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
ArmPkg/ArmPkg.dsc:81:  ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
EdkShellPkg/EdkShellPkg.dsc:80:  $(EDK_SHELL_DIR)/Library/EfiShellLib.inf
EmbeddedPkg/EmbeddedPkg.dsc:103:  
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
EmulatorPkg/EmulatorPkg.dsc:395:      
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
EmulatorPkg/EmulatorPkg.dsc:405:      
gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
NetworkPkg/NetworkPkg.dsc:60:  
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
OvmfPkg/OvmfPkgIa32.dsc:583:      
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
OvmfPkg/OvmfPkgIa32.dsc:593:      
gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
OvmfPkg/OvmfPkgIa32X64.dsc:590:      
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
OvmfPkg/OvmfPkgIa32X64.dsc:600:      
gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
OvmfPkg/OvmfPkgX64.dsc:588:      
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
OvmfPkg/OvmfPkgX64.dsc:598:      
gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
PerformancePkg/PerformancePkg.dsc:53:  
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
ShellPkg/ShellPkg.dsc:45:  
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
ShellPkg/ShellPkg.dsc:69:  
gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
ShellPkg/ShellPkg.dsc:76:  ShellPkg/Library/UefiShellLib/UefiShellLib.inf
StdLib/StdLib.dsc:86:  ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc:274:  
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
Vlv2TbltDevicePkg/PlatformPkgIA32.dsc:274:  
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
Vlv2TbltDevicePkg/PlatformPkgX64.dsc:274:  
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf

Looks like: ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf should do 
it.

Thanks,

Andrew Fish

>  
> Shubha D. Ramani
> shubharam...@gmail.com <mailto:shubharam...@gmail.com>
> shubharam...@yahoo.com 
> <mailto:shubharam...@yahoo.com>------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/_______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to