{"action":"created","issue":{"url":"https://api.github.com/repos/micropython/micropython/issues/1885","repository_url":"https://api.github.com/repos/micropython/micropython","labels_url":"https://api.github.com/repos/micropython/micropython/issues/1885/labels{/name}","comments_url":"https://api.github.com/repos/micropython/micropython/issues/1885/comments","events_url":"https://api.github.com/repos/micropython/micropython/issues/1885/events","html_url":"https://github.com/micropython/micropython/issues/1885","id":139456051,"number":1885,"title":"esp8266 build error","user":{"login":"skylin008","id":3345980,"avatar_url":"https://avatars.githubusercontent.com/u/3345980?v=3","gravatar_id":"","url":"https://api.github.com/users/skylin008","html_url":"https://github.com/skylin008","followers_url":"https://api.github.com/users/skylin008/followers","following_url":"https://api.github.com/users/skylin008/following{/other_user}","gists_url":"https://api.github.com/users/skylin008/gists{/gist_id}","starred_url":"https://api.github.com/users/skylin008/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skylin008/subscriptions","organizations_url":"https://api.github.com/users/skylin008/orgs","repos_url":"https://api.github.com/users/skylin008/repos","events_url":"https://api.github.com/users/skylin008/events{/privacy}","received_events_url":"https://api.github.com/users/skylin008/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-09T02:31:08Z","updated_at":"2016-03-23T11:37:18Z","closed_at":"2016-03-23T11:37:18Z","body":"when build the esp8266 firmware,the error message shows follow:\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nfff@cc-b1c25b7d7454 /micropython/esp8266\r\n$ make\r\nUse make V=1 or set BUILD_VERBOSE in your environment to increase build verbosit\r\ny.\r\nCC main.c\r\nIn file included from D:/msys/1.0/opt/include/ets_sys.h:11:0,\r\n                 from D:/msys/1.0/opt/include/os_type.h:10,\r\n                 from D:/msys/1.0/opt/include/user_interface.h:9,\r\n                 from main.c:39:\r\nD:/msys/1.0/opt/include/c_types.h:15:29: error: conflicting types for 'uint32_t'\r\n\r\n typedef unsigned long       uint32_t;\r\n                             ^\r\nIn file included from d:\\sysgcc\\esp8266\\lib\\gcc\\xtensa-lx106-elf\\5.2.0\\include\\s\r\ntdint.h:9:0,\r\n                 from ./mpconfigport.h:1,\r\n                 from ../py/mpconfig.h:45,\r\n                 from ../py/nlr.h:36,\r\n                 from main.c:30:\r\nd:\\sysgcc\\esp8266\\xtensa-lx106-elf\\sys-include\\stdint.h:81:22: note: previous de\r\nclaration of 'uint32_t' was here\r\n typedef unsigned int uint32_t;\r\n                      ^\r\nIn file included from D:/msys/1.0/opt/include/ets_sys.h:11:0,\r\n                 from D:/msys/1.0/opt/include/os_type.h:10,\r\n                 from D:/msys/1.0/opt/include/user_interface.h:9,\r\n                 from main.c:39:\r\nD:/msys/1.0/opt/include/c_types.h:17:29: error: conflicting types for 'int32_t'\r\n typedef signed long         int32_t;\r\n                             ^\r\nIn file included from d:\\sysgcc\\esp8266\\lib\\gcc\\xtensa-lx106-elf\\5.2.0\\include\\s\r\ntdint.h:9:0,\r\n                 from ./mpconfigport.h:1,\r\n                 from ../py/mpconfig.h:45,\r\n                 from ../py/nlr.h:36,\r\n                 from main.c:30:\r\nd:\\sysgcc\\esp8266\\xtensa-lx106-elf\\sys-include\\stdint.h:80:20: note: previous de\r\nclaration of 'int32_t' was here\r\n typedef signed int int32_t;\r\n                    ^\r\nIn file included from ../py/misc.h:33:0,\r\n                 from ../py/qstr.h:30,\r\n                 from ../py/lexer.h:32,\r\n                 from ../py/compile.h:29,\r\n                 from main.c:31:\r\nD:/msys/1.0/opt/include/c_types.h:85:25: error: two or more data types in declar\r\nation specifiers\r\n typedef unsigned char   bool;\r\n                         ^\r\nIn file included from D:/msys/1.0/opt/include/ets_sys.h:11:0,\r\n                 from D:/msys/1.0/opt/include/os_type.h:10,\r\n                 from D:/msys/1.0/opt/include/user_interface.h:9,\r\n                 from main.c:39:\r\nD:/msys/1.0/opt/include/c_types.h:85:1: error: useless type name in empty declar\r\nation [-Werror]\r\n typedef unsigned char   bool;\r\n ^\r\nD:/msys/1.0/opt/include/c_types.h:87:0: error: \"true\" redefined [-Werror]\r\n #define true            (1)\r\n ^\r\nIn file included from ../py/misc.h:33:0,\r\n                 from ../py/qstr.h:30,\r\n                 from ../py/lexer.h:32,\r\n                 from ../py/compile.h:29,\r\n                 from main.c:31:\r\nd:\\sysgcc\\esp8266\\lib\\gcc\\xtensa-lx106-elf\\5.2.0\\include\\stdbool.h:34:0: note: t\r\nhis is the location of the previous definition\r\n #define true 1\r\n ^\r\nIn file included from D:/msys/1.0/opt/include/ets_sys.h:11:0,\r\n                 from D:/msys/1.0/opt/include/os_type.h:10,\r\n                 from D:/msys/1.0/opt/include/user_interface.h:9,\r\n                 from main.c:39:\r\nD:/msys/1.0/opt/include/c_types.h:88:0: error: \"false\" redefined [-Werror]\r\n #define false           (0)\r\n ^\r\nIn file included from ../py/misc.h:33:0,\r\n                 from ../py/qstr.h:30,\r\n                 from ../py/lexer.h:32,\r\n                 from ../py/compile.h:29,\r\n                 from main.c:31:\r\nd:\\sysgcc\\esp8266\\lib\\gcc\\xtensa-lx106-elf\\5.2.0\\include\\stdbool.h:35:0: note: t\r\nhis is the location of the previous definition\r\n #define false 0\r\n ^\r\nIn file included from main.c:39:0:\r\nD:/msys/1.0/opt/include/user_interface.h:11:26: fatal error: lwip/ip_addr.h: No\r\nsuch file or directory\r\ncc1.exe: all warnings being treated as errors\r\ncompilation terminated.\r\nmake: *** [build/main.o] Error 1\r\n\r\nHow to solve this problem.Thanks advance!"},"comment":{"url":"https://api.github.com/repos/micropython/micropython/issues/comments/200308142","html_url":"https://github.com/micropython/micropython/issues/1885#issuecomment-200308142","issue_url":"https://api.github.com/repos/micropython/micropython/issues/1885","id":200308142,"user":{"login":"pfalcon","id":500451,"avatar_url":"https://avatars.githubusercontent.com/u/500451?v=3","gravatar_id":"","url":"https://api.github.com/users/pfalcon","html_url":"https://github.com/pfalcon","followers_url":"https://api.github.com/users/pfalcon/followers","following_url":"https://api.github.com/users/pfalcon/following{/other_user}","gists_url":"https://api.github.com/users/pfalcon/gists{/gist_id}","starred_url":"https://api.github.com/users/pfalcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfalcon/subscriptions","organizations_url":"https://api.github.com/users/pfalcon/orgs","repos_url":"https://api.github.com/users/pfalcon/repos","events_url":"https://api.github.com/users/pfalcon/events{/privacy}","received_events_url":"https://api.github.com/users/pfalcon/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T11:37:18Z","updated_at":"2016-03-23T11:37:18Z","body":"Please see http://forum.micropython.org/viewtopic.php?f=16&t=1689 for further instructions.\r\n"}}