Skip to content

Instantly share code, notes, and snippets.

@gabrielschulhof
Created August 11, 2017 15:23
Show Gist options
  • Save gabrielschulhof/d418efcfeb8c97e3b62f93f7ebbc15ae to your computer and use it in GitHub Desktop.
Save gabrielschulhof/d418efcfeb8c97e3b62f93f7ebbc15ae to your computer and use it in GitHub Desktop.
scons: Reading SConscript files ...
Checking for POSIX Thread Support...yes
HEAD is now at acf202a Fix stack corruption due to calling convention mismatch
Checking for C++ header file arpa/inet.h... yes
Checking for C++ header file fcntl.h... yes
Checking for C++ header file grp.h... yes
Checking for C++ header file in6addr.h... no
Checking for C++ header file linux/limits.h... no
Checking for C++ header file memory.h... yes
Checking for C++ header file net/if.h... yes
Checking for C++ header file netdb.h... yes
Checking for C++ header file netinet/in.h... yes
Checking for C++ header file pthread.h... yes
Checking for C++ header file pwd.h... yes
Checking for C++ header file stdlib.h... yes
Checking for C++ header file string.h... yes
Checking for C++ header file strings.h... yes
Checking for C++ header file sys/ioctl.h... yes
Checking for C++ header file sys/poll.h... yes
Checking for C++ header file sys/select.h... yes
Checking for C++ header file sys/socket.h... yes
Checking for C++ header file sys/stat.h... yes
Checking for C++ header file sys/time.h... yes
Checking for C++ header file sys/types.h... yes
Checking for C++ header file sys/unistd.h... yes
Checking for C++ header file syslog.h... yes
Checking for C++ header file time.h... yes
Checking for C++ header file unistd.h... yes
Checking for C++ header file uuid/uuid.h... yes
Checking for C++ header file windows.h... no
Checking for C++ header file winsock2.h... no
Checking for C++ header file ws2tcpip.h... no
Checking for C function strptime()... yes
*********************************** Info: *****************************************
* Using FORKED copy of libCoap located in: *
* resource/csdk/connectivity/lib/libcoap-4.1.1 *
***********************************************************************************
Given Transport is ALL
Given OS is darwin
BUILD_SAMPLE is ON
MQ flag is OFF
Reading ca script ALL
Reading common folder script
Reading util folder script
Previous HEAD position was ad249f5... Fixes all.sh script for filesystem IO test build
Switched to branch 'development'
Your branch is up-to-date with 'origin/development'.
HEAD is now at 1a6a15c Merge branch 'development-restricted'
Copied IoTivity version of config.h to /Users/gabrielschulhof/iotivity-node/iotivity-native/extlibs/mbedtls/mbedtls/include/mbedtls/config.h
Reading IP adapter script
Reading IP adapter script
Include path is ['../api', '/usr/local/include', '/Users/gabrielschulhof/iotivity-node/iotivity-native/deps/darwin/include', '/Users/gabrielschulhof/iotivity-node/iotivity-native/extlibs/tinycbor/tinycbor/src', '/Users/gabrielschulhof/iotivity-node/iotivity-native/resource/c_common', '/Users/gabrielschulhof/iotivity-node/iotivity-native/out/darwin/x86_64/release/resource/c_common/oic_malloc/include', '/Users/gabrielschulhof/iotivity-node/iotivity-native/out/darwin/x86_64/release/resource/c_common/oic_string/include', '/Users/gabrielschulhof/iotivity-node/iotivity-native/out/darwin/x86_64/release/resource/c_common/oic_time/include', '/Users/gabrielschulhof/iotivity-node/iotivity-native/out/darwin/x86_64/release/resource/c_common/ocatomic/include', '/Users/gabrielschulhof/iotivity-node/iotivity-native/out/darwin/x86_64/release/resource/c_common/ocrandom/include', '/Users/gabrielschulhof/iotivity-node/iotivity-native/out/darwin/x86_64/release/resource/c_common/octhread/include', '/Users/gabrielschulhof/iotivity-node/iotivity-native/out/darwin/x86_64/release/resource/c_common/oic_platform/include', '/Users/gabrielschulhof/iotivity-node/iotivity-native/out/darwin/x86_64/release/resource/c_common/octimer/include', '#/extlibs/mbedtls/mbedtls/include', '/Users/gabrielschulhof/iotivity-node/iotivity-native/out/darwin/x86_64/release/resource/csdk/logger/include', '#/resource/c_common', '#resource/csdk/connectivity/lib/libcoap-4.1.1/include', '../inc', '/Users/gabrielschulhof/iotivity-node/iotivity-native/resource/csdk/logger/include', '../common/inc', '../util/inc', '#resource/c_common/octhread/include/', '#resource/csdk/connectivity/common/inc/', '#resource/csdk/logger/include/', '#extlibs/mbedtls/mbedtls/include', '#/resource/c_common/octimer/include', '/Users/gabrielschulhof/iotivity-node/iotivity-native/resource/csdk/security/include', '../external/inc']
Files path is ['/Users/gabrielschulhof/iotivity-node/iotivity-native/resource/csdk/connectivity/common/src/uarraylist.c', '/Users/gabrielschulhof/iotivity-node/iotivity-native/resource/csdk/connectivity/common/src/ulinklist.c', '/Users/gabrielschulhof/iotivity-node/iotivity-native/resource/csdk/connectivity/common/src/uqueue.c', '/Users/gabrielschulhof/iotivity-node/iotivity-native/resource/csdk/connectivity/common/src/caremotehandler.c', '/Users/gabrielschulhof/iotivity-node/iotivity-native/resource/csdk/connectivity/common/src/cathreadpool_pthreads.c', '/Users/gabrielschulhof/iotivity-node/iotivity-native/resource/csdk/connectivity/util/src/cautilinterface.c', './adapter_util/caadapterutils.c', './adapter_util/cafragmentation.c', './adapter_util/ca_adapter_net_ssl.c', './cablockwisetransfer.c', './caconnectivitymanager.c', './cainterfacecontroller.c', './camessagehandler.c', './canetworkconfigurator.c', './caprotocolmessage.c', './caqueueingthread.c', './caretransmission.c', '/Users/gabrielschulhof/iotivity-node/iotivity-native/resource/csdk/connectivity/src/ip_adapter/caipadapter.c', '/Users/gabrielschulhof/iotivity-node/iotivity-native/resource/csdk/connectivity/src/ip_adapter/caipserver.c', '/Users/gabrielschulhof/iotivity-node/iotivity-native/resource/csdk/connectivity/src/ip_adapter/linux/caipnwmonitor.c']
*** Checking for installation of google unit test 1.7.0 ***
Download /Users/gabrielschulhof/iotivity-node/iotivity-native/extlibs/gtest/release-1.7.0.zip from https://github.com/google/googletest/archive/release-1.7.0.zip
Downloading ...
Download /Users/gabrielschulhof/iotivity-node/iotivity-native/extlibs/gtest/release-1.7.0.zip from https://github.com/google/googletest/archive/release-1.7.0.zip complete
Unzipping to : /Users/gabrielschulhof/iotivity-node/iotivity-native/extlibs/gtest/googletest-release-1.7.0
Unpacking /Users/gabrielschulhof/iotivity-node/iotivity-native/extlibs/gtest/release-1.7.0.zip ...
Configuring google unit test for compilation
Configuring using [/Users/gabrielschulhof/iotivity-node/iotivity-native/extlibs/gtest/googletest-release-1.7.0/cmake -G "Unix Makefiles" .] ...
Making google unit test
Configuring using [/Users/gabrielschulhof/iotivity-node/iotivity-native/extlibs/gtest/googletest-release-1.7.0/make] ...
Moving libraries to lib folder
Configuring using [/Users/gabrielschulhof/iotivity-node/iotivity-native/extlibs/gtest/googletest-release-1.7.0/cp libgtest.a lib] ...
Configuring using [/Users/gabrielschulhof/iotivity-node/iotivity-native/extlibs/gtest/googletest-release-1.7.0/mv libgtest.a lib/.libs] ...
Configuring using [/Users/gabrielschulhof/iotivity-node/iotivity-native/extlibs/gtest/googletest-release-1.7.0/cp libgtest_main.a lib] ...
Configuring using [/Users/gabrielschulhof/iotivity-node/iotivity-native/extlibs/gtest/googletest-release-1.7.0/mv libgtest_main.a lib/.libs] ...
Download v1.0.2.zip from https://github.com/miloyip/rapidjson/archive/v1.0.2.zip
Downloading ...
Download v1.0.2.zip from https://github.com/miloyip/rapidjson/archive/v1.0.2.zip complete
Unpacking v1.0.2.zip ...
scons: done reading SConscript files.
scons: Building targets ...
Compiling out/darwin/x86_64/release/resource/csdk/logger/src/logger.o
Compiling out/darwin/x86_64/release/resource/csdk/logger/src/trace.o
Archiving out/darwin/x86_64/release/resource/csdk/logger/liblogger.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: out/darwin/x86_64/release/resource/csdk/logger/liblogger.a(trace.o) has no symbols
Indexing Archive out/darwin/x86_64/release/resource/csdk/logger/liblogger.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: out/darwin/x86_64/release/resource/csdk/logger/liblogger.a(trace.o) has no symbols
Install file: "out/darwin/x86_64/release/resource/csdk/logger/liblogger.a" as "out/darwin/x86_64/release/liblogger.a"
Compiling out/darwin/x86_64/release/resource/csdk/stack/src/ocstack.o
In file included from resource/csdk/stack/src/ocstack.c:49:
In file included from resource/csdk/stack/include/internal/ocstackinternal.h:40:
resource/csdk/stack/include/internal/occlientcb.h:58:31: warning: redefinition of typedef 'OCResourceType' is a C11 feature [-Wtypedef-redefinition]
typedef struct resourcetype_t OCResourceType;
^
resource/csdk/stack/include/internal/ocresource.h:138:3: note: previous definition is here
} OCResourceType;
^
In file included from resource/csdk/stack/src/ocstack.c:64:
resource/csdk/stack/include/ocpayload.h:66:27: warning: redefinition of typedef 'OCResource' is a C11 feature [-Wtypedef-redefinition]
typedef struct OCResource OCResource;
^
resource/csdk/stack/include/internal/ocresource.h:250:3: note: previous definition is here
} OCResource;
^
resource/csdk/stack/src/ocstack.c:3622:73: warning: '&&' within '||' [-Wlogical-op-parentheses]
(strcmp(requestInfo.info.resourceUri, OIC_RSRC_DOXM_URI) != 0)) &&
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
resource/csdk/stack/src/ocstack.c:3622:73: note: place parentheses around the '&&' expression to silence this warning
(strcmp(requestInfo.info.resourceUri, OIC_RSRC_DOXM_URI) != 0)) &&
^
resource/csdk/stack/src/ocstack.c:587:5: warning: unused typedef 'StaticAssertTemp588' [-Wunused-local-typedef]
OC_STATIC_ASSERT(MAX_ADDR_STR_SIZE_CA == MAX_ADDR_STR_SIZE,
^
resource/c_common/platform_features.h:45:21: note: expanded from macro 'OC_STATIC_ASSERT'
typedef int OC_CAT(StaticAssertTemp, __LINE__)[2 * !!(condition) - 1]
^
resource/c_common/platform_features.h:43:24: note: expanded from macro 'OC_CAT'
# define OC_CAT(a, b) OC_CAT_(a, b)
^
resource/c_common/platform_features.h:42:25: note: expanded from macro 'OC_CAT_'
# define OC_CAT_(a, b) a ## b
^
<scratch space>:18:1: note: expanded from here
StaticAssertTemp588
^
resource/csdk/stack/src/ocstack.c:605:5: warning: unused typedef 'StaticAssertTemp606' [-Wunused-local-typedef]
OC_STATIC_ASSERT(MAX_ADDR_STR_SIZE_CA == MAX_ADDR_STR_SIZE,
^
resource/c_common/platform_features.h:45:21: note: expanded from macro 'OC_STATIC_ASSERT'
typedef int OC_CAT(StaticAssertTemp, __LINE__)[2 * !!(condition) - 1]
^
resource/c_common/platform_features.h:43:24: note: expanded from macro 'OC_CAT'
# define OC_CAT(a, b) OC_CAT_(a, b)
^
resource/c_common/platform_features.h:42:25: note: expanded from macro 'OC_CAT_'
# define OC_CAT_(a, b) a ## b
^
<scratch space>:22:1: note: expanded from here
StaticAssertTemp606
^
resource/csdk/stack/src/ocstack.c:6254:5: warning: unused typedef 'StaticAssertTemp6255' [-Wunused-local-typedef]
OC_STATIC_ASSERT((unsigned int)OC_ADAPTER_IP == (unsigned int)CA_ADAPTER_IP,
^
resource/c_common/platform_features.h:45:21: note: expanded from macro 'OC_STATIC_ASSERT'
typedef int OC_CAT(StaticAssertTemp, __LINE__)[2 * !!(condition) - 1]
^
resource/c_common/platform_features.h:43:24: note: expanded from macro 'OC_CAT'
# define OC_CAT(a, b) OC_CAT_(a, b)
^
resource/c_common/platform_features.h:42:25: note: expanded from macro 'OC_CAT_'
# define OC_CAT_(a, b) a ## b
^
<scratch space>:71:1: note: expanded from here
StaticAssertTemp6255
^
resource/csdk/stack/src/ocstack.c:6256:5: warning: unused typedef 'StaticAssertTemp6257' [-Wunused-local-typedef]
OC_STATIC_ASSERT((unsigned int)OC_ADAPTER_GATT_BTLE == (unsigned int)CA_ADAPTER_GATT_BTLE,
^
resource/c_common/platform_features.h:45:21: note: expanded from macro 'OC_STATIC_ASSERT'
typedef int OC_CAT(StaticAssertTemp, __LINE__)[2 * !!(condition) - 1]
^
resource/c_common/platform_features.h:43:24: note: expanded from macro 'OC_CAT'
# define OC_CAT(a, b) OC_CAT_(a, b)
^
resource/c_common/platform_features.h:42:25: note: expanded from macro 'OC_CAT_'
# define OC_CAT_(a, b) a ## b
^
<scratch space>:73:1: note: expanded from here
StaticAssertTemp6257
^
resource/csdk/stack/src/ocstack.c:6258:5: warning: unused typedef 'StaticAssertTemp6259' [-Wunused-local-typedef]
OC_STATIC_ASSERT((unsigned int)OC_ADAPTER_RFCOMM_BTEDR == (unsigned int)CA_ADAPTER_RFCOMM_BTEDR,
^
resource/c_common/platform_features.h:45:21: note: expanded from macro 'OC_STATIC_ASSERT'
typedef int OC_CAT(StaticAssertTemp, __LINE__)[2 * !!(condition) - 1]
^
resource/c_common/platform_features.h:43:24: note: expanded from macro 'OC_CAT'
# define OC_CAT(a, b) OC_CAT_(a, b)
^
resource/c_common/platform_features.h:42:25: note: expanded from macro 'OC_CAT_'
# define OC_CAT_(a, b) a ## b
^
<scratch space>:75:1: note: expanded from here
StaticAssertTemp6259
^
resource/csdk/stack/src/ocstack.c:6260:5: warning: unused typedef 'StaticAssertTemp6261' [-Wunused-local-typedef]
OC_STATIC_ASSERT((unsigned int)OC_ADAPTER_TCP == (unsigned int)CA_ADAPTER_TCP,
^
resource/c_common/platform_features.h:45:21: note: expanded from macro 'OC_STATIC_ASSERT'
typedef int OC_CAT(StaticAssertTemp, __LINE__)[2 * !!(condition) - 1]
^
resource/c_common/platform_features.h:43:24: note: expanded from macro 'OC_CAT'
# define OC_CAT(a, b) OC_CAT_(a, b)
^
resource/c_common/platform_features.h:42:25: note: expanded from macro 'OC_CAT_'
# define OC_CAT_(a, b) a ## b
^
<scratch space>:77:1: note: expanded from here
StaticAssertTemp6261
^
resource/csdk/stack/src/ocstack.c:6262:5: warning: unused typedef 'StaticAssertTemp6263' [-Wunused-local-typedef]
OC_STATIC_ASSERT((unsigned int)OC_ADAPTER_NFC == (unsigned int)CA_ADAPTER_NFC,
^
resource/c_common/platform_features.h:45:21: note: expanded from macro 'OC_STATIC_ASSERT'
typedef int OC_CAT(StaticAssertTemp, __LINE__)[2 * !!(condition) - 1]
^
resource/c_common/platform_features.h:43:24: note: expanded from macro 'OC_CAT'
# define OC_CAT(a, b) OC_CAT_(a, b)
^
resource/c_common/platform_features.h:42:25: note: expanded from macro 'OC_CAT_'
# define OC_CAT_(a, b) a ## b
^
<scratch space>:79:1: note: expanded from here
StaticAssertTemp6263
^
resource/csdk/stack/src/ocstack.c:6285:5: warning: unused typedef 'StaticAssertTemp6286' [-Wunused-local-typedef]
OC_STATIC_ASSERT((unsigned int)OC_SCOPE_INTERFACE == (unsigned int)CA_SCOPE_INTERFACE,
^
resource/c_common/platform_features.h:45:21: note: expanded from macro 'OC_STATIC_ASSERT'
typedef int OC_CAT(StaticAssertTemp, __LINE__)[2 * !!(condition) - 1]
^
resource/c_common/platform_features.h:43:24: note: expanded from macro 'OC_CAT'
# define OC_CAT(a, b) OC_CAT_(a, b)
^
resource/c_common/platform_features.h:42:25: note: expanded from macro 'OC_CAT_'
# define OC_CAT_(a, b) a ## b
^
<scratch space>:81:1: note: expanded from here
StaticAssertTemp6286
^
resource/csdk/stack/src/ocstack.c:6287:5: warning: unused typedef 'StaticAssertTemp6288' [-Wunused-local-typedef]
OC_STATIC_ASSERT((unsigned int)OC_SCOPE_LINK == (unsigned int)CA_SCOPE_LINK,
^
resource/c_common/platform_features.h:45:21: note: expanded from macro 'OC_STATIC_ASSERT'
typedef int OC_CAT(StaticAssertTemp, __LINE__)[2 * !!(condition) - 1]
^
resource/c_common/platform_features.h:43:24: note: expanded from macro 'OC_CAT'
# define OC_CAT(a, b) OC_CAT_(a, b)
^
resource/c_common/platform_features.h:42:25: note: expanded from macro 'OC_CAT_'
# define OC_CAT_(a, b) a ## b
^
<scratch space>:83:1: note: expanded from here
StaticAssertTemp6288
^
resource/csdk/stack/src/ocstack.c:6289:5: warning: unused typedef 'StaticAssertTemp6290' [-Wunused-local-typedef]
OC_STATIC_ASSERT((unsigned int)OC_SCOPE_REALM == (unsigned int)CA_SCOPE_REALM,
^
resource/c_common/platform_features.h:45:21: note: expanded from macro 'OC_STATIC_ASSERT'
typedef int OC_CAT(StaticAssertTemp, __LINE__)[2 * !!(condition) - 1]
^
resource/c_common/platform_features.h:43:24: note: expanded from macro 'OC_CAT'
# define OC_CAT(a, b) OC_CAT_(a, b)
^
resource/c_common/platform_features.h:42:25: note: expanded from macro 'OC_CAT_'
# define OC_CAT_(a, b) a ## b
^
<scratch space>:85:1: note: expanded from here
StaticAssertTemp6290
^
resource/csdk/stack/src/ocstack.c:6291:5: warning: unused typedef 'StaticAssertTemp6292' [-Wunused-local-typedef]
OC_STATIC_ASSERT((unsigned int)OC_SCOPE_ADMIN == (unsigned int)CA_SCOPE_ADMIN,
^
resource/c_common/platform_features.h:45:21: note: expanded from macro 'OC_STATIC_ASSERT'
typedef int OC_CAT(StaticAssertTemp, __LINE__)[2 * !!(condition) - 1]
^
resource/c_common/platform_features.h:43:24: note: expanded from macro 'OC_CAT'
# define OC_CAT(a, b) OC_CAT_(a, b)
^
resource/c_common/platform_features.h:42:25: note: expanded from macro 'OC_CAT_'
# define OC_CAT_(a, b) a ## b
^
<scratch space>:87:1: note: expanded from here
StaticAssertTemp6292
^
resource/csdk/stack/src/ocstack.c:6293:5: warning: unused typedef 'StaticAssertTemp6294' [-Wunused-local-typedef]
OC_STATIC_ASSERT((unsigned int)OC_SCOPE_SITE == (unsigned int)CA_SCOPE_SITE,
^
resource/c_common/platform_features.h:45:21: note: expanded from macro 'OC_STATIC_ASSERT'
typedef int OC_CAT(StaticAssertTemp, __LINE__)[2 * !!(condition) - 1]
^
resource/c_common/platform_features.h:43:24: note: expanded from macro 'OC_CAT'
# define OC_CAT(a, b) OC_CAT_(a, b)
^
resource/c_common/platform_features.h:42:25: note: expanded from macro 'OC_CAT_'
# define OC_CAT_(a, b) a ## b
^
<scratch space>:89:1: note: expanded from here
StaticAssertTemp6294
^
resource/csdk/stack/src/ocstack.c:6295:5: warning: unused typedef 'StaticAssertTemp6296' [-Wunused-local-typedef]
OC_STATIC_ASSERT((unsigned int)OC_SCOPE_ORG == (unsigned int)CA_SCOPE_ORG,
^
resource/c_common/platform_features.h:45:21: note: expanded from macro 'OC_STATIC_ASSERT'
typedef int OC_CAT(StaticAssertTemp, __LINE__)[2 * !!(condition) - 1]
^
resource/c_common/platform_features.h:43:24: note: expanded from macro 'OC_CAT'
# define OC_CAT(a, b) OC_CAT_(a, b)
^
resource/c_common/platform_features.h:42:25: note: expanded from macro 'OC_CAT_'
# define OC_CAT_(a, b) a ## b
^
<scratch space>:91:1: note: expanded from here
StaticAssertTemp6296
^
resource/csdk/stack/src/ocstack.c:6297:5: warning: unused typedef 'StaticAssertTemp6298' [-Wunused-local-typedef]
OC_STATIC_ASSERT((unsigned int)OC_SCOPE_GLOBAL == (unsigned int)CA_SCOPE_GLOBAL,
^
resource/c_common/platform_features.h:45:21: note: expanded from macro 'OC_STATIC_ASSERT'
typedef int OC_CAT(StaticAssertTemp, __LINE__)[2 * !!(condition) - 1]
^
resource/c_common/platform_features.h:43:24: note: expanded from macro 'OC_CAT'
# define OC_CAT(a, b) OC_CAT_(a, b)
^
resource/c_common/platform_features.h:42:25: note: expanded from macro 'OC_CAT_'
# define OC_CAT_(a, b) a ## b
^
<scratch space>:93:1: note: expanded from here
StaticAssertTemp6298
^
17 warnings generated.
Compiling out/darwin/x86_64/release/resource/csdk/stack/src/ocpayload.o
In file included from resource/csdk/stack/src/ocpayload.c:27:
In file included from resource/csdk/stack/include/internal/occollection.h:25:
In file included from resource/csdk/stack/include/internal/ocresourcehandler.h:25:
In file included from resource/csdk/stack/include/internal/ocstackinternal.h:40:
In file included from resource/csdk/stack/include/internal/occlientcb.h:36:
resource/csdk/stack/include/internal/ocresource.h:250:3: warning: redefinition of typedef 'OCResource' is a C11 feature [-Wtypedef-redefinition]
} OCResource;
^
resource/csdk/stack/include/ocpayload.h:66:27: note: previous definition is here
typedef struct OCResource OCResource;
^
In file included from resource/csdk/stack/src/ocpayload.c:27:
In file included from resource/csdk/stack/include/internal/occollection.h:25:
In file included from resource/csdk/stack/include/internal/ocresourcehandler.h:25:
In file included from resource/csdk/stack/include/internal/ocstackinternal.h:40:
resource/csdk/stack/include/internal/occlientcb.h:58:31: warning: redefinition of typedef 'OCResourceType' is a C11 feature [-Wtypedef-redefinition]
typedef struct resourcetype_t OCResourceType;
^
resource/csdk/stack/include/internal/ocresource.h:138:3: note: previous definition is here
} OCResourceType;
^
2 warnings generated.
Compiling out/darwin/x86_64/release/resource/csdk/stack/src/ocpayloadparse.o
In file included from resource/csdk/stack/src/ocpayloadparse.c:36:
In file included from resource/csdk/stack/include/internal/ocstackinternal.h:40:
In file included from resource/csdk/stack/include/internal/occlientcb.h:36:
resource/csdk/stack/include/internal/ocresource.h:250:3: warning: redefinition of typedef 'OCResource' is a C11 feature [-Wtypedef-redefinition]
} OCResource;
^
resource/csdk/stack/include/ocpayload.h:66:27: note: previous definition is here
typedef struct OCResource OCResource;
^
In file included from resource/csdk/stack/src/ocpayloadparse.c:36:
In file included from resource/csdk/stack/include/internal/ocstackinternal.h:40:
resource/csdk/stack/include/internal/occlientcb.h:58:31: warning: redefinition of typedef 'OCResourceType' is a C11 feature [-Wtypedef-redefinition]
typedef struct resourcetype_t OCResourceType;
^
resource/csdk/stack/include/internal/ocresource.h:138:3: note: previous definition is here
} OCResourceType;
^
2 warnings generated.
Compiling out/darwin/x86_64/release/resource/csdk/stack/src/ocpayloadconvert.o
In file included from resource/csdk/stack/src/ocpayloadconvert.c:33:
In file included from resource/csdk/stack/include/internal/ocresourcehandler.h:25:
In file included from resource/csdk/stack/include/internal/ocstackinternal.h:40:
In file included from resource/csdk/stack/include/internal/occlientcb.h:36:
resource/csdk/stack/include/internal/ocresource.h:250:3: warning: redefinition of typedef 'OCResource' is a C11 feature [-Wtypedef-redefinition]
} OCResource;
^
resource/csdk/stack/include/ocpayload.h:66:27: note: previous definition is here
typedef struct OCResource OCResource;
^
In file included from resource/csdk/stack/src/ocpayloadconvert.c:33:
In file included from resource/csdk/stack/include/internal/ocresourcehandler.h:25:
In file included from resource/csdk/stack/include/internal/ocstackinternal.h:40:
resource/csdk/stack/include/internal/occlientcb.h:58:31: warning: redefinition of typedef 'OCResourceType' is a C11 feature [-Wtypedef-redefinition]
typedef struct resourcetype_t OCResourceType;
^
resource/csdk/stack/include/internal/ocresource.h:138:3: note: previous definition is here
} OCResourceType;
^
resource/csdk/stack/src/ocpayloadconvert.c:79:5: warning: unused typedef 'StaticAssertTemp79' [-Wunused-local-typedef]
OC_STATIC_ASSERT(!CborNeedsUpdating, "tinycbor needs to be updated to at least 47a78569c0");
^
resource/c_common/platform_features.h:45:21: note: expanded from macro 'OC_STATIC_ASSERT'
typedef int OC_CAT(StaticAssertTemp, __LINE__)[2 * !!(condition) - 1]
^
resource/c_common/platform_features.h:43:24: note: expanded from macro 'OC_CAT'
# define OC_CAT(a, b) OC_CAT_(a, b)
^
resource/c_common/platform_features.h:42:25: note: expanded from macro 'OC_CAT_'
# define OC_CAT_(a, b) a ## b
^
<scratch space>:330:1: note: expanded from here
StaticAssertTemp79
^
3 warnings generated.
Compiling out/darwin/x86_64/release/resource/csdk/stack/src/occlientcb.o
In file included from resource/csdk/stack/src/occlientcb.c:22:
resource/csdk/stack/include/internal/occlientcb.h:58:31: warning: redefinition of typedef 'OCResourceType' is a C11 feature [-Wtypedef-redefinition]
typedef struct resourcetype_t OCResourceType;
^
resource/csdk/stack/include/internal/ocresource.h:138:3: note: previous definition is here
} OCResourceType;
^
1 warning generated.
Compiling out/darwin/x86_64/release/resource/csdk/stack/src/ocresource.o
In file included from resource/csdk/stack/src/ocresource.c:40:
resource/csdk/stack/include/internal/ocresource.h:138:3: warning: redefinition of typedef 'OCResourceType' is a C11 feature [-Wtypedef-redefinition]
} OCResourceType;
^
resource/csdk/stack/include/internal/occlientcb.h:58:31: note: previous definition is here
typedef struct resourcetype_t OCResourceType;
^
In file included from resource/csdk/stack/src/ocresource.c:47:
resource/csdk/stack/include/ocpayload.h:66:27: warning: redefinition of typedef 'OCResource' is a C11 feature [-Wtypedef-redefinition]
typedef struct OCResource OCResource;
^
resource/csdk/stack/include/internal/ocresource.h:250:3: note: previous definition is here
} OCResource;
^
resource/csdk/stack/src/ocresource.c:2060:29: warning: address of array 'request->resourceUrl' will always evaluate to 'true' [-Wpointer-bool-conversion]
if (request && request->resourceUrl && SRMIsSecurityResourceURI(request->resourceUrl))
~~ ~~~~~~~~~^~~~~~~~~~~
3 warnings generated.
Compiling out/darwin/x86_64/release/resource/csdk/stack/src/ocobserve.o
In file included from resource/csdk/stack/src/ocobserve.c:24:
In file included from resource/csdk/stack/include/internal/ocstackinternal.h:40:
resource/csdk/stack/include/internal/occlientcb.h:58:31: warning: redefinition of typedef 'OCResourceType' is a C11 feature [-Wtypedef-redefinition]
typedef struct resourcetype_t OCResourceType;
^
resource/csdk/stack/include/internal/ocresource.h:138:3: note: previous definition is here
} OCResourceType;
^
In file included from resource/csdk/stack/src/ocobserve.c:30:
resource/csdk/stack/include/ocpayload.h:66:27: warning: redefinition of typedef 'OCResource' is a C11 feature [-Wtypedef-redefinition]
typedef struct OCResource OCResource;
^
resource/csdk/stack/include/internal/ocresource.h:250:3: note: previous definition is here
} OCResource;
^
2 warnings generated.
Compiling out/darwin/x86_64/release/resource/csdk/stack/src/ocserverrequest.o
In file included from resource/csdk/stack/src/ocserverrequest.c:24:
In file included from resource/csdk/stack/include/internal/ocresourcehandler.h:25:
In file included from resource/csdk/stack/include/internal/ocstackinternal.h:40:
resource/csdk/stack/include/internal/occlientcb.h:58:31: warning: redefinition of typedef 'OCResourceType' is a C11 feature [-Wtypedef-redefinition]
typedef struct resourcetype_t OCResourceType;
^
resource/csdk/stack/include/internal/ocresource.h:138:3: note: previous definition is here
} OCResourceType;
^
In file included from resource/csdk/stack/src/ocserverrequest.c:28:
resource/csdk/stack/include/ocpayload.h:66:27: warning: redefinition of typedef 'OCResource' is a C11 feature [-Wtypedef-redefinition]
typedef struct OCResource OCResource;
^
resource/csdk/stack/include/internal/ocresource.h:250:3: note: previous definition is here
} OCResource;
^
resource/csdk/stack/src/ocserverrequest.c:60:1: warning: control reaches end of non-void function [-Wreturn-type]
RBL_GENERATE(ServerRequestTree, OCServerRequest, entry, RBRequestTokenCmp)
^
resource/csdk/stack/include/internal/tree.h:759:2: note: expanded from macro 'RBL_GENERATE'
RBL_GENERATE_INTERNAL(name, type, field, cmp,)
^
resource/csdk/stack/include/internal/tree.h:801:13: note: expanded from macro 'RBL_GENERATE_INTERNAL'
} \
^
3 warnings generated.
Compiling out/darwin/x86_64/release/resource/csdk/stack/src/occollection.o
In file included from resource/csdk/stack/src/occollection.c:29:
In file included from resource/csdk/stack/include/internal/occollection.h:25:
In file included from resource/csdk/stack/include/internal/ocresourcehandler.h:25:
In file included from resource/csdk/stack/include/internal/ocstackinternal.h:40:
resource/csdk/stack/include/internal/occlientcb.h:58:31: warning: redefinition of typedef 'OCResourceType' is a C11 feature [-Wtypedef-redefinition]
typedef struct resourcetype_t OCResourceType;
^
resource/csdk/stack/include/internal/ocresource.h:138:3: note: previous definition is here
} OCResourceType;
^
In file included from resource/csdk/stack/src/occollection.c:30:
resource/csdk/stack/include/ocpayload.h:66:27: warning: redefinition of typedef 'OCResource' is a C11 feature [-Wtypedef-redefinition]
typedef struct OCResource OCResource;
^
resource/csdk/stack/include/internal/ocresource.h:250:3: note: previous definition is here
} OCResource;
^
resource/csdk/stack/src/occollection.c:55:104: warning: for loop has empty body [-Wempty-body]
for (OCStringLL *rsrcType = (*colPayload)->types; rsrcType; rsrcType = rsrcType->next, arraySize++);
^
resource/csdk/stack/src/occollection.c:55:104: note: put the semicolon on a separate line to silence this warning
resource/csdk/stack/src/occollection.c:481:5: warning: unused typedef 'StaticAssertTemp481' [-Wunused-local-typedef]
OC_STATIC_ASSERT(sizeof(createdPayloadValueArray->dimensions) == sizeof(linkDim), "Array size mismatch!");
^
resource/c_common/platform_features.h:45:21: note: expanded from macro 'OC_STATIC_ASSERT'
typedef int OC_CAT(StaticAssertTemp, __LINE__)[2 * !!(condition) - 1]
^
resource/c_common/platform_features.h:43:24: note: expanded from macro 'OC_CAT'
# define OC_CAT(a, b) OC_CAT_(a, b)
^
resource/c_common/platform_features.h:42:25: note: expanded from macro 'OC_CAT_'
# define OC_CAT_(a, b) a ## b
^
<scratch space>:329:1: note: expanded from here
StaticAssertTemp481
^
4 warnings generated.
Compiling out/darwin/x86_64/release/resource/csdk/stack/src/oicgroup.o
In file included from resource/csdk/stack/src/oicgroup.c:27:
In file included from resource/csdk/stack/include/internal/oicgroup.h:24:
In file included from resource/csdk/stack/include/internal/ocstackinternal.h:40:
resource/csdk/stack/include/internal/occlientcb.h:58:31: warning: redefinition of typedef 'OCResourceType' is a C11 feature [-Wtypedef-redefinition]
typedef struct resourcetype_t OCResourceType;
^
resource/csdk/stack/include/internal/ocresource.h:138:3: note: previous definition is here
} OCResourceType;
^
In file included from resource/csdk/stack/src/oicgroup.c:29:
resource/csdk/stack/include/ocpayload.h:66:27: warning: redefinition of typedef 'OCResource' is a C11 feature [-Wtypedef-redefinition]
typedef struct OCResource OCResource;
^
resource/csdk/stack/include/internal/ocresource.h:250:3: note: previous definition is here
} OCResource;
^
2 warnings generated.
Compiling out/darwin/x86_64/release/resource/csdk/stack/src/ocendpoint.o
Compiling out/darwin/x86_64/release/resource/csdk/stack/src/oicresourcedirectory.o
scons: *** [extlibs/sqlite3/sqlite3.o] Source `extlibs/sqlite3/sqlite3.c' not found, needed by target `extlibs/sqlite3/sqlite3.o'.
scons: building terminated because of errors.
make: *** [iotivity-installed] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment