Running configure --without-debug results in a broken build.
Status: Alpha
Brought to you by:
obgm
Here's the build error I see after running "configure --without-debug":
make[1]: Entering directory `/home/craig/projects/iot/iotivity/extlibs/tinydtls/tests'
cc -Wall -g -O2 -I.. -DNDEBUG -DDTLSv12 -DWITH_SHA256 -L.. dtls-server.c -ltinydtls -o dtls-server
/tmp/ccQSivt9.o: In function `main':
/home/craig/projects/iot/iotivity/extlibs/tinydtls/tests/dtls-server.c:654: undefined reference to `dtls_package_version'
collect2: error: ld returned 1 exit status
make[1]: *** [dtls-server] Error 1
Moving the dtls_package_version() function into another source file resiolves the error (see attached patch).
This is a duplicate of ticket #18 which has a fix since 2015-04-21.