Hi,
  There is one source code issue that can't pass GCC build. The following 
messages are reported by GCC. You may need to use type cast to convert data and 
fix it.

/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

Thanks
Liming
From: Anthony Ross [mailto:[email protected]]
Sent: Wednesday, September 11, 2013 9:42 PM
To: [email protected]
Subject: [edk2-buildtools] Require help for compiling Coreboot Package

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: ****  
[/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

Reply via email to