{"action":"created","issue":{"url":"https://api.github.com/repos/cmbahadir/opcua-esp32/issues/1","repository_url":"https://api.github.com/repos/cmbahadir/opcua-esp32","labels_url":"https://api.github.com/repos/cmbahadir/opcua-esp32/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/cmbahadir/opcua-esp32/issues/1/comments","events_url":"https://api.github.com/repos/cmbahadir/opcua-esp32/issues/1/events","html_url":"https://github.com/cmbahadir/opcua-esp32/issues/1","id":341851493,"node_id":"MDU6SXNzdWUzNDE4NTE0OTM=","number":1,"title":"Function undeclared error when compiling","user":{"login":"houfengmz","id":8197805,"node_id":"MDQ6VXNlcjgxOTc4MDU=","avatar_url":"https://avatars1.githubusercontent.com/u/8197805?v=4","gravatar_id":"","url":"https://api.github.com/users/houfengmz","html_url":"https://github.com/houfengmz","followers_url":"https://api.github.com/users/houfengmz/followers","following_url":"https://api.github.com/users/houfengmz/following{/other_user}","gists_url":"https://api.github.com/users/houfengmz/gists{/gist_id}","starred_url":"https://api.github.com/users/houfengmz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houfengmz/subscriptions","organizations_url":"https://api.github.com/users/houfengmz/orgs","repos_url":"https://api.github.com/users/houfengmz/repos","events_url":"https://api.github.com/users/houfengmz/events{/privacy}","received_events_url":"https://api.github.com/users/houfengmz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-17T10:04:45Z","updated_at":"2018-07-18T02:45:35Z","closed_at":null,"author_association":"NONE","body":"Hi, I got this error below, it seems that the function 'mbedtls_platform_entropy_poll' will be defined only on Unix and Windows, is there anything wrong?\r\n\r\n>D:/msys32/home/hf/esp/opcua-esp32/components/open62541lib/open62541.c:48528:42: error: 'mbedtls_platform_entropy_poll' undeclared (first use in this function)\r\n                                          mbedtls_platform_entropy_poll, NULL, 0,\r\n                                          ^\r\nD:/msys32/home/hf/esp/opcua-esp32/components/open62541lib/open62541.c:48528:42: note: each undeclared identifier is reported only once for each function it appears in\r\nD:/msys32/home/hf/esp/opcua-esp32/components/open62541lib/open62541.c: In function 'policyContext_newContext_sp_basic256sha256':\r\nD:/msys32/home/hf/esp/opcua-esp32/components/open62541lib/open62541.c:49517:42: error: 'mbedtls_platform_entropy_poll' undeclared (first use in this function)\r\n                                          mbedtls_platform_entropy_poll, NULL, 0,\r\n                                          ^\r\nmake[1]: *** [/home/hf/esp/esp-idf/make/component_wrapper.mk:286：open62541.o] 错误 1\r\nmake: *** [D:/msys32/home/hf/esp/esp-idf/make/project.mk:468：component-open62541lib-build] 错误 2\r\n>\r\n\r\nIn esp-idf/components/mbedtls/mbedtls/library/entropy_poll.c\r\n```\r\n#if !defined(MBEDTLS_NO_PLATFORM_ENTROPY)\r\n\r\n#if !defined(unix) && !defined(__unix__) && !defined(__unix) && \\\r\n    !defined(__APPLE__) && !defined(_WIN32) && !defined(__QNXNTO__)\r\n#error \"Platform entropy sources only work on Unix and Windows, see MBEDTLS_NO_PLATFORM_ENTROPY in config.h\"\r\n#endif\r\n````\r\n"},"comment":{"url":"https://api.github.com/repos/cmbahadir/opcua-esp32/issues/comments/405791239","html_url":"https://github.com/cmbahadir/opcua-esp32/issues/1#issuecomment-405791239","issue_url":"https://api.github.com/repos/cmbahadir/opcua-esp32/issues/1","id":405791239,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTc5MTIzOQ==","user":{"login":"houfengmz","id":8197805,"node_id":"MDQ6VXNlcjgxOTc4MDU=","avatar_url":"https://avatars1.githubusercontent.com/u/8197805?v=4","gravatar_id":"","url":"https://api.github.com/users/houfengmz","html_url":"https://github.com/houfengmz","followers_url":"https://api.github.com/users/houfengmz/followers","following_url":"https://api.github.com/users/houfengmz/following{/other_user}","gists_url":"https://api.github.com/users/houfengmz/gists{/gist_id}","starred_url":"https://api.github.com/users/houfengmz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houfengmz/subscriptions","organizations_url":"https://api.github.com/users/houfengmz/orgs","repos_url":"https://api.github.com/users/houfengmz/repos","events_url":"https://api.github.com/users/houfengmz/events{/privacy}","received_events_url":"https://api.github.com/users/houfengmz/received_events","type":"User","site_admin":false},"created_at":"2018-07-18T02:45:35Z","updated_at":"2018-07-18T02:45:35Z","author_association":"NONE","body":"1. Yes, The header file 'ua_types_encoding_binary.h' amalgamated into the single source file lead to this warning, so I changed the build options to ignore this warning temporarily.\r\n2. FreeRTOS"}}
{"actor":{"display_login":"houfengmz"}}