Sent from my iPhone
On Sep 11, 2013, at 6:41 AM, Anthony Ross <[email protected]> wrote:
> Hello one and all
> I have been working on building the Coreboot Package from EDK 2 source code
> in Ubuntu 12.04 but it has been failing repeatedly. Well earlier after
> setting up the EDK 2 environment and entering it (edksetup.sh) the MdeModule
> package got successfully built with no errors. But getting to the Corebootpkg
> it seems to end up with errors. The commands I entered in building the the
> Package were:
>
> root@XXXX-desktop:/usr/local/src/edk2-coreboot-pkg # make -C Basetools
>
> root@XXXX-desktop:/usr/local/src/edk2-coreboot-pkg# . edksetup.sh
>
> root@XXXX-desktop:/usr/local/src/edk2-coreboot-pkg# build -a IA32 -p
> corebootPkg/corebootPkg.dsc -t GCC46
>
> At the end of the build process these are the errors I faced:
>
> /usr/local/src/edk2-coreboot-pkg/corebootPkg/PlatformPei/MemDetect.c:97:19:
> error: cast to pointer from integer of different size
> [-Werror=int-to-pointer-cast]
> cc1: all warnings being treated as errors
> make: ****
This is a warning (set to error) in the CoreBoot code. Most likely a int is
getting cast to a pointer. This can be a portability issue when code is ported
to 64-bits, and that is why the compiler warns. These warnings are usually
fixed by casting to UINTN prior to casting to a pointer.
> [/usr/local/src/edk2corebootpkg/Build/corebootIA32/DEBUG_GCC46/IA32/corebootPkg/PlatformPei/PlatformPei/OUTPUT/MemDete
> ct.obj] Error 1
> build.py...
> : error 7000: Failed to execute command
> make tbuild
> [/usr/local/src/edk2-coreboot-pkg/Build/corebootIA32/DEBUG_GCC46/IA32/corebootPkg/PlatformPei/PlatformPei]
> build.py...
> : error F002: Failed to build module
>
> /usr/local/src/edk2-coreboot-pkg/corebootPkg/PlatformPei/PlatformPei.inf
> [IA32, GCC46, DEBUG]
> Failed -
> Build end time: 12:31:31, Sept.09 2013
> Build total time: 00:01:27
>
> Similarly how do I build a FVIMAGE & an FDFFILE and finally....... get the
> Package built successfully.
>
> Any help would be greatly appreciated and honored.....
>
> Frank.
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. Consolidate legacy IT systems to a single system of record for IT
> 2. Standardize and globalize service processes across IT
> 3. Implement zero-touch automation to replace manual, redundant tasks
> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
> _______________________________________________
> edk2-buildtools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
edk2-buildtools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel