{"action":"created","issue":{"url":"https://api.github.com/repos/SmingHub/Sming/issues/840","repository_url":"https://api.github.com/repos/SmingHub/Sming","labels_url":"https://api.github.com/repos/SmingHub/Sming/issues/840/labels{/name}","comments_url":"https://api.github.com/repos/SmingHub/Sming/issues/840/comments","events_url":"https://api.github.com/repos/SmingHub/Sming/issues/840/events","html_url":"https://github.com/SmingHub/Sming/issues/840","id":197724934,"number":840,"title":"SSL Build issue","user":{"login":"GarageGadget","id":24795067,"avatar_url":"https://avatars.githubusercontent.com/u/24795067?v=3","gravatar_id":"","url":"https://api.github.com/users/GarageGadget","html_url":"https://github.com/GarageGadget","followers_url":"https://api.github.com/users/GarageGadget/followers","following_url":"https://api.github.com/users/GarageGadget/following{/other_user}","gists_url":"https://api.github.com/users/GarageGadget/gists{/gist_id}","starred_url":"https://api.github.com/users/GarageGadget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GarageGadget/subscriptions","organizations_url":"https://api.github.com/users/GarageGadget/orgs","repos_url":"https://api.github.com/users/GarageGadget/repos","events_url":"https://api.github.com/users/GarageGadget/events{/privacy}","received_events_url":"https://api.github.com/users/GarageGadget/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-12-27T16:18:15Z","updated_at":"2016-12-29T19:38:18Z","closed_at":null,"body":"Hi,\r\n\r\nThe Sming library builds successfully when using 'make all' however when building using the SSL option 'make ENABLE_SSL=1' the build fails.\r\n\r\nI have added the requested third parties dependencies to the third-party directory.\r\n\r\nOS = Windows 10\r\nGCC = GCC V.5.1.0\r\nSming = V 3.0.0\r\nEspressif= V1.5\r\n\r\n**Build Output - Start**\r\n\r\nmake ENABLE_SSL=1\r\nmake[1]: Entering directory `/c/tools/sming/Sming/third-party/axtls-8266'\r\nxtensa-lx106-elf-gcc -std=c99 -DESP8266 -Wall -Os -g -O2 -v -Wpointer-arith -Wno-implicit-function-declaration -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mno-text-section-literals  -D__ets__ -DICACHE_FLASH -I/include -Icrypto -Issl -I.  -c -o crypto/hmac.o crypto/hmac.c\r\nUsing built-in specs.\r\nCOLLECT_GCC=c:\\Espressif\\xtensa-lx106-elf\\bin\\xtensa-lx106-elf-gcc.exe\r\nTarget: xtensa-lx106-elf\r\nConfigured with: ../configure --prefix=/d/Neo/esp8266-devkit/Espressif/xtensa-lx106-elf --target=xtensa-lx106-elf --enable-multilib --disable-nls --disable-shared --disable-threads --with-gnu-as --with-gnu-ld --with-gmp=/d/Neo/esp8266-devkit/Espressif/build/gmp --with-mpfr=/d/Neo/esp8266-devkit/Espressif/build/mpfr --with-mpc=/d/Neo/esp8266-devkit/Espressif/build/mpc --enable-languages=c,c++ --with-newlib --disable-libssp --disable-__cxa_atexit\r\nThread model: single\r\ngcc version 5.1.0 (GCC)\r\nCOLLECT_GCC_OPTIONS='-std=c99' '-D' 'ESP8266' '-Wall' '-Os' '-g' '-O2' '-v' '-Wpointer-arith' '-Wno-implicit-function-declaration' '-fno-inline-functions' '-nostdlib' '-mlongcalls' '-mno-text-section-literals' '-D' '__ets__' '-D' 'ICACHE_FLASH' '-I' 'C:/tools/mingw64/msys/1.0/include' '-I' 'crypto' '-I' 'ssl' '-I' '.' '-c' '-o' 'crypto/hmac.o'\r\n c:/espressif/xtensa-lx106-elf/bin/../libexec/gcc/xtensa-lx106-elf/5.1.0/cc1.exe -quiet -v -I C:/tools/mingw64/msys/1.0/include -I crypto -I ssl -I . -iprefix c:\\espressif\\xtensa-lx106-elf\\bin\\../lib/gcc/xtensa-lx106-elf/5.1.0/ -D ESP8266 -D __ets__ -D ICACHE_FLASH crypto/hmac.c -quiet -dumpbase hmac.c -mlongcalls -mno-text-section-literals -auxbase-strip crypto/hmac.o -g -Os -O2 -Wall -Wpointer-arith -Wno-implicit-function-declaration -std=c99 -version -fno-inline-functions -o C:\\Users\\brent\\AppData\\Local\\Temp\\ccLdggXi.s\r\nGNU C99 (GCC) version 5.1.0 (xtensa-lx106-elf)\r\n        compiled by GNU C version 4.8.1, GMP version 6.0.0, MPFR version 3.1.2, MPC version 1.0.2\r\nGGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072\r\nignoring nonexistent directory \"c:\\espressif\\xtensa-lx106-elf\\bin\\../lib/gcc/xtensa-lx106-elf/5.1.0/../../../../xtensa-lx106-elf/sys-include\"\r\nignoring duplicate directory \"c:/espressif/xtensa-lx106-elf/lib/gcc/../../lib/gcc/xtensa-lx106-elf/5.1.0/include\"\r\nignoring duplicate directory \"c:/espressif/xtensa-lx106-elf/lib/gcc/../../lib/gcc/xtensa-lx106-elf/5.1.0/include-fixed\"\r\nignoring nonexistent directory \"c:/espressif/xtensa-lx106-elf/lib/gcc/../../lib/gcc/xtensa-lx106-elf/5.1.0/../../../../xtensa-lx106-elf/sys-include\"\r\nignoring duplicate directory \"c:/espressif/xtensa-lx106-elf/lib/gcc/../../lib/gcc/xtensa-lx106-elf/5.1.0/../../../../xtensa-lx106-elf/include\"\r\n#include \"...\" search starts here:\r\n#include <...> search starts here:\r\n C:/tools/mingw64/msys/1.0/include\r\n crypto\r\n ssl\r\n .\r\n c:\\espressif\\xtensa-lx106-elf\\bin\\../lib/gcc/xtensa-lx106-elf/5.1.0/include\r\n c:\\espressif\\xtensa-lx106-elf\\bin\\../lib/gcc/xtensa-lx106-elf/5.1.0/include-fixed\r\n c:\\espressif\\xtensa-lx106-elf\\bin\\../lib/gcc/xtensa-lx106-elf/5.1.0/../../../../xtensa-lx106-elf/include\r\nEnd of search list.\r\nGNU C99 (GCC) version 5.1.0 (xtensa-lx106-elf)\r\n        compiled by GNU C version 4.8.1, GMP version 6.0.0, MPFR version 3.1.2, MPC version 1.0.2\r\nGGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072\r\nCompiler executable checksum: 487d25fad2cff8b88e5853ec06c25fbf\r\nIn file included from c:\\espressif\\xtensa-lx106-elf\\lib\\gcc\\xtensa-lx106-elf\\5.1.0\\include\\stdint.h:9:0,\r\n                 from ssl/os_int.h:5,\r\n                 from ssl/os_port.h:44,\r\n                 from crypto/hmac.c:38:\r\nc:\\espressif\\xtensa-lx106-elf\\xtensa-lx106-elf\\include\\stdint.h:18:19: error: missing binary operator before token \"(\"\r\n #if __GNUC_PREREQ (3, 2)\r\n                   ^\r\nIn file included from ssl/os_port.h:63:0,\r\n                 from crypto/hmac.c:38:\r\n./util/time.h:6:3: error: unknown type name 'time_t'\r\n   time_t tv_sec;\r\n   ^\r\nmake[1]: *** [crypto/hmac.o] Error 1\r\nmake[1]: Leaving directory `/c/tools/sming/Sming/third-party/axtls-8266'\r\nmake: *** [compiler/lib/libaxtls.a] Error 2\r\n\r\n**Build Output - Finished**\r\n\r\nYour assistance is appreciated.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/SmingHub/Sming/issues/comments/269681814","html_url":"https://github.com/SmingHub/Sming/issues/840#issuecomment-269681814","issue_url":"https://api.github.com/repos/SmingHub/Sming/issues/840","id":269681814,"user":{"login":"slaff","id":247452,"avatar_url":"https://avatars.githubusercontent.com/u/247452?v=3","gravatar_id":"","url":"https://api.github.com/users/slaff","html_url":"https://github.com/slaff","followers_url":"https://api.github.com/users/slaff/followers","following_url":"https://api.github.com/users/slaff/following{/other_user}","gists_url":"https://api.github.com/users/slaff/gists{/gist_id}","starred_url":"https://api.github.com/users/slaff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slaff/subscriptions","organizations_url":"https://api.github.com/users/slaff/orgs","repos_url":"https://api.github.com/users/slaff/repos","events_url":"https://api.github.com/users/slaff/events{/privacy}","received_events_url":"https://api.github.com/users/slaff/received_events","type":"User","site_admin":false},"created_at":"2016-12-29T19:38:18Z","updated_at":"2016-12-29T19:38:18Z","body":"> The sub-modules with was retrieved from the external sources on github by downloading the zip files and using the ‘Without git repository” method of local copy installation.\r\n\r\n@GarageGadget Understood. We will address this issue in the next release. Until then please get the latest source code using git. This can be done with the following command:\r\n\r\n```\r\ngit clone https://github.com/SmingHub/Sming.git\r\n```\r\n\r\nYou will need git version 1.9.x or newer to work properly. `Git` for windows can be downloaded from here: https://git-scm.com/download/win"}}
{"actor":{"display_login":"slaff"}}