Unable to integrate the OPC-UA files into the current project

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
GaPa_4739246
Level 1
Level 1
First like given Welcome!

In my current project, I need to run opc-ua server on the WICED CYW943907AEVAL1F board.

In order to do so, I generated my project and tried to run. It went fine !

Later, I generated opc ua files and when I added those file for the compilation , I saw that the console was flooded with junk error messages.

1) the error messages regarding opc-ua.c on the console are not properly seen (Junk characters appears)

- Can you help me understand the reason why is this happening.

- I have created open62541.c & open62541.h files with freertos & lwip option enabled.

2) While compiling, the object file of open62541.c file is not created under

build/project-CYW943907AEVAL1F-FreeRTOS-LwIP/Modules/apps/project

folder.

- As per my understanding, the compilation is terminated because the object file is not generated.

- can you please help me to understand what could be the problem or is there any file that needs to be updated ?

Please find error log as below:

-----------------------------------------------------------

     UA_MACRO_EXPAND( [01;36m [KUA_LOG_SESSION_INTERNAL [m [K(LOGGER, INFO, SESSION, __VA_ARGS__, ""))

                      [01;36m [K^~~~~~~~~~~~~~~~~~~~~~~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:41642:9: [m [K  [01;36m [Knote:  [m [Kin expansion of macro ' [01m [KUA_LOG_INFO_SESSION [m [K'

          [01;36m [KUA_LOG_INFO_SESSION [m [K(&server->config.logger, session,

          [01;36m [K^~~~~~~~~~~~~~~~~~~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:4901:36: [m [K  [01;36m [Knote:  [m [Kformat string is defined here

                    "SecureChannel  [01;36m [K%i [m [K | Session %.*s | " MSG "%.0s",     \

                                    [01;36m [K~^ [m [K

                                    [32m [K%li [m [K

[01m [Kapps/syncwater/bridge/open62541.c: [m [K In function ' [01m [KService_DeleteNodes [m [K':

[01m [Kapps/syncwater/bridge/open62541.c:4901:20: [m [K  [01;35m [Kwarning:  [m [Kformat ' [01m [K%i [m [K' expects argument of type ' [01m [Kint [m [K', but argument 4 has type ' [01m [KUA_UInt32 {aka long unsigned int} [m [K' [ [01;35m [K-Wformat= [m

                     [01;35m [K" [m [KSecureChannel %i | Session %.*s | " MSG "%.0s",     \

                     [01;35m [K^ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:796:28: [m [K  [01;36m [Knote:  [m [Kin definition of macro ' [01m [KUA_MACRO_EXPAND [m [K'

#define UA_MACRO_EXPAND(x)  [01;36m [Kx [m [K

                             [01;36m [K^ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:4910:21: [m [K  [01;36m [Knote:  [m [Kin expansion of macro ' [01m [KUA_LOG_SESSION_INTERNAL [m [K'

     UA_MACRO_EXPAND( [01;36m [KUA_LOG_SESSION_INTERNAL [m [K(LOGGER, DEBUG, SESSION, __VA_ARGS__, ""))

                      [01;36m [K^~~~~~~~~~~~~~~~~~~~~~~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:41673:5: [m [K  [01;36m [Knote:  [m [Kin expansion of macro ' [01m [KUA_LOG_DEBUG_SESSION [m [K'

      [01;36m [KUA_LOG_DEBUG_SESSION [m [K(&server->config.logger, session,

      [01;36m [K^~~~~~~~~~~~~~~~~~~~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:4901:36: [m [K  [01;36m [Knote:  [m [Kformat string is defined here

                    "SecureChannel  [01;36m [K%i [m [K | Session %.*s | " MSG "%.0s",     \

                                    [01;36m [K~^ [m [K

                                    [32m [K%li [m [K

[01m [Kapps/syncwater/bridge/open62541.c:41675:26: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_LOCK_ASSERT(server [01;31m [K-> [m [KserviceMutex, 1);

                           [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c: [m [K In function ' [01m [KUA_Server_deleteNode [m [K':

[01m [Kapps/syncwater/bridge/open62541.c:41694:19: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_LOCK(server [01;31m [K-> [m [KserviceMutex)

                    [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:41695:5: [m [K  [01;31m [Kerror:  [m [Kexpected ' [01m [K; [m [K' before ' [01m [KUA_StatusCode [m [K'

      [01;31m [KUA_StatusCode [m [K retval = deleteNode(server, nodeId, deleteReferences);

      [01;31m [K^~~~~~~~~~~~~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:41696:21: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_UNLOCK(server [01;31m [K-> [m [KserviceMutex);

                      [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:41697:12: [m [K  [01;31m [Kerror:  [m [K' [01m [Kretval [m [K' undeclared (first use in this function); did you mean ' [01m [Kread [m [K'?

     return  [01;31m [Kretval [m [K;

             [01;31m [K^~~~~~ [m [K

             [32m [Kread [m [K

[01m [Kapps/syncwater/bridge/open62541.c: [m [K In function ' [01m [KdeleteNode [m [K':

[01m [Kapps/syncwater/bridge/open62541.c:41703:26: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_LOCK_ASSERT(server [01;31m [K-> [m [KserviceMutex, 1);

                           [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c: [m [K In function ' [01m [KOperation_addReference [m [K':

[01m [Kapps/syncwater/bridge/open62541.c:41753:25: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

         UA_UNLOCK(server [01;31m [K-> [m [KserviceMutex);

                          [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:41757:27: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

             UA_LOCK(server [01;31m [K-> [m [KserviceMutex);

                            [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:41761:23: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

         UA_LOCK(server [01;31m [K-> [m [KserviceMutex);

                        [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c: [m [K In function ' [01m [KService_AddReferences [m [K':

[01m [Kapps/syncwater/bridge/open62541.c:4901:20: [m [K  [01;35m [Kwarning:  [m [Kformat ' [01m [K%i [m [K' expects argument of type ' [01m [Kint [m [K', but argument 4 has type ' [01m [KUA_UInt32 {aka long unsigned int} [m [K' [ [01;35m [K-Wformat= [m

                     [01;35m [K" [m [KSecureChannel %i | Session %.*s | " MSG "%.0s",     \

                     [01;35m [K^ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:796:28: [m [K  [01;36m [Knote:  [m [Kin definition of macro ' [01m [KUA_MACRO_EXPAND [m [K'

#define UA_MACRO_EXPAND(x)  [01;36m [Kx [m [K

                             [01;36m [K^ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:4910:21: [m [K  [01;36m [Knote:  [m [Kin expansion of macro ' [01m [KUA_LOG_SESSION_INTERNAL [m [K'

     UA_MACRO_EXPAND( [01;36m [KUA_LOG_SESSION_INTERNAL [m [K(LOGGER, DEBUG, SESSION, __VA_ARGS__, ""))

                      [01;36m [K^~~~~~~~~~~~~~~~~~~~~~~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:41858:5: [m [K  [01;36m [Knote:  [m [Kin expansion of macro ' [01m [KUA_LOG_DEBUG_SESSION [m [K'

      [01;36m [KUA_LOG_DEBUG_SESSION [m [K(&server->config.logger, session,

      [01;36m [K^~~~~~~~~~~~~~~~~~~~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:4901:36: [m [K  [01;36m [Knote:  [m [Kformat string is defined here

                    "SecureChannel  [01;36m [K%i [m [K | Session %.*s | " MSG "%.0s",     \

                                    [01;36m [K~^ [m [K

                                    [32m [K%li [m [K

[01m [Kapps/syncwater/bridge/open62541.c:41860:26: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_LOCK_ASSERT(server [01;31m [K-> [m [KserviceMutex, 1);

                           [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c: [m [K In function ' [01m [KUA_Server_addReference [m [K':

[01m [Kapps/syncwater/bridge/open62541.c:41890:19: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_LOCK(server [01;31m [K-> [m [KserviceMutex);

                    [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:41892:21: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_UNLOCK(server [01;31m [K-> [m [KserviceMutex)

                      [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:41893:5: [m [K  [01;31m [Kerror:  [m [Kexpected ' [01m [K; [m [K' before ' [01m [Kreturn [m [K'

      [01;31m [Kreturn [m [K retval;

      [01;31m [K^~~~~~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c: [m [K In function ' [01m [KOperation_deleteReference [m [K':

[01m [Kapps/syncwater/bridge/open62541.c:41905:25: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

         UA_UNLOCK(server [01;31m [K-> [m [KserviceMutex);

                          [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:41909:27: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

             UA_LOCK(server [01;31m [K-> [m [KserviceMutex);

                            [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:41913:23: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

         UA_LOCK(server [01;31m [K-> [m [KserviceMutex)

                        [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:41914:5: [m [K  [01;31m [Kerror:  [m [Kexpected ' [01m [K; [m [K' before ' [01m [K} [m [K' token

      [01;31m [K} [m [K

      [01;31m [K^ [m [K

[01m [Kapps/syncwater/bridge/open62541.c: [m [K In function ' [01m [KService_DeleteReferences [m [K':

[01m [Kapps/syncwater/bridge/open62541.c:4901:20: [m [K  [01;35m [Kwarning:  [m [Kformat ' [01m [K%i [m [K' expects argument of type ' [01m [Kint [m [K', but argument 4 has type ' [01m [KUA_UInt32 {aka long unsigned int} [m [K' [ [01;35m [K-Wformat= [m

                     [01;35m [K" [m [KSecureChannel %i | Session %.*s | " MSG "%.0s",     \

                     [01;35m [K^ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:796:28: [m [K  [01;36m [Knote:  [m [Kin definition of macro ' [01m [KUA_MACRO_EXPAND [m [K'

#define UA_MACRO_EXPAND(x)  [01;36m [Kx [m [K

                             [01;36m [K^ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:4910:21: [m [K  [01;36m [Knote:  [m [Kin expansion of macro ' [01m [KUA_LOG_SESSION_INTERNAL [m [K'

     UA_MACRO_EXPAND( [01;36m [KUA_LOG_SESSION_INTERNAL [m [K(LOGGER, DEBUG, SESSION, __VA_ARGS__, ""))

                      [01;36m [K^~~~~~~~~~~~~~~~~~~~~~~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:41942:5: [m [K  [01;36m [Knote:  [m [Kin expansion of macro ' [01m [KUA_LOG_DEBUG_SESSION [m [K'

      [01;36m [KUA_LOG_DEBUG_SESSION [m [K(&server->config.logger, session,

      [01;36m [K^~~~~~~~~~~~~~~~~~~~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:4901:36: [m [K  [01;36m [Knote:  [m [Kformat string is defined here

                    "SecureChannel  [01;36m [K%i [m [K | Session %.*s | " MSG "%.0s",     \

                                    [01;36m [K~^ [m [K

                                    [32m [K%li [m [K

[01m [Kapps/syncwater/bridge/open62541.c:41944:26: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_LOCK_ASSERT(server [01;31m [K-> [m [KserviceMutex, 1);

                           [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c: [m [K In function ' [01m [KUA_Server_deleteReference [m [K':

[01m [Kapps/syncwater/bridge/open62541.c:41973:19: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_LOCK(server [01;31m [K-> [m [KserviceMutex);

                    [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:41975:21: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_UNLOCK(server [01;31m [K-> [m [KserviceMutex);

                      [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c: [m [K In function ' [01m [KUA_Server_setVariableNode_valueCallback [m [K':

[01m [Kapps/syncwater/bridge/open62541.c:41996:19: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_LOCK(server [01;31m [K-> [m [KserviceMutex);

                    [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:42001:21: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_UNLOCK(server [01;31m [K-> [m [KserviceMutex);

                      [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c: [m [K In function ' [01m [KUA_Server_addDataSourceVariableNode [m [K':

[01m [Kapps/syncwater/bridge/open62541.c:42033:19: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_LOCK(server [01;31m [K-> [m [KserviceMutex);

                    [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:42055:21: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_UNLOCK(server [01;31m [K-> [m [KserviceMutex);

                      [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c: [m [K In function ' [01m [KsetVariableNode_dataSource [m [K':

[01m [Kapps/syncwater/bridge/open62541.c:42077:26: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_LOCK_ASSERT(server [01;31m [K-> [m [KserviceMutex, 1);

                           [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c: [m [K In function ' [01m [KUA_Server_setVariableNode_dataSource [m [K':

[01m [Kapps/syncwater/bridge/open62541.c:42087:19: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_LOCK(server [01;31m [K-> [m [KserviceMutex);

                    [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:42089:21: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_UNLOCK(server [01;31m [K-> [m [KserviceMutex);

                      [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c: [m [K In function ' [01m [KUA_Server_setVariableNode_valueBackend [m [K':

[01m [Kapps/syncwater/bridge/open62541.c:42116:19: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_LOCK(server [01;31m [K-> [m [KserviceMutex);

                    [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:42143:21: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_UNLOCK(server [01;31m [K-> [m [KserviceMutex);

                      [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c: [m [K In function ' [01m [KUA_Server_addMethodNode_finish [m [K':

[01m [Kapps/syncwater/bridge/open62541.c:42275:19: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_LOCK(server [01;31m [K-> [m [KserviceMutex)

                    [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:42276:5: [m [K  [01;31m [Kerror:  [m [Kexpected ' [01m [K; [m [K' before ' [01m [KUA_StatusCode [m [K'

      [01;31m [KUA_StatusCode [m [K retval = UA_Server_addMethodNodeEx_finish(server, nodeId, method,

      [01;31m [K^~~~~~~~~~~~~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:42279:21: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_UNLOCK(server [01;31m [K-> [m [KserviceMutex)

                      [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:42280:5: [m [K  [01;31m [Kerror:  [m [Kexpected ' [01m [K; [m [K' before ' [01m [Kreturn [m [K'

      [01;31m [Kreturn [m [K retval;

      [01;31m [K^~~~~~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c: [m [K In function ' [01m [KUA_Server_addMethodNodeEx [m [K':

[01m [Kapps/syncwater/bridge/open62541.c:42310:19: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_LOCK(server [01;31m [K-> [m [KserviceMutex);

                    [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:42315:25: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

         UA_UNLOCK(server [01;31m [K-> [m [KserviceMutex);

                          [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:42326:21: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_UNLOCK(server [01;31m [K-> [m [KserviceMutex);

                      [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c: [m [K In function ' [01m [KsetMethodNode_callback [m [K':

[01m [Kapps/syncwater/bridge/open62541.c:42345:26: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_LOCK_ASSERT(server [01;31m [K-> [m [KserviceMutex, 1);

                           [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c: [m [K In function ' [01m [KUA_Server_setMethodNode_callback [m [K':

[01m [Kapps/syncwater/bridge/open62541.c:42355:19: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_LOCK(server [01;31m [K-> [m [KserviceMutex);

                    [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:42357:21: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_UNLOCK(server [01;31m [K-> [m [KserviceMutex);

                      [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c: [m [K In function ' [01m [KUA_Server_setNodeTypeLifecycle [m [K':

[01m [Kapps/syncwater/bridge/open62541.c:42389:19: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_LOCK(server [01;31m [K-> [m [KserviceMutex);

                    [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:42393:21: [m [K  [01;31m [Kerror:  [m [K' [01m [KUA_Server {aka struct UA_Server} [m [K' has no member named ' [01m [KserviceMutex [m [K'

     UA_UNLOCK(server [01;31m [K-> [m [KserviceMutex);

                      [01;31m [K^~ [m [K

[01m [Kapps/syncwater/bridge/open62541.c: [m [K In function ' [01m [KprocessAsyncResponse [m [K':

[01m [Kapps/syncwater/bridge/open62541.c:43285:61: [m [K  [01;35m [Kwarning:  [m [Kformat ' [01m [K%u [m [K' expects argument of type ' [01m [Kunsigned int [m [K', but argument 4 has type ' [01m [KUA_UInt32 {aka long unsigned int} [m [K' [ [01;35m [K-Wformat= [m

                     "Could not decode the response with id  [01;35m [K%u [m [K due to %s",

                                                             [01;35m [K~^ [m [K

                                                             [32m [K%lu [m [K

[01m [Kapps/syncwater/bridge/open62541.c: [m [K In function ' [01m [KsendHELMessage [m [K':

[01m [Kapps/syncwater/bridge/open62541.c:44038:39: [m [K  [01;31m [Kerror:  [m [Kmacro "send" requires 4 arguments, but only 2 given

     retval = conn->send(conn, &message [01;31m [K) [m [K;

                                        [01;31m [K^ [m [K

[01m [Kapps/syncwater/bridge/open62541.c:44038:12: [m [K  [01;35m [Kwarning:  [m [Kassignment makes integer from pointer without a cast [ [01;35m [K-Wint-conversion [m

     retval  [01;35m [K= [m [K conn->send(conn, &message);

             [01;35m [K^ [m [K

In file included from  [01m [K./WICED/network/LwIP/ver2.0.3/src/include/lwip/netdb.h:43:0 [m [K,

                 from  [01m [Kapps/syncwater/bridge/open62541.h:208 [m [K,

                 from  [01m [Kapps/syncwater/bridge/open62541.c:28 [m : *** [build/syncwater.bridge-CYW943907AEVAL1F-FreeRTOS-LwIP/Modules/apps/syncwater/bridge/open62541.o] Error 1

make[1]: *** Waiting for unfinished jobs....

make: *** [main_app] Error 2

02:21:37 Build Finished (took 19s.204ms)

-----------------------------------------------------------

I can see, the object files of the other files are created but for this file is not created.

It would be of great help if you could help in this regard

Best Regards

- Gaurav

0 Likes
1 Solution
Aditi_B
Moderator
Moderator
Moderator
500 replies posted 5 questions asked 250 replies posted

Hi,

Can you elaborate more on this -->

"Make target" for this application is all.

I need to compile all the files.

The Make Target should be something like this --> <Your Application>(provide the right path)-<Your Platform> download run

For ex: for the demo application snip.scan and the platform CYW943907AEVAL1F the Make Target will be -->

snip.scan-CYW943907AEVAL1F download run

Thanks

Aditi

View solution in original post

0 Likes
5 Replies
Aditi_B
Moderator
Moderator
Moderator
500 replies posted 5 questions asked 250 replies posted

Hi,

Which version of WICED are you using? Also, What's your make target for this application?

Thanks

Aditi

Hi Aditi

Hi I am using WICED Studio 6.4.0.61

"Make target" for this application is all.

I need to compile all the files

0 Likes
Aditi_B
Moderator
Moderator
Moderator
500 replies posted 5 questions asked 250 replies posted

Hi,

Can you elaborate more on this -->

"Make target" for this application is all.

I need to compile all the files.

The Make Target should be something like this --> <Your Application>(provide the right path)-<Your Platform> download run

For ex: for the demo application snip.scan and the platform CYW943907AEVAL1F the Make Target will be -->

snip.scan-CYW943907AEVAL1F download run

Thanks

Aditi

0 Likes

Hello

I have created a separate folder under apps. Just like snip.

inside this folder I have kept all the project related files in "bridge" folder

just like snip.scan

SO the make target looks like this.

project.bridge-CYW943907AEVAL1F-FreeRTOS-LwIP download run

Since I need to use FreeRTOS & LwIP

I put additional symbols for the same.

I have added open62541 files inside bridge folder and put the path of the oen62541.c file in bridge.mk file.

So Finally, my target looks as below :

project.bridge-CYW943907AEVAL1F-FreeRTOS-LwIP download run

Regards

- Gaurav

0 Likes
Aditi_B
Moderator
Moderator
Moderator
500 replies posted 5 questions asked 250 replies posted

Hi,

Yea, that's correct. Can you share a snapshot of this bridge folder? I want to see what files are included. Is this project folder included under apps folder?

Also, what's the name of your .c file and .mk file?

Is your build going successfully when you changed to this make target--> "project.bridge-CYW943907AEVAL1F-FreeRTOS-LwIP download run" or is it showing the same logs that you mentioned above?

Thanks

Aditi

0 Likes