On 01/21/15 15:50, Gabriel L. Somlo wrote:
> Hi Laszlo,
> 
> I'm using "build -a X64 -t GCC49 -p OvmfPkg/OvmfPkgX64.dsc" on F21
> to build OVMF, and on a clean git master I get the following error:
> 
> 
> /home/somlo/KVM-OSX/SCRATCH/edk2/Build/OvmfX64/DEBUG_GCC49/X64/OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib/OUTPUT/QemuBootOrderLib.lib(QemuBootOrderLib.obj):
> In function `SetBootOrderFromQemu':
> /home/somlo/KVM-OSX/SCRATCH/edk2/OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.c:1438:
> multiple definition of `SetBootOrderFromQemu'
> /home/somlo/KVM-OSX/SCRATCH/edk2/Build/OvmfX64/DEBUG_GCC49/X64/OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib/OUTPUT/PlatformBdsLib.lib(QemuBootOrder.obj):/home/somlo/KVM-OSX/SCRATCH/edk2/OvmfPkg/Library/PlatformBdsLib/QemuBootOrder.c:1187:
> first defined here
> GNUmakefile:498: recipe for target
> '/home/somlo/KVM-OSX/SCRATCH/edk2/Build/OvmfX64/DEBUG_GCC49/X64/IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe/DEBUG/BdsDxe.dll'
> failed
> 
> 
> Bisect flags commit ea444a3e42a61a9fbbb77401265e5d8b3bcba050 as the
> culprit, and indeed, after reverting it my build command completed
> without further problems.
> 
> Any idea what might be going wrong ?

I don't have the slightest clue. Commit ea444a3e should be unrelated.

But, more importantly, the file 
"OvmfPkg/Library/PlatformBdsLib/QemuBootOrder.c" (reported as having the first 
definition) shouldn't even exist in your tree.

commit cca7475bcbb8bfc7c732e106692a6d15e1dae51c
Author: Laszlo Ersek <[email protected]>
Date:   Fri Jan 2 12:07:57 2015 +0000

    OvmfPkg: extract QemuBootOrderLib
    
    and rebase OvmfPkg's PlatformBdsLib on the standalone library.
    
    Contributed-under: TianoCore Contribution Agreement 1.0
    Signed-off-by: Laszlo Ersek <[email protected]>
    Acked-by: Jordan Justen <[email protected]>
    
    git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16570 
6f19259b-4bc3-4df7-8a09-765794883524

 OvmfPkg/{Library/PlatformBdsLib/QemuBootOrder.h => 
Include/Library/QemuBootOrderLib.h}  |  6 +++++-
 OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c                                   
         |  2 +-
 OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf                              
         |  3 +--
 OvmfPkg/Library/{PlatformBdsLib/QemuBootOrder.c => 
QemuBootOrderLib/QemuBootOrderLib.c} |  3 ++-
 OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf                          
         | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 OvmfPkg/OvmfPkg.dec                                                            
         |  5 +++++
 OvmfPkg/OvmfPkgIa32.dsc                                                        
         |  1 +
 OvmfPkg/OvmfPkgIa32X64.dsc                                                     
         |  1 +
 OvmfPkg/OvmfPkgX64.dsc                                                         
         |  1 +
 9 files changed, 70 insertions(+), 5 deletions(-)

Thanks
Laszlo


------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to