Hi everyone
I just tried to compile the emulator package and got the following error:
-----------------------------------------------------------------------------------------------------------------------
Building ... /home/rafael/src/edk2/EmbeddedPkg/SerialDxe/SerialDxe.inf [X64]
"/usr/bin/ld" -o
/home/rafael/src/edk2/Build/Emulator/DEBUG_GCC46/X64/EmbeddedPkg/SerialDxe/SerialDxe/DEBUG/SerialDxe.dll
-nostdlib -n -q --gc-sections
--script=/home/rafael/src/edk2/BaseTools/Scripts/gcc4.4-ld-script --entry
_ModuleEntryPoint -u _ModuleEntryPoint -Map
/home/rafael/src/edk2/Build/Emulator/DEBUG_GCC46/X64/EmbeddedPkg/SerialDxe/SerialDxe/DEBUG/SerialDxe.map
-melf_x86_64 --oformat=elf64-x86-64 -\(
@/home/rafael/src/edk2/Build/Emulator/DEBUG_GCC46/X64/EmbeddedPkg/SerialDxe/SerialDxe/OUTPUT/static_library_files.lst
-\)
/home/rafael/src/edk2/Build/Emulator/DEBUG_GCC46/X64/EmbeddedPkg/SerialDxe/SerialDxe/OUTPUT/SerialDxe.lib(SerialIo.obj):
In function `SerialSetAttributes':
Building ...
/home/rafael/src/edk2/MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
[X64]
/home/rafael/src/edk2/EmbeddedPkg/SerialDxe/SerialIo.c:168: undefined
reference to `SerialPortSetAttributes'
/home/rafael/src/edk2/Build/Emulator/DEBUG_GCC46/X64/EmbeddedPkg/SerialDxe/SerialDxe/OUTPUT/SerialDxe.lib(SerialIo.obj):
In function `SerialSetControl':
/home/rafael/src/edk2/EmbeddedPkg/SerialDxe/SerialIo.c:240: undefined
reference to `SerialPortSetControl'
/home/rafael/src/edk2/Build/Emulator/DEBUG_GCC46/X64/EmbeddedPkg/SerialDxe/SerialDxe/OUTPUT/SerialDxe.lib(SerialIo.obj):
In function `SerialGetControl':
/home/rafael/src/edk2/EmbeddedPkg/SerialDxe/SerialIo.c:261: undefined
reference to `SerialPortGetControl'
make: ***
[/home/rafael/src/edk2/Build/Emulator/DEBUG_GCC46/X64/EmbeddedPkg/SerialDxe/SerialDxe/DEBUG/SerialDxe.dll]
Error 1
build.py...
: error 7000: Failed to execute command
make tbuild
[/home/rafael/src/edk2/Build/Emulator/DEBUG_GCC46/X64/EmbeddedPkg/SerialDxe/SerialDxe]
build.py...
: error F002: Failed to build module
/home/rafael/src/edk2/EmbeddedPkg/SerialDxe/SerialDxe.inf [X64, GCC46,
DEBUG]
- Failed -
Build end time: 19:43:17, May.21 2014
Build total time: 00:00:05
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
gcc version 4.6.4 (Ubuntu/Linaro 4.6.4-6ubuntu2)
OS: Ubuntu 14.04 LTS
Any idea about the problem ?
Thanks and Regards
Rafael R. Machado
2014-04-01 5:11 GMT-03:00 Oleg K <o.kosmy...@gmail.com>:
> Hello devs!
>
> Recently i tried to compile EmulatorPkg on fresh
> ubuntu-12.04.3-desktop-amd64.iso install and got non-working package.
>
> Package compiled successfully:
>
>
>
> *- Done -Build end time: 11:57:32, Apr.01 2014Build total time: 00:00:27*
>
> But failed to start:
>
>
>
>
> *Reading symbols from ......./Build/Emulator/DEBUG_GCC46/X64/Host...(no
> debugging symbols found)...done. ......../EmulatorPkg/Unix/GdbRun:79: Error
> in sourced command file:No symbol table is loaded. Use the "file"
> command.(gdb) *
>
> *Host* file is only 3010 bytes.
>
> Some system info:
>
> uname -a
> *Linux 3.8.0-38-generic #56~precise1-Ubuntu SMP Thu Mar 13 16:22:48 UTC
> 2014 x86_64 x86_64 x86_64 GNU/Linux*
>
> *gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)*
>
>
> I have done the same on Ubuntu 12.10 and package does not even compile
> (some linking problems).
>
>
> Can this be fixed ?
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>
>
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel