[Android Q&A, Help & Troubleshooting] UchihaKakarot:
I am getting some build errors again.

target thumb C++: mcDriverDaemon <= hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/Device/TrustletSession.cpp
In file included from hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp:46:0:
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.h:55:5: warning: unused parameter 'tci' [-Wunused-parameter]
MobicoreDriverResources(
^
In file included from hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp:43:0:
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp: In function 'uint32_t checkVersionOkSO(uint32_t, char**)':
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp:59:25: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
MC_CHECK_VERSION(SO, 2, 0);
^
hardware/samsung_slsi/exynos5410/mobicore/common/MobiCore/inc/mcVersionHelper.h:130:51: note: in definition of macro 'MC_CHECK_VERSION'
if ((major == majorRequired) && (minor >= minorRequired)) { \
^
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp: In function 'uint32_t checkVersionOkMCLF(uint32_t, char**)':
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp:60:27: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
MC_CHECK_VERSION(MCLF, 2, 0);
^
hardware/samsung_slsi/exynos5410/mobicore/common/MobiCore/inc/mcVersionHelper.h:130:51: note: in definition of macro 'MC_CHECK_VERSION'
if ((major == majorRequired) && (minor >= minorRequired)) { \
^
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp: In function 'uint32_t checkVersionOkCONTAINER(uint32_t, char**)':
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp:61:32: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
MC_CHECK_VERSION(CONTAINER, 2, 0);
^
hardware/samsung_slsi/exynos5410/mobicore/common/MobiCore/inc/mcVersionHelper.h:130:51: note: in definition of macro 'MC_CHECK_VERSION'
if ((major == majorRequired) && (minor >= minorRequired)) { \
^
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp: At global scope:
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp:171:6: warning: unused parameter 'connection' [-Wunused-parameter]
bool MobiCoreDriverDaemon::checkPermission(Connection *connection)
^
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp: In function 'bool getData(Connection*, void*, uint32_t)':
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp:358:30: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
if (rlen < len || rlen < 0) {
^
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp: In member function 'void MobiCoreDriverDaemon::processOpenDevice(Connection*)':
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp:333:16: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
if (rlen < 0) { \
^
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp:369:5: note: in expansion of macro 'RECV_PAYLOAD_FROM_CLIENT'
RECV_PAYLOAD_FROM_CLIENT(connection, &cmdOpenDevice);
^
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp: In member function 'void MobiCoreDriverDaemon::processOpenSession(Connection*)':
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp:333:16: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
if (rlen < 0) { \
^
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp:423:5: note: in expansion of macro 'RECV_PAYLOAD_FROM_CLIENT'
RECV_PAYLOAD_FROM_CLIENT(connection, &cmdOpenSession);
^
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp: In member function 'void MobiCoreDriverDaemon::processOpenTrustlet(Connection*)':
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp:333:16: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
if (rlen < 0) { \
^
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp:492:5: note: in expansion of macro 'RECV_PAYLOAD_FROM_CLIENT'
RECV_PAYLOAD_FROM_CLIENT(connection, &cmdOpenTrustlet);
^
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp:501:16: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
if (rlen < 0) {
^
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp: In member function 'void MobiCoreDriverDaemon::processCloseSession(Connection*)':
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp:333:16: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
if (rlen < 0) { \
^
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp:582:5: note: in expansion of macro 'RECV_PAYLOAD_FROM_CLIENT'
RECV_PAYLOAD_FROM_CLIENT(connection, &cmdCloseSession)
^
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp: In member function 'void MobiCoreDriverDaemon::processNqConnect(Connection*)':
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp:333:16: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
if (rlen < 0) { \
^
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp:605:5: note: in expansion of macro 'RECV_PAYLOAD_FROM_CLIENT'
RECV_PAYLOAD_FROM_CLIENT(connection, &cmd);
^
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp: In member function 'void MobiCoreDriverDaemon::processNotify(Connection*)':
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp:651:16: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
if (rlen < 0) {
^
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp: In member function 'void MobiCoreDriverDaemon::processMapBulkBuf(Connection*)':
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp:333:16: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
if (rlen < 0) { \
^
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp:684:5: note: in expansion of macro 'RECV_PAYLOAD_FROM_CLIENT'
RECV_PAYLOAD_FROM_CLIENT(connection, &cmd);
^
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp:696:33: warning: converting to non-pointer type 'uint32_t {aka unsigned int}' from NULL [-Wconversion-null]
uint32_t secureVirtualAdr = NULL;
^
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp: In member function 'void MobiCoreDriverDaemon::processUnmapBulkBuf(Connection*)':
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp:333:16: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
if (rlen < 0) { \
^
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp:726:5: note: in expansion of macro 'RECV_PAYLOAD_FROM_CLIENT'
RECV_PAYLOAD_FROM_CLIENT(connection, &cmd)
^
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp: At global scope:
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp:1070:6: warning: unused parameter 'argc' [-Wunused-parameter]
void printUsage(
^
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp: In function 'int main(int, char**)':
hardware/samsung_slsi/exynos5410/mobicore/daemon/Daemon/MobiCoreDriverDaemon.cpp:1167:32: error: 'getdtablesize' was not declared in this scope
for (i = getdtablesize(); i >= 0; --i) {
^
make: *** [/home/edwin/RR/out/target/product/i9500/obj/EXECUTABLES/mcDriverDaemon_intermediates/Daemon/MobiCoreDriverDaemon.o] Error 1
make: *** Waiting for unfinished jobs....

Pls help me fix this