Jump to content

Build_Clover.command v4.3.7


1 Screenshot

About This File

An advanced script to build standard Clover... or customized by you..

post-674334-0-80063400-1476624864.png

Yes, works in macOS X, in Ubuntu 16.04 + and Debian 8.6 +

more info and usage at the relative topic here

 

Big thanks to the following testers:

droples, Riley Freeman, pico joe, fantomas1, Fljagd, calibre, Mork vom Ork, Maniac10, Matgen84,

Sherlocks, ellaosx, magnifico, AsusFreak, badruzeus, LabyOne, Ukr55, D-an-W, SavageAUS, bronxteck,

artur_pt

 

and all others (I'll be happy to increase this list)


What's New in Version v4.3.7

Released

  • latest version from github
  • Like 1
 Share


User Feedback

Recommended Comments

does this work with os x lion ?

You have to set it this way:

XCODE="XCODE5"     # XCODE32
GNU="GCC49"        # GCC49 GCC53 GCC61
BUILDTOOL="$GNU" # XCODE or GNU?      (use $GNU to use GNU gcc, $XCODE to use the choosen Xcode version)

Than make these lines:

cp -R "${DIR_MAIN}"/edk2/Clover/Patches_for_EDK2/* "${DIR_MAIN}"/edk2/ # in Lion cp cause error with subversion (comment this line and enable next)
# rsync -rv --exclude=.svn "${DIR_MAIN}"/edk2/Clover/Patches_for_EDK2/ "${DIR_MAIN}"/edk2

to be:

# cp -R "${DIR_MAIN}"/edk2/Clover/Patches_for_EDK2/* "${DIR_MAIN}"/edk2/ # in Lion cp cause error with subversion (comment this line and enable next)
rsync -rv --exclude=.svn "${DIR_MAIN}"/edk2/Clover/Patches_for_EDK2/ "${DIR_MAIN}"/edk2
Link to comment
Share on other sites

Hello Micky

 

Please help me

 

r3.2: I build Clover from scratch (option 8). For nam check, this message appears:

 

nasm check:

                          <----------------------------------------------------

nasm not found..

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100 1295k  100 1295k    0     0   629k      0  0:00:02  0:00:02 --:--:--  629k

Archive:  2.12.02.zip

  inflating: nasm-2.12.02/ldrdf      

  inflating: nasm-2.12.02/README     

  inflating: nasm-2.12.02/nasm       

  inflating: nasm-2.12.02/rdfdump    

  inflating: nasm-2.12.02/LICENSE    

  inflating: nasm-2.12.02/rdf2ihx    

  inflating: nasm-2.12.02/ndisasm    

  inflating: nasm-2.12.02/nasmdoc.pdf  

  inflating: nasm-2.12.02/rdflib     

  inflating: nasm-2.12.02/rdf2bin    

  inflating: nasm-2.12.02/rdf2ith    

  inflating: nasm-2.12.02/man1/rdf2bin.1  

 extracting: nasm-2.12.02/man1/rdf2srec.1  

 extracting: nasm-2.12.02/man1/rdf2ihx.1  

 extracting: nasm-2.12.02/man1/rdf2ith.1  

  inflating: nasm-2.12.02/man1/ldrdf.1  

  inflating: nasm-2.12.02/man1/rdflib.1  

 extracting: nasm-2.12.02/man1/rdf2com.1  

  inflating: nasm-2.12.02/man1/rdfdump.1  

  inflating: nasm-2.12.02/man1/ndisasm.1  

  inflating: nasm-2.12.02/man1/nasm.1  

  inflating: nasm-2.12.02/man1/rdx.1  

  inflating: nasm-2.12.02/rdf2srec   

  inflating: nasm-2.12.02/rdx        

  inflating: nasm-2.12.02/rdf2com    

cp: /opt/local/bin/nasm: Permission denied

logout

 

Link to comment
Share on other sites

Great job, could you get script to auto link itself?

So to use it just type clover etc...

Thanks. Sorry but where should I put a link? you mean a symlink somewhere?

 

EDIT

done in 4.1.5

Link to comment
Share on other sites

Thanks, the script works beautifully ... just one thing somewhere there is a Clover.dsc for me (Mountain Lion used almost all defaults except MODE set to "R" ) I needed to remove -Wno-msvc-include at line 613

Link to comment
Share on other sites

Hi @Qwels, did you forgot to update the script?

... the Build_clover.command here is outdated, but can update itself:

 

1/2) update Build_Clover.command

Link to comment
Share on other sites

Hi @Micky.
Yes update Cl.comm- v.4.28 and update: xCode-v8.2 and

svn.code.sf.net/p/edk2/code 

svn.code.sf.net/p/Clover efi/code

SIP = Yes and No.

No compile Clover.

 

 

===============================================================================
Build_Clover script v4.2.8 a new version v4.3.5 is available for download
                          <----------------------------------------------------
===============================================================================
By Micky1979 based on Slice, Zenith432, STLVNUB, JrCs, cecekpawon, Needy,
cvad, Rehabman, philip_petev, ErmaC

Supported OSes: macOS X, Ubuntu (16.04/16.10), Debian Jessie (8.4/8.5/8.6)
                          <----------------------------------------------------
Remote revision: 4044 Local revision: 0
                          <----------------------------------------------------
===============================================================================
Running from: 10.12.3
                          <----------------------------------------------------
===============================================================================
Xcode 8.2
Build version 8C38
                          <----------------------------------------------------
Configured with: --prefix=/Volumes/WDQW/Xcode/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: x86_64-apple-darwin16.4.0
Thread model: posix
InstalledDir: /Volumes/WDQW/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
===============================================================================

                          <----------------------------------------------------

===============================================================================
Updating edk2
                          <----------------------------------------------------
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   592    0   592    0     0    675      0 --:--:-- --:--:-- --:--:--   675
checking..available, continuing..
svn: E155000: '/Users/qwels/src/edk2' is already a working copy for a different URL

an error was encountered syncing the repository:
------------------------------

svn: E155000: '/Users/qwels/src/edk2' is already a working copy for a different URL

------------------------------
Can be temporarily, retry later or seek for help.
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.


 

Link to comment
Share on other sites

ERROR

 

 

===============================================================================

Select the desired architecture

                          <----------------------------------------------------

     1) Standard x64 only

     2) ia32 and x64 (ia32 is deprecated)

     3) ia32 only (deprecated)

     4) Back to Main Menu

     5) Exit

? 2

===============================================================================

Running from: 10.12.3

                          <----------------------------------------------------

===============================================================================

Xcode 8.2

Build version 8C38

                          <----------------------------------------------------

Configured with: --prefix=/Volumes/WDQW/Xcode/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1

Apple LLVM version 8.0.0 (clang-800.0.42.1)

Target: x86_64-apple-darwin16.4.0

Thread model: posix

InstalledDir: /Volumes/WDQW/Xcode/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

===============================================================================

 

                          <----------------------------------------------------

===============================================================================

BUILDTOOL is XCODE5

                          <----------------------------------------------------

 

===============================================================================

nasm check:

                          <----------------------------------------------------

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100 1295k  100 1295k    0     0   570k      0  0:00:02  0:00:02 --:--:--  570k

Archive:  2.12.02.zip

  inflating: nasm-2.12.02/ldrdf      

  inflating: nasm-2.12.02/README     

  inflating: nasm-2.12.02/nasm       

  inflating: nasm-2.12.02/rdfdump    

  inflating: nasm-2.12.02/LICENSE    

  inflating: nasm-2.12.02/rdf2ihx    

  inflating: nasm-2.12.02/ndisasm    

  inflating: nasm-2.12.02/nasmdoc.pdf  

  inflating: nasm-2.12.02/rdflib     

  inflating: nasm-2.12.02/rdf2bin    

  inflating: nasm-2.12.02/rdf2ith    

  inflating: nasm-2.12.02/man1/rdf2bin.1  

 extracting: nasm-2.12.02/man1/rdf2srec.1  

 extracting: nasm-2.12.02/man1/rdf2ihx.1  

 extracting: nasm-2.12.02/man1/rdf2ith.1  

  inflating: nasm-2.12.02/man1/ldrdf.1  

  inflating: nasm-2.12.02/man1/rdflib.1  

 extracting: nasm-2.12.02/man1/rdf2com.1  

  inflating: nasm-2.12.02/man1/rdfdump.1  

  inflating: nasm-2.12.02/man1/ndisasm.1  

  inflating: nasm-2.12.02/man1/nasm.1  

  inflating: nasm-2.12.02/man1/rdx.1  

  inflating: nasm-2.12.02/rdf2srec   

  inflating: nasm-2.12.02/rdx        

  inflating: nasm-2.12.02/rdf2com    

/Users/qwels/src/opt/local/bin/ is writable!

Done

===============================================================================

gettext check:

                          <----------------------------------------------------

gettext not found..

 

Status: gettext-latest.tar.gz not found.

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100 18.7M  100 18.7M    0     0  2665k      0  0:00:07  0:00:07 --:--:-- 2937k

- Creating new RAM disk

 

Initialized /dev/rdisk3 as a 300 MB case-insensitive HFS Plus volume

-  gettext-latest extract...

-  gettext-latest configure...

-  gettext-latest make...

-  gettext-latest installing...

-  gettext-latest installed in /Users/qwels/src/opt/local

 

- Ejecting RAM disk

"disk3" unmounted.

"disk3" ejected.

===============================================================================

boot6

                          <----------------------------------------------------

TOOLCHAIN_DIR: /Users/qwels/src/opt/local

Installing mtoc

Password:

Installing mtoc.NEW

NASM_PREFIX: /Users/qwels/src/opt/local/bin/

NASM_VER: 2.12.02

Initializing workspace

Loading previous configuration from /Users/qwels/src/edk2/Conf/BuildEnv.sh

WORKSPACE: /Users/qwels/src/edk2

EDK_TOOLS_PATH: /Users/qwels/src/edk2/BaseTools

CONF_PATH: /Users/qwels/src/edk2/Conf

 

Running edk2 build for CloverX64 using the command:

build  -D NO_GRUB_DRIVERS_EMBEDDED -D CHECK_FLAGS -D USE_LOW_EBDA -p Clover/Clover.dsc  -a X64 -b RELEASE -t XCODE5 -n 9

 

Build environment: Darwin-16.4.0-x86_64-i386-64bit

Build start time: 05:51:28, Mar.17 2017

 

WORKSPACE        = /Users/qwels/src/edk2

ECP_SOURCE       = /Users/qwels/src/edk2/EdkCompatibilityPkg

EDK_SOURCE       = /Users/qwels/src/edk2/EdkCompatibilityPkg

EFI_SOURCE       = /Users/qwels/src/edk2/EdkCompatibilityPkg

EDK_TOOLS_PATH   = /Users/qwels/src/edk2/BaseTools

CONF_PATH        = /Users/qwels/src/edk2/Conf

 

 

Architecture(s)  = X64

Build target     = RELEASE

Toolchain        = XCODE5

 

Active Platform          = /Users/qwels/src/edk2/Clover/Clover.dsc

Flash Image Definition   = /Users/qwels/src/edk2/Clover/Clover.fdf

 

Processing meta-data ............. done!

Building ... /Users/qwels/src/edk2/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf [X64]

Building ... /Users/qwels/src/edk2/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf [X64]

Building ... /Users/qwels/src/edk2/MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf [X64]

Building ... /Users/qwels/src/edk2/MdePkg/Library/BaseLib/BaseLib.inf [X64]

Building ... /Users/qwels/src/edk2/MdePkg/Library/BasePrintLib/BasePrintLib.inf [X64]

Building ... /Users/qwels/src/edk2/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf [X64]

[CC] DebugLib

Building ... /Users/qwels/src/edk2/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf [X64]

[CC] PcdLib

Building ... /Users/qwels/src/edk2/MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf [X64]

[CC] SetMem

Building ... /Users/qwels/src/edk2/MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf [X64]

[CC] BaseReportStatusCodeLib

[CC] IoLibMmioBuffer

[CC] ScanMem64Wrapper

[CC] CheckSum

[CC] ScanMem32Wrapper

[CC] SwitchStack

[CC] ScanMem16Wrapper

[CC] SwapBytes64

[CC] DxeCoreEntryPoint

[CC] IoHighLevel

[CC] SwapBytes32

[CC] MemoryAllocationLib

[CC] IoLibGcc

[CC] SwapBytes16

[CC] PrintLibInternal

[CC] DxeCoreMemoryProfileLibNull

[CC] IoLib

[CC] LongJump

[CC] PrintLib

[CC] SetJump

[CC] RShiftU64

[CC] RRotU64

[CC] RRotU32

[CC] ScanMem8Wrapper

[CC] MultU64x64

[CC] MultU64x32

[CC] MultS64x64

[CC] ZeroMemWrapper

[CC] ModU64x32

[CC] CompareMemWrapper

[CC] LShiftU64

[CC] SetMem64Wrapper

[sLINK] BaseDebugLibNull

Building ... /Users/qwels/src/edk2/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf [X64]

[sLINK] BasePcdLibNull

Building ... /Users/qwels/src/edk2/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf [X64]

[CC] SetMem32Wrapper

[CC] LRotU64

[sLINK] BaseReportStatusCodeLibNull

Building ... /Users/qwels/src/edk2/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf [X64]

[CC] SetMem16Wrapper

[CC] LRotU32

[CC] UefiRuntimeServicesTableLib

[sLINK] UefiRuntimeServicesTableLib

Building ... /Users/qwels/src/edk2/MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf [X64]

[CC] SetMemWrapper

[CC] LowBitSet64

[CC] UefiBootServicesTableLib

[CC] CopyMemWrapper

[sLINK] UefiBootServicesTableLib

Building ... /Users/qwels/src/edk2/MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf [X64]

[CC] PeCoffExtraActionLib

[CC] LowBitSet32

[sLINK] PeCoffExtraActionLibNull

Building ... /Users/qwels/src/edk2/MdePkg/Library/UefiLib/UefiLib.inf [X64]

[sLINK] DxeCoreEntryPoint

Building ... /Users/qwels/src/edk2/MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf [X64]

[CC] DevicePathUtilities

[CC] IsZeroBufferWrapper

[CC] HighBitSet64

[CC] HighBitSet32

[CC] HobLib

[CC] X86Cache

[sLINK] DxeCoreMemoryAllocationLib

Building ... /Users/qwels/src/edk2/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf [X64]

[CC] MemLibGeneric

[sLINK] DxeCoreHobLib

[sLINK] BaseCacheMaintenanceLib

[CC] GetPowerOfTwo64

[sLINK] BaseIoLibIntrinsic

Building ... /Users/qwels/src/edk2/MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf [X64]

[CC] UefiLibPrint

Building ... /Users/qwels/src/edk2/Clover/Library/VBoxPeCoffLib/VBoxPeCoffLib.inf [X64]

Building ... /Users/qwels/src/edk2/MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf [X64]

[CC] MemLibGuid

[CC] GetPowerOfTwo32

[CC] PerformanceLib

[sLINK] BasePerformanceLibNull

Building ... /Users/qwels/src/edk2/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf [X64]

[CC] DivU64x64Remainder

[CC] UefiNotTiano

[CC] PeCoffGetEntryPoint

[CC] DivU64x32Remainder

[sLINK] BasePeCoffGetEntryPointLib

Building ... /Users/qwels/src/edk2/Clover/Library/DuetTimerLib/DuetTimerLib.inf [X64]

[CC] CopyMem

[sLINK] BaseMemoryLib

[CC] DivU64x32

Building ... /Users/qwels/src/edk2/MdePkg/Library/DxeServicesLib/DxeServicesLib.inf [X64]

[CC] DxeExtractGuidedSectionLib

[CC] BaseUefiDecompressLib

[CC] DivS64x64Remainder

[sLINK] BaseUefiDecompressLib

Building ... /Users/qwels/src/edk2/MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf [X64]

[CC] DevicePathToText

[CC] ARShiftU64

[sLINK] BasePrintLib

Building ... /Users/qwels/src/edk2/MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf [X64]

[CC] X86TimerLib

[CC] DebugAgentLibNull

[CC] BasePeCoff

[sLINK] DuetTimerLib

Building ... /Users/qwels/src/edk2/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf [X64]

[sLINK] DebugAgentLibNull

[CC] UefiDriverModel

Building ... /Users/qwels/src/edk2/MdePkg/Library/DxeHobLib/DxeHobLib.inf [X64]

[CC] PeCoffLoaderEx

[CC] BitField

[sLINK] VBoxPeCoffLib

Building ... /Users/qwels/src/edk2/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf [X64]

[CC] CpuExceptionHandlerLibNull

[sLINK] CpuExceptionHandlerLibNull

Building ... /Users/qwels/src/edk2/MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf [X64]

[CC] CpuDeadLoop

[CC] DxeServicesLib

[CC] MemoryAllocationLib

[CC] Cpu

[CC] Console

[CC] HobLib

[sLINK] DxeServicesLib

[sLINK] DxeExtractGuidedSectionLib

Building ... /Users/qwels/src/edk2/MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf [X64]

[sLINK] UefiMemoryAllocationLib

[sLINK] DxeHobLib

[CC] DriverEntryPoint

Building ... /Users/qwels/src/edk2/MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf [X64]

[sLINK] UefiDriverEntryPoint

Building ... /Users/qwels/src/edk2/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf [X64]

Building ... /Users/qwels/src/edk2/MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf [X64]

Building ... /Users/qwels/src/edk2/MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf [X64]

[CC] LinkedList

[CC] RuntimeLib

[sLINK] UefiRuntimeLib

[CC] InternalGetSpinLockProperties

Building ... /Users/qwels/src/edk2/MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf [X64]

/Users/qwels/src/edk2/MdePkg/Library/BaseLib/SafeString.c:687:10: error: implicit declaration of function 'InternalIsDecimalDigitCharacter' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

  while (InternalIsDecimalDigitCharacter (*String)) {

         ^

/Users/qwels/src/edk2/MdePkg/Library/BaseLib/SafeString.c:922:7: error: implicit declaration of function 'InternalCharToUpper' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

  if (InternalCharToUpper (*String) == L'X') {

      ^

/Users/qwels/src/edk2/MdePkg/Library/BaseLib/SafeString.c:935:10: error: implicit declaration of function 'InternalIsHexaDecimalDigitCharacter' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

  while (InternalIsHexaDecimalDigitCharacter (*String)) {

         ^

/Users/qwels/src/edk2/MdePkg/Library/BaseLib/SafeString.c:935:10: note: did you mean 'InternalIsDecimalDigitCharacter'?

/Users/qwels/src/edk2/MdePkg/Library/BaseLib/SafeString.c:687:10: note: 'InternalIsDecimalDigitCharacter' declared here

  while (InternalIsDecimalDigitCharacter (*String)) {

         ^

/Users/qwels/src/edk2/MdePkg/Library/BaseLib/SafeString.c:950:28: error: implicit declaration of function 'InternalHexCharToUintn' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

    *Data = (*Data << 4) + InternalHexCharToUintn (*String);

                           ^

/Users/qwels/src/edk2/MdePkg/Library/BaseLib/SafeString.c:950:28: note: did you mean 'InternalCharToUpper'?

/Users/qwels/src/edk2/MdePkg/Library/BaseLib/SafeString.c:922:7: note: 'InternalCharToUpper' declared here

  if (InternalCharToUpper (*String) == L'X') {

      ^

/Users/qwels/src/edk2/MdePkg/Library/BaseLib/SafeString.c:1541:12: error: implicit declaration of function 'StrHexToBytes' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

  Status = StrHexToBytes (String, 2 * sizeof (LocalGuid.Data1), (UINT8 *) &LocalGuid.Data1, sizeof (LocalGuid.Data1));

           ^

/Users/qwels/src/edk2/MdePkg/Library/BaseLib/SafeString.c:1644:1: error: conflicting types for 'StrHexToBytes'

StrHexToBytes (

^

/Users/qwels/src/edk2/MdePkg/Library/BaseLib/SafeString.c:1541:12: note: previous implicit declaration is here

  Status = StrHexToBytes (String, 2 * sizeof (LocalGuid.Data1), (UINT8 *) &LocalGuid.Data1, sizeof (LocalGuid.Data1));

           ^

/Users/qwels/src/edk2/MdePkg/Library/BaseLib/SafeString.c:2252:10: error: implicit declaration of function 'InternalAsciiIsDecimalDigitCharacter' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

  while (InternalAsciiIsDecimalDigitCharacter (*String)) {

         ^

/Users/qwels/src/edk2/MdePkg/Library/BaseLib/SafeString.c:2252:10: note: did you mean 'InternalIsDecimalDigitCharacter'?

/Users/qwels/src/edk2/MdePkg/Library/BaseLib/SafeString.c:687:10: note: 'InternalIsDecimalDigitCharacter' declared here

  while (InternalIsDecimalDigitCharacter (*String)) {

         ^

/Users/qwels/src/edk2/MdePkg/Library/BaseLib/SafeString.c:2480:7: error: implicit declaration of function 'InternalBaseLibAsciiToUpper' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

  if (InternalBaseLibAsciiToUpper (*String) == 'X') {

      ^

/Users/qwels/src/edk2/MdePkg/Library/BaseLib/SafeString.c:2493:10: error: implicit declaration of function 'InternalAsciiIsHexaDecimalDigitCharacter' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

  while (InternalAsciiIsHexaDecimalDigitCharacter (*String)) {

         ^

/Users/qwels/src/edk2/MdePkg/Library/BaseLib/SafeString.c:2493:10: note: did you mean 'InternalAsciiIsDecimalDigitCharacter'?

/Users/qwels/src/edk2/MdePkg/Library/BaseLib/SafeString.c:2252:10: note: 'InternalAsciiIsDecimalDigitCharacter' declared here

  while (InternalAsciiIsDecimalDigitCharacter (*String)) {

         ^

/Users/qwels/src/edk2/MdePkg/Library/BaseLib/SafeString.c:2508:28: error: implicit declaration of function 'InternalAsciiHexCharToUintn' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

    *Data = (*Data << 4) + InternalAsciiHexCharToUintn (*String);

                           ^

[CC] GccInline

/Users/qwels/src/edk2/MdePkg/Library/BaseLib/SafeString.c:2508:28: note: did you mean 'InternalHexCharToUintn'?

/Users/qwels/src/edk2/MdePkg/Library/BaseLib/SafeString.c:950:28: note: 'InternalHexCharToUintn' declared here

    *Data = (*Data << 4) + InternalHexCharToUintn (*String);

                           ^

[CC] TpmMeasurementLibNull

/Users/qwels/src/edk2/MdePkg/Library/BaseLib/SafeString.c:3508:12: error: implicit declaration of function 'AsciiStrHexToBytes' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

  Status = AsciiStrHexToBytes (String, 2 * sizeof (LocalGuid.Data1), (UINT8 *) &LocalGuid.Data1, sizeof (LocalGuid.Data1));

           ^

/Users/qwels/src/edk2/MdePkg/Library/BaseLib/SafeString.c:3609:1: error: conflicting types for 'AsciiStrHexToBytes'

AsciiStrHexToBytes (

^

[CC] DxeServicesTableLib

/Users/qwels/src/edk2/MdePkg/Library/BaseLib/SafeString.c:3508:12: note: previous implicit declaration is here

  Status = AsciiStrHexToBytes (String, 2 * sizeof (LocalGuid.Data1), (UINT8 *) &LocalGuid.Data1, sizeof (LocalGuid.Data1));

           ^

12 errors generated.

make: *** [/users/qwels/src/edk2/Build/Clover/RELEASE_XCODE5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/SafeString.obj] Error 1

 

 

build.py...

 : error 7000: Failed to execute command

    make tbuild [/users/qwels/src/edk2/Build/Clover/RELEASE_XCODE5/X64/MdePkg/Library/BaseLib/BaseLib]

 

 

build.py...

 : error F002: Failed to build module

    /Users/qwels/src/edk2/MdePkg/Library/BaseLib/BaseLib.inf [X64, XCODE5, RELEASE]

 

- Failed -

Build end time: 05:51:47, Mar.17 2017

Build total time: 00:00:19

 

 

o_Ops, ./ebuild.sh exited with error(s), aborting..

logout

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.

 

Link to comment
Share on other sites

Yes This program is running. (Clover compile.)
But the bugs too.A lot.

http://www.insanelymac.com/forum/files/file/542-clover-builderapp/

 

If you compile the same source with them you probably get a modified source... almost incompatible with Build_Clover.command. But anyway (I did not try my self because I can't now) the error comes from ebuild.sh:

o_Ops, ./ebuild.sh exited with error(s), aborting..

but is inside Clover source. Nothing to do with this script. 

Link to comment
Share on other sites

×
×
  • Create New...