OK fixed. This is ultimately what I had to add to DuetPkgX64.dsc to get Ping6 
to compile:  NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf  
IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf  
UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf  
TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf  
FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf  
SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf Shubha D. 
[email protected]
[email protected] 


     On Tuesday, July 7, 2015 4:14 PM, Shubha Ramani <[email protected]> 
wrote:
   

 That fixed it. 
Now I'm getting a different 
error:build...c:\edk2\myworkspace\DuetPkg\DuetPkgX64.dsc(...): error 4000: 
Instance of library class [NetLib] is not found        in 
[c:\edk2\myworkspace\NetworkPkg\Application\Ping6\Ping6.inf] [X64]        
consumed by module [c:\edk2\myworkspace\NetworkPkg\Application\Ping6\Ping6.inf]
Adding DxeNetlib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.infunder 
LibraryClasses of DuetPkgX64.dsc does not fix it. Shubha D. 
[email protected]
[email protected] 


     On Tuesday, July 7, 2015 3:14 PM, Andrew Fish <[email protected]> wrote:
   

 

On Jul 7, 2015, at 2:58 PM, Shubha Ramani <[email protected]> wrote:
Command used:C:\edk2\MyWorkspace>build -p DuetPkg/DuetPkgX64.dsc -a X64 -m 
NetworkPkg/Application/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\Ping6.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 -- *.dscAppPkg/AppPkg.dsc:84:  
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.infArmPkg/ArmPkg.dsc:81:  
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.infEdkShellPkg/EdkShellPkg.dsc:80:
  $(EDK_SHELL_DIR)/Library/EfiShellLib.infEmbeddedPkg/EmbeddedPkg.dsc:103:  
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.infEmulatorPkg/EmulatorPkg.dsc:395:
      
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.infEmulatorPkg/EmulatorPkg.dsc:405:
      
gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSENetworkPkg/NetworkPkg.dsc:60:
  
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.infOvmfPkg/OvmfPkgIa32.dsc:583:
      
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.infOvmfPkg/OvmfPkgIa32.dsc:593:
      
gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSEOvmfPkg/OvmfPkgIa32X64.dsc:590:
      
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.infOvmfPkg/OvmfPkgIa32X64.dsc:600:
      
gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSEOvmfPkg/OvmfPkgX64.dsc:588:
      
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.infOvmfPkg/OvmfPkgX64.dsc:598:
      
gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSEPerformancePkg/PerformancePkg.dsc:53:
  
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.infShellPkg/ShellPkg.dsc:45:
  
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.infShellPkg/ShellPkg.dsc:69:
  
gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSEShellPkg/ShellPkg.dsc:76:
  ShellPkg/Library/UefiShellLib/UefiShellLib.infStdLib/StdLib.dsc:86:  
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.infVlv2TbltDevicePkg/PlatformPkgGccX64.dsc:274:
  
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.infVlv2TbltDevicePkg/PlatformPkgIA32.dsc:274:
  
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.infVlv2TbltDevicePkg/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. [email protected]
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to