Still no go with EmulatorPkg package... but i can build AppPkg successfully.
Here is version information from my build system:

svn info:

Path: .
URL: https://svn.code.sf.net/p/edk2/code/trunk/edk2/EmulatorPkg
Repository Root: https://svn.code.sf.net/p/edk2/code
Repository UUID: 6f19259b-4bc3-4df7-8a09-765794883524
Revision: 14680
Node Kind: directory
Schedule: normal
Last Changed Author: lzeng14
Last Changed Rev: 14457
Last Changed Date: 2013-07-03 13:24:07 +0400 (Wed, 03 Jul 2013)

I run "svn revert -R ." to make sure svn is intact and i rebuild BaseTool

uname -a:
3.2.0-53-generic #81-Ubuntu SMP Thu Aug 22 21:01:03 UTC 2013 x86_64 x86_64 
x86_64 GNU/Linux

gcc -v:
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)

building Ovfm package also gives me troubles:

Building ... src/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf [X64]
"/usr/bin/ld" -o 
src/Build/OvmfX64/DEBUG_GCC46/X64/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe/DEBUG/DevicePathDxe.dll
 -nostdlib -n -q --gc-sections --script=src/BaseTools/Scripts/gcc4.4-ld-script 
--entry _ModuleEntryPoint -u _ModuleEntryPoint -Map 
src/Build/OvmfX64/DEBUG_GCC46/X64/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe/DEBUG/DevicePathDxe.map
 -melf_x86_64 --oformat=elf64-x86-64 -\( 
@src/Build/OvmfX64/DEBUG_GCC46/X64/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe/OUTPUT/static_library_files.lst
 -\)
src/Build/OvmfX64/DEBUG_GCC46/X64/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib/OUTPUT/UefiDevicePathLib.lib(UefiDevicePathLib.obj):
 In function `ConvertDeviceNodeToText':
src/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c:291: multiple 
definition of `ConvertDeviceNodeToText'
src/Build/OvmfX64/DEBUG_GCC46/X64/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe/OUTPUT/DevicePathDxe.lib(DevicePathToText.obj):src/MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c:1940:
 first defined here
src/Build/OvmfX64/DEBUG_GCC46/X64/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib/OUTPUT/UefiDevicePathLib.lib(UefiDevicePathLib.obj):
 In function `ConvertDevicePathToText':
src/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c:317: multiple 
definition of `ConvertDevicePathToText'
src/Build/OvmfX64/DEBUG_GCC46/X64/MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe/OUTPUT/DevicePathDxe.lib(DevicePathToText.obj):src/MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c:2001:
 first defined here
src/Build/OvmfX64/DEBUG_GCC46/X64/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib/OUTPUT/UefiDevicePathLib.lib(UefiDevicePathLib.obj):
 In function `ConvertTextToDeviceNode':


________________________________________
From: Laszlo Ersek [ler...@redhat.com]
Sent: 17 September 2013 0:23
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] EmulatorPkg build problem

On 09/16/13 20:20, Andrew Fish wrote:
>
> On Sep 16, 2013, at 6:43 AM, "okosmy...@kraftway.ru

>> /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info):
>> relocation 19 has invalid symbol index 12
>> /usr/bin/ld:
>> /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info):
>> relocation 20 has invalid symbol index 19
>> /usr/lib/x86_64-linux-gnu/crt1.o: In function `_start':
>> (.text+0x12): undefined reference to `__libc_csu_fini'
>> /usr/lib/x86_64-linux-gnu/crt1.o: In function `_start':
>> (.text+0x19): undefined reference to `__libc_csu_init'
>> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>> Any ideas why i have this errors?
>>
>
> I've not seen this, but I build via Xcode. It looks like you are having
> trouble building the Application that hosts the emulator.

I tried to build it now with EmulatorPkg/build.sh (X64, DEBUG, GCC44).
The build completed successfully.

Laszlo

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to