/home/exars/vsworks/test012/components/gnssComponent/gnssControl.c: In function ‘PositionHandlerFunction’: /home/exars/vsworks/test012/components/gnssComponent/gnssControl.c:305:55: error: ‘EpochTime’ undeclared (first use in this function) result = le_gnss_GetEpochTime(positionSampleRef, &EpochTime); ^~~~~~~~~ /home/exars/vsworks/test012/components/gnssComponent/gnssControl.c:305:55: note: each undeclared identifier is reported only once for each function it appears in In file included from /home/exars/vsworks/test012/leaf-data/test012pf/wp76-legato/framework/include/legato.h:221:0, from /home/exars/vsworks/test012/components/gnssComponent/gnssControl.c:10: /home/exars/vsworks/test012/components/gnssComponent/gnssControl.c:314:25: error: ‘LINUX_OS’ undeclared (first use in this function) LE_TEST_BEGIN_SKIP(!LINUX_OS, 4); ^ /home/exars/vsworks/test012/leaf-data/test012pf/wp76-legato/framework/include/le_test.h:284:15: note: in definition of macro ‘LE_TEST_BEGIN_SKIP’ if (cond) \ ^~~~ /home/exars/vsworks/test012/components/gnssComponent/gnssControl.c:324:58: error: ‘TimeAccuracy’ undeclared (first use in this function); did you mean ‘vAccuracy’? result = le_gnss_GetTimeAccuracy(positionSampleRef, &TimeAccuracy); ^~~~~~~~~~~~ vAccuracy In file included from /home/exars/vsworks/test012/leaf-data/test012pf/wp76-legato/framework/include/legato.h:221:0, from /home/exars/vsworks/test012/components/gnssComponent/gnssControl.c:10: /home/exars/vsworks/test012/components/gnssComponent/gnssControl.c:484:50: error: ‘DopRes’ undeclared (first use in this function); did you mean ‘popen’? LE_TEST_OK(LE_OK == le_gnss_SetDopResolution(DopRes), "Set DOP resolution"); ^ /home/exars/vsworks/test012/leaf-data/test012pf/wp76-legato/framework/include/le_test.h:180:13: note: in definition of macro ‘LE_TEST_OK’ if (test) \ ^~~~ /home/exars/vsworks/test012/components/gnssComponent/gnssControl.c:699:17: error: ‘PositionHandlerSem’ undeclared (first use in this function); did you mean ‘positionSampleRef’? le_sem_Post(PositionHandlerSem); ^~~~~~~~~~~~~~~~~~ positionSampleRef /home/exars/vsworks/test012/components/gnssComponent/gnssControl.c: In function ‘PositionThread’: /home/exars/vsworks/test012/components/gnssComponent/gnssControl.c:717:5: error: ‘PositionHandlerRef’ undeclared (first use in this function); did you mean ‘PositionHandlerFunction’? PositionHandlerRef = le_gnss_AddPositionHandler(PositionHandlerFunction, NULL); ^~~~~~~~~~~~~~~~~~ PositionHandlerFunction In file included from /home/exars/vsworks/test012/leaf-data/test012pf/wp76-legato/framework/include/legato.h:221:0, from /home/exars/vsworks/test012/components/gnssComponent/gnssControl.c:10: /home/exars/vsworks/test012/components/gnssComponent/gnssControl.c: In function ‘TestLeGnssPositionHandler’: /home/exars/vsworks/test012/components/gnssComponent/gnssControl.c:750:24: error: ‘LINUX_OS’ undeclared (first use in this function) LE_TEST_BEGIN_SKIP(LINUX_OS, 1); ^ /home/exars/vsworks/test012/leaf-data/test012pf/wp76-legato/framework/include/le_test.h:284:15: note: in definition of macro ‘LE_TEST_BEGIN_SKIP’ if (cond) \ ^~~~ /home/exars/vsworks/test012/components/gnssComponent/gnssControl.c:792:21: error: ‘EpochTime’ undeclared (first use in this function) LE_TEST_OK(0 != EpochTime, "Confirm EpochTime is not 0"); ^ /home/exars/vsworks/test012/leaf-data/test012pf/wp76-legato/framework/include/le_test.h:180:13: note: in definition of macro ‘LE_TEST_OK’ if (test) \ ^~~~ In file included from /home/exars/vsworks/test012/leaf-data/test012pf/wp76-legato/framework/include/legato.h:188:0, from /home/exars/vsworks/test012/components/gnssComponent/gnssControl.c:10: /home/exars/vsworks/test012/components/gnssComponent/gnssControl.c:793:51: error: ‘TimeAccuracy’ undeclared (first use in this function) LE_TEST_INFO("TimeAccuracy %d EpochTime %llu",TimeAccuracy, (unsigned long long int)EpochTime); ^ /home/exars/vsworks/test012/leaf-data/test012pf/wp76-legato/framework/include/le_log.h:560:37: note: in definition of macro ‘_LE_LOG_MSG’ formatString, ##__VA_ARGS__); \ ^~~~~~~~~~~ /home/exars/vsworks/test012/leaf-data/test012pf/wp76-legato/framework/include/le_test.h:140:40: note: in expansion of macro ‘LE_INFO’ # define LE_TEST_OUTPUT(format, ...) LE_INFO("TAP | " format, ##__VA_ARGS__) ^~~~~~~ /home/exars/vsworks/test012/leaf-data/test012pf/wp76-legato/framework/include/le_test.h:254:27: note: in expansion of macro ‘LE_TEST_OUTPUT’ #define LE_TEST_INFO(...) LE_TEST_OUTPUT("# " __VA_ARGS__) ^~~~~~~~~~~~~~ /home/exars/vsworks/test012/components/gnssComponent/gnssControl.c:793:5: note: in expansion of macro ‘LE_TEST_INFO’ LE_TEST_INFO("TimeAccuracy %d EpochTime %llu",TimeAccuracy, (unsigned long long int)EpochTime); ^~~~~~~~~~~~ /home/exars/vsworks/test012/components/gnssComponent/gnssControl.c:804:16: error: ‘WAIT_MAX_FOR_3DFIX’ undeclared (first use in this function) time.sec = WAIT_MAX_FOR_3DFIX; ^~~~~~~~~~~~~~~~~~ In file included from /home/exars/vsworks/test012/leaf-data/test012pf/wp76-legato/framework/include/legato.h:221:0, from /home/exars/vsworks/test012/components/gnssComponent/gnssControl.c:10: /home/exars/vsworks/test012/components/gnssComponent/gnssControl.c:806:48: error: ‘PositionHandlerSem’ undeclared (first use in this function); did you mean ‘PositionHandlerFunction’? LE_TEST_OK(LE_OK == le_sem_WaitWithTimeOut(PositionHandlerSem, time), ^ /home/exars/vsworks/test012/leaf-data/test012pf/wp76-legato/framework/include/le_test.h:180:13: note: in definition of macro ‘LE_TEST_OK’ if (test) \ ^~~~ /home/exars/vsworks/test012/components/gnssComponent/gnssControl.c:821:35: error: ‘PositionHandlerRef’ undeclared (first use in this function); did you mean ‘PositionHandlerSem’? le_gnss_RemovePositionHandler(PositionHandlerRef); ^~~~~~~~~~~~~~~~~~ PositionHandlerSem At top level: /home/exars/vsworks/test012/components/gnssComponent/gnssControl.c:731:13: error: ‘TestLeGnssPositionHandler’ defined but not used [-Werror=unused-function] static void TestLeGnssPositionHandler ^~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors