On Feb 11, 2013, at 8:49 AM, "Prakash, Sathya" <sathya.prak...@lsi.com> wrote:
> Folks,
> I have tried to build my driver using udk2010 (so far we are using EDK 1.6).
> I am able to setup the build environment and able to build the module once
> successfully.
>
> But when I want to rebuild again, I have executed the command “build clean”
> and then the next build command resulted in the error below
>
> build...
> : error 0001: File open failure
>
> c:\udk2010sr1ddk\Build\MdeModule\RELEASE_MYTOOLS\X64\MdePkg\Library\BasePcdLibNull\BasePcdLibNull\OUTPUT\BasePcdLibNull.lib
> [Errno 2] No such file or directory:
> 'c:\\udk2010sr1ddk\\Build\\MdeModule\\RELEASE_MYTOOLS\\X64\\MdePkg\\Library\\BasePcdLibNull\\BasePcdLibNull\\OUTPUT\\BasePcdLibNull.lib'
>
Is your clean command symmetric with your build. If you don't pass arguments
they default from the Conf/target.txt file? If they are different then paths
can be different in the build result directory.
>
> Also I have .uni file and I have included the strdef.h in the headers, but I
> see error because the .uni seems not build and the strdef.h is not created (I
> have kept the .uni prior to the c file in .inf)
>
It works differently in the edk2, you don't need to add the #include as it gets
added in the AutoGen.h that is forced included into your driver.
For an example look at
https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/MdeModulePkg/Universal/DriverSampleDxe/
Thanks,
Andrew Fish
> Thanks
> Sathya
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel