I have tried recently to compile UEFI for flamingo (Xperia E3) and I'm getting this error:
Building ... /mnt/storage/EFIDroid/uefi/edk2/StdLib/SocketDxe/SocketDxe.inf [ARM]
make[2]: Entering directory '/mnt/storage/EFIDroid/out/target/arm/uefiapp_LKL/Build/EFIDroidUEFIApps/DEBUG_GCC5/ARM/StdLib/SocketDxe/SocketDxe'
make[2]: Nothing to be done for 'tbuild'.
make[2]: Leaving directory '/mnt/storage/EFIDroid/out/target/arm/uefiapp_LKL/Build/EFIDroidUEFIApps/DEBUG_GCC5/ARM/StdLib/SocketDxe/SocketDxe'
In file included from /mnt/storage/EFIDroid/out/target/arm/uefiapp_LKL/EFIDroidUEFIApps/LKL/LKL.h:55:0,
from /mnt/storage/EFIDroid/out/target/arm/uefiapp_LKL/EFIDroidUEFIApps/LKL/ComponentName.c:22:
/mnt/storage/EFIDroid/out/target/arm/uefiapp_LKL/EFIDroidLKL/include/lkl_host.h:25:8: error: redefinition of 'struct iovec'
struct iovec {
^~~~~
In file included from /mnt/storage/EFIDroid/uefi/edk2/StdLib/Include/sys/socket.h:100:0,
from /mnt/storage/EFIDroid/out/target/arm/uefiapp_LKL/EFIDroidLKL/include/lkl/linux/if.h:27,
from /mnt/storage/EFIDroid/out/target/arm/uefiapp_LKL/EFIDroidLKL/include/lkl/asm/syscalls.h:108,
from /mnt/storage/EFIDroid/out/target/arm/uefiapp_LKL/EFIDroidLKL/include/lkl.h:13,
from /mnt/storage/EFIDroid/out/target/arm/uefiapp_LKL/EFIDroidUEFIApps/LKL/LKL.h:54,
from /mnt/storage/EFIDroid/out/target/arm/uefiapp_LKL/EFIDroidUEFIApps/LKL/ComponentName.c:22:
/mnt/storage/EFIDroid/uefi/edk2/StdLib/Include/sys/uio.h:57:8: note: originally defined here
struct iovec {
^~~~~
GNUmakefile:2052: recipe for target '/mnt/storage/EFIDroid/out/target/arm/uefiapp_LKL/Build/EFIDroidUEFIApps/DEBUG_GCC5/ARM/EFIDroidUEFIApps/LKL/LKL/OUTPUT/ComponentName.obj' failed
make[2]: Leaving directory '/mnt/storage/EFIDroid/out/target/arm/uefiapp_LKL/Build/EFIDroidUEFIApps/DEBUG_GCC5/ARM/EFIDroidUEFIApps/LKL/LKL'
make[2]: *** [/mnt/storage/EFIDroid/out/target/arm/uefiapp_LKL/Build/EFIDroidUEFIApps/DEBUG_GCC5/ARM/EFIDroidUEFIApps/LKL/LKL/OUTPUT/ComponentName.obj] Error 1
build.py...
: error 7000: Failed to execute command
make tbuild [/mnt/storage/EFIDroid/out/target/arm/uefiapp_LKL/Build/EFIDroidUEFIApps/DEBUG_GCC5/ARM/EFIDroidUEFIApps/LKL/LKL]
build.py...
: error F002: Failed to build module
/mnt/storage/EFIDroid/out/target/arm/uefiapp_LKL/EFIDroidUEFIApps/LKL/LKL.inf [ARM, GCC5, DEBUG]
- Failed -
Build end time: 02:30:10, Aug.19 2017
Build total time: 00:00:04
out/build.mk:495: recipe for target 'arm_uefiapp_LKL' failed
make[1]: *** [arm_uefiapp_LKL] Error 1
make[1]: Leaving directory '/mnt/storage/EFIDroid'
#### make failed to build some targets (15 seconds) ####
build/core/main.mk:38: recipe for target 'uefi' failed
make: *** [uefi] Error 2
make: INTERNAL: Exiting with 3 jobserver tokens available; should be 5!
I have tried to remove out folder and retrying or running repo sync but the error is still there so I guess it's a bigger issue.
I have tried recently to compile UEFI for flamingo (Xperia E3) and I'm getting this error:
I have tried to remove out folder and retrying or running repo sync but the error is still there so I guess it's a bigger issue.