01-19-2017, 05:58 AM
I actually had much better luck building under Windows. I was able to use the PC based GNU tools and I can make it through all the compile for all modules and even the ACPI tables using the Microsoft's ASL compiler.
It stops at the link phase as the sun5oiw1p1Pkg.fdf has a line:
"FILE = SunxiPlatformPkg/PrePi/Arm/SpareHead/uefi_spare_head.bin"
This appears to be a prebuilt binary file but this file does NOT appear in the repo. and as far as I can tell its not buildable (at least with the standard tool set).
Can this file be added to the REPO?
Hi
Maybe your ubuntu is 64-bit?
Try install some 32-bit lib
lib32asan0 lib32bz2-1.0 lib32gcc1-dbg lib32gomp1 lib32ncurses5-dev lib32stdc++6 lib32tinfo-dev
lib32asan0-dbg lib32bz2-dev lib32gcc-4.7-dev lib32itm1 lib32quadmath0 lib32stdc++6-4.7-dev lib32z1
lib32atomic1 lib32gcc1 lib32gcc-4.8-dev lib32ncurses5 lib32stdc++-4.8-dev lib32tinfo5 lib32z1-dev
I'm not sure which lib is necessary.
You can compare 32bits lib in your env with this.
It stops at the link phase as the sun5oiw1p1Pkg.fdf has a line:
"FILE = SunxiPlatformPkg/PrePi/Arm/SpareHead/uefi_spare_head.bin"
This appears to be a prebuilt binary file but this file does NOT appear in the repo. and as far as I can tell its not buildable (at least with the standard tool set).
Can this file be added to the REPO?
Hi
Maybe your ubuntu is 64-bit?
Try install some 32-bit lib
lib32asan0 lib32bz2-1.0 lib32gcc1-dbg lib32gomp1 lib32ncurses5-dev lib32stdc++6 lib32tinfo-dev
lib32asan0-dbg lib32bz2-dev lib32gcc-4.7-dev lib32itm1 lib32quadmath0 lib32stdc++6-4.7-dev lib32z1
lib32atomic1 lib32gcc1 lib32gcc-4.8-dev lib32ncurses5 lib32stdc++-4.8-dev lib32tinfo5 lib32z1-dev
I'm not sure which lib is necessary.
You can compare 32bits lib in your env with this.