From: David F. <df...@gm...> - 2017-10-06 19:25:51
|
c:\edk2\Test\Test.dsc(...): error 4000: Instance of library class [PeCoffExtraActionLib] is not found in [c:\edk2\MdePkg\Library\BasePeCoffLib\BasePeCoffLib.inf] [X64] consumed by module [c:\edk2\Test\testapp\testapp.inf] I tried adding it to Test.dsc, using: BasePeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf But still not working. ??? What am I missing? TIA!! |
From: Jarlstrom, L. <lau...@in...> - 2017-10-06 19:51:18
|
Hi David, Adding the Library reference should have done the trick. Did you put it in the section below in your .dsc file? [LibraryClasses.common] Also you responded to a email list that is not current. The current email is: edk...@li... Please use this list in the future. Also where did you find a reference to this email list? thanks, Laurie lau...@in... Intel SSG/STO/EBP (503) 712-9395 -----Original Message----- From: David F. [mailto:df...@gm...] Sent: Friday, October 06, 2017 12:26 PM To: edk...@li... Subject: [edk2-buildtools] Problem Building - can't find PeCoffExtraActionLib c:\edk2\Test\Test.dsc(...): error 4000: Instance of library class [PeCoffExtraActionLib] is not found in [c:\edk2\MdePkg\Library\BasePeCoffLib\BasePeCoffLib.inf] [X64] consumed by module [c:\edk2\Test\testapp\testapp.inf] I tried adding it to Test.dsc, using: BasePeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf But still not working. ??? What am I missing? TIA!! ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ edk2-buildtools-devel mailing list edk...@li... https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel |
From: David F. <df...@gm...> - 2017-10-06 19:56:05
|
I luckily got it working. I changed from using Base* to just the name in the .dsc file: PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf Then in the .inf that uses it I also used just the name without the Base part: [LibraryClasses] PeCoffLib On Fri, Oct 6, 2017 at 12:51 PM, Jarlstrom, Laurie <lau...@in...> wrote: > Hi David, > > Adding the Library reference should have done the trick. Did you put it in the section below in your .dsc file? > [LibraryClasses.common] > > > Also you responded to a email list that is not current. The current email is: edk...@li... > Please use this list in the future. > > Also where did you find a reference to this email list? > > thanks, > Laurie > > lau...@in... > > Intel SSG/STO/EBP > (503) 712-9395 > > > -----Original Message----- > From: David F. [mailto:df...@gm...] > Sent: Friday, October 06, 2017 12:26 PM > To: edk...@li... > Subject: [edk2-buildtools] Problem Building - can't find PeCoffExtraActionLib > > c:\edk2\Test\Test.dsc(...): error 4000: Instance of library class [PeCoffExtraActionLib] is not found > in [c:\edk2\MdePkg\Library\BasePeCoffLib\BasePeCoffLib.inf] [X64] > consumed by module [c:\edk2\Test\testapp\testapp.inf] > > I tried adding it to Test.dsc, using: > > BasePeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf > > > But still not working. > > > ??? > > What am I missing? > > TIA!! > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ > edk2-buildtools-devel mailing list > edk...@li... > https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel |
From: Gao, L. <lim...@in...> - 2017-10-09 02:40:35
|
David: Library class name is defined in Package.dec file. And, library instance (such as MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf) INF [Defines] section has LIBRARY_CLASS item to specify its name. Thanks Liming >-----Original Message----- >From: David F. [mailto:df...@gm...] >Sent: Saturday, October 07, 2017 3:56 AM >To: Jarlstrom, Laurie <lau...@in...> >Cc: edk...@li... >Subject: Re: [edk2-buildtools] Problem Building - can't find >PeCoffExtraActionLib > >I luckily got it working. I changed from using Base* to just the >name in the .dsc file: > > PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf > >PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePe >CoffExtraActionLibNull.inf > >Then in the .inf that uses it I also used just the name without the Base part: > >[LibraryClasses] > PeCoffLib > > >On Fri, Oct 6, 2017 at 12:51 PM, Jarlstrom, Laurie ><lau...@in...> wrote: >> Hi David, >> >> Adding the Library reference should have done the trick. Did you put it in >the section below in your .dsc file? >> [LibraryClasses.common] >> >> >> Also you responded to a email list that is not current. The current email is: >edk...@li... >> Please use this list in the future. >> >> Also where did you find a reference to this email list? >> >> thanks, >> Laurie >> >> lau...@in... >> >> Intel SSG/STO/EBP >> (503) 712-9395 >> >> >> -----Original Message----- >> From: David F. [mailto:df...@gm...] >> Sent: Friday, October 06, 2017 12:26 PM >> To: edk...@li... >> Subject: [edk2-buildtools] Problem Building - can't find PeCoffExtraActionLib >> >> c:\edk2\Test\Test.dsc(...): error 4000: Instance of library class >[PeCoffExtraActionLib] is not found >> in [c:\edk2\MdePkg\Library\BasePeCoffLib\BasePeCoffLib.inf] [X64] >> consumed by module [c:\edk2\Test\testapp\testapp.inf] >> >> I tried adding it to Test.dsc, using: >> >> >BasePeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/Ba >sePeCoffExtraActionLibNull.inf >> >> >> But still not working. >> >> >> ??? >> >> What am I missing? >> >> TIA!! >> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most engaging >tech sites, Slashdot.org! http://sdm.link/slashdot >_______________________________________________ >> edk2-buildtools-devel mailing list >> edk...@li... >> https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel > >------------------------------------------------------------------------------ >Check out the vibrant tech community on one of the world's most >engaging tech sites, Slashdot.org! http://sdm.link/slashdot >_______________________________________________ >edk2-buildtools-devel mailing list >edk...@li... >https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel |