{"action":"created","issue":{"url":"https://api.github.com/repos/crosstool-ng/crosstool-ng/issues/79","labels_url":"https://api.github.com/repos/crosstool-ng/crosstool-ng/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/crosstool-ng/crosstool-ng/issues/79/comments","events_url":"https://api.github.com/repos/crosstool-ng/crosstool-ng/issues/79/events","html_url":"https://github.com/crosstool-ng/crosstool-ng/issues/79","id":72553209,"number":79,"title":"Can't build on mingw","user":{"login":"kireevco","id":1790594,"avatar_url":"https://avatars.githubusercontent.com/u/1790594?v=3","gravatar_id":"","url":"https://api.github.com/users/kireevco","html_url":"https://github.com/kireevco","followers_url":"https://api.github.com/users/kireevco/followers","following_url":"https://api.github.com/users/kireevco/following{/other_user}","gists_url":"https://api.github.com/users/kireevco/gists{/gist_id}","starred_url":"https://api.github.com/users/kireevco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kireevco/subscriptions","organizations_url":"https://api.github.com/users/kireevco/orgs","repos_url":"https://api.github.com/users/kireevco/repos","events_url":"https://api.github.com/users/kireevco/events{/privacy}","received_events_url":"https://api.github.com/users/kireevco/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/crosstool-ng/crosstool-ng/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"bhundven","id":1155179,"avatar_url":"https://avatars.githubusercontent.com/u/1155179?v=3","gravatar_id":"","url":"https://api.github.com/users/bhundven","html_url":"https://github.com/bhundven","followers_url":"https://api.github.com/users/bhundven/followers","following_url":"https://api.github.com/users/bhundven/following{/other_user}","gists_url":"https://api.github.com/users/bhundven/gists{/gist_id}","starred_url":"https://api.github.com/users/bhundven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhundven/subscriptions","organizations_url":"https://api.github.com/users/bhundven/orgs","repos_url":"https://api.github.com/users/bhundven/repos","events_url":"https://api.github.com/users/bhundven/events{/privacy}","received_events_url":"https://api.github.com/users/bhundven/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/crosstool-ng/crosstool-ng/milestones/3","html_url":"https://github.com/crosstool-ng/crosstool-ng/milestones/1.22.0","labels_url":"https://api.github.com/repos/crosstool-ng/crosstool-ng/milestones/3/labels","id":1140562,"number":3,"title":"1.22.0","description":"","creator":{"login":"bhundven","id":1155179,"avatar_url":"https://avatars.githubusercontent.com/u/1155179?v=3","gravatar_id":"","url":"https://api.github.com/users/bhundven","html_url":"https://github.com/bhundven","followers_url":"https://api.github.com/users/bhundven/followers","following_url":"https://api.github.com/users/bhundven/following{/other_user}","gists_url":"https://api.github.com/users/bhundven/gists{/gist_id}","starred_url":"https://api.github.com/users/bhundven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhundven/subscriptions","organizations_url":"https://api.github.com/users/bhundven/orgs","repos_url":"https://api.github.com/users/bhundven/repos","events_url":"https://api.github.com/users/bhundven/events{/privacy}","received_events_url":"https://api.github.com/users/bhundven/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":17,"state":"open","created_at":"2015-05-29T19:08:44Z","updated_at":"2015-10-21T05:04:08Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-05-02T00:17:12Z","updated_at":"2015-10-21T11:50:59Z","closed_at":null,"body":"It also fails to build on mingw. I'm trying to elaborate build process here.\r\nhttps://github.com/kireevco/packages/tree/master/esp-open-sdk/windows\r\n\r\nCross issue https://github.com/pfalcon/esp-open-sdk/issues/17\r\n\r\n\r\nFull log:\r\n```\r\nchecking build system type... i686-pc-mingw32\r\nchecking host system type... i686-pc-mingw32\r\nchecking for a BSD-compatible install... /usr/bin//install -c\r\nchecking for grep that handles long lines and -e... /usr/bin//grep\r\nchecking for egrep... /usr/bin//grep -E\r\nchecking for a sed that does not truncate output... /usr/bin//sed\r\nchecking whether sed understands -r -i -e... yes\r\nchecking whether ln -s works... no, using cp -p\r\nchecking for gcc... gcc\r\nchecking whether the C compiler works... yes\r\nchecking for C compiler default output file name... a.exe\r\nchecking for suffix of executables... .exe\r\nchecking whether we are cross compiling... no\r\nchecking for suffix of object files... o\r\nchecking whether we are using the GNU C compiler... yes\r\nchecking whether gcc accepts -g... yes\r\nchecking for gcc option to accept ISO C89... none needed\r\nchecking how to run the C preprocessor... gcc -E\r\nchecking for ranlib... ranlib\r\nchecking for gobjcopy... no\r\nchecking for objcopy... objcopy\r\nchecking for absolute path to objcopy... /usr/bin/objcopy.exe\r\nchecking for gobjdump... no\r\nchecking for objdump... objdump\r\nchecking for absolute path to objdump... /usr/bin/objdump.exe\r\nchecking for greadelf... no\r\nchecking for readelf... readelf\r\nchecking for absolute path to readelf... /usr/bin/readelf.exe\r\nchecking for gperf... gperf\r\nchecking for absolute path to gperf... /usr/bin/gperf.exe\r\nchecking for bison... bison\r\nchecking for flex... flex\r\nchecking for makeinfo... makeinfo\r\nchecking for cut... cut\r\nchecking for stat... stat\r\nchecking for readlink... readlink\r\nchecking for wget... wget\r\nchecking for tar... tar\r\nchecking for gzip... gzip\r\nchecking for bzip2... bzip2\r\nchecking for patch... /usr/bin//patch\r\nchecking for bash >= 3.1... /usr/bin//bash\r\nchecking for GNU awk... /usr/bin//gawk\r\nchecking for GNU make >= 3.80... /usr/bin//make\r\nchecking whether /usr/bin//make sets $(MAKE)... yes\r\nchecking for make 3.81... yes\r\nchecking for GNU libtool >= 1.5.26... /usr/bin//libtool\r\nchecking for GNU libtoolize >= 1.5.26... /usr/bin//libtoolize\r\nchecking for GNU automake >= 1.10... /usr/bin//automake\r\nchecking for xz... xz\r\nchecking for cvs... cvs\r\nchecking for svn... no\r\nchecking for inline... inline\r\nchecking for ANSI C header files... yes\r\nchecking for sys/types.h... yes\r\nchecking for sys/stat.h... yes\r\nchecking for stdlib.h... yes\r\nchecking for string.h... yes\r\nchecking for memory.h... yes\r\nchecking for strings.h... yes\r\nchecking for inttypes.h... no\r\nchecking for stdint.h... no\r\nchecking for unistd.h... yes\r\nchecking for stdlib.h... (cached) yes\r\nchecking for GNU libc compatible malloc... yes\r\nchecking for stdlib.h... (cached) yes\r\nchecking for GNU libc compatible realloc... yes\r\nchecking for size_t... yes\r\nchecking for working alloca.h... no\r\nchecking for alloca... yes\r\nchecking libintl.h usability... no\r\nchecking libintl.h presence... no\r\nchecking for libintl.h... no\r\nchecking ncurses/ncurses.h usability... no\r\nchecking ncurses/ncurses.h presence... no\r\nchecking for ncurses/ncurses.h... no\r\nchecking ncurses/curses.h usability... no\r\nchecking ncurses/curses.h presence... no\r\nchecking for ncurses/curses.h... no\r\nchecking ncursesw/curses.h usability... no\r\nchecking ncursesw/curses.h presence... no\r\nchecking for ncursesw/curses.h... no\r\nchecking ncurses.h usability... yes\r\nchecking ncurses.h presence... yes\r\nchecking for ncurses.h... yes\r\nchecking for library containing initscr... -lncurses\r\nconfigure: creating ./config.status\r\nconfig.status: creating Makefile\r\nmake MAKELEVEL=0\r\nmake: Entering directory `/c/Users/User/packages/esp-open-sdk/windows/mignw/esp-\r\nopen-sdk/crosstool-NG'\r\n  SED    'ct-ng'\r\n  SED    'scripts/crosstool-NG.sh'\r\n  SED    'scripts/saveSample.sh'\r\n  SED    'scripts/showTuple.sh'\r\n  GEN    'config/configure.in'\r\n  GEN    'paths.mk'\r\n  GEN    'paths.sh'\r\n  DEP    'nconf.gui.dep'\r\n  DEP    'nconf.dep'\r\n  DEP    'lxdialog/yesno.dep'\r\n  DEP    'lxdialog/util.dep'\r\n  DEP    'lxdialog/textbox.dep'\r\n  DEP    'lxdialog/menubox.dep'\r\n  DEP    'lxdialog/inputbox.dep'\r\n  DEP    'lxdialog/checklist.dep'\r\n  DEP    'mconf.dep'\r\n  DEP    'conf.dep'\r\n  BISON  'zconf.tab.c'\r\n  GPERF  'zconf.hash.c'\r\n(standard input):14: warning: junk after %% is ignored\r\n, defaulting to Cage option ANSI-C\r\n(standard input):5: junk after declaration\r\n  LEX    'lex.zconf.c'\r\n  DEP    'zconf.tab.dep'\r\n  CC     'zconf.tab.o'\r\nzconf.tab.c: In function `zconfparse':\r\nzconf.tab.c:1656: error: `kconf_id_strings' undeclared (first use in this functi\r\non)\r\nzconf.tab.c:1656: error: (Each undeclared identifier is reported only once\r\nzconf.tab.c:1656: error: for each function it appears in.)\r\nzconf.tab.c:1764: warning: initialization makes pointer from integer without a c\r\nast\r\nzconf.tab.c: In function `zconf_endtoken':\r\nzconf.tab.c:2315: error: `kconf_id_strings' undeclared (first use in this functi\r\non)\r\nIn file included from zconf.tab.c:2507:\r\nlex.zconf.c: In function `zconflex':\r\nlex.zconf.c:1103: warning: initialization makes pointer from integer without a c\r\nast\r\nlex.zconf.c:1178: warning: initialization makes pointer from integer without a c\r\nast\r\nmake: *** [zconf.tab.o] Error 1\r\nmake: *** [build-lib-kconfig] Error 2\r\nmake: *** [build] Error 2\r\nmake: Leaving directory `/c/Users/User/packages/esp-open-sdk/windows/mignw/esp-o\r\npen-sdk/crosstool-NG'\r\nmake[1]: *** [_ct-ng] Error 2\r\nmake[1]: Leaving directory `/c/Users/User/packages/esp-open-sdk/windows/mignw/es\r\np-open-sdk/crosstool-NG'\r\nmake: *** [crosstool-NG/ct-ng] Error 2\r\n```"},"comment":{"url":"https://api.github.com/repos/crosstool-ng/crosstool-ng/issues/comments/149865707","html_url":"https://github.com/crosstool-ng/crosstool-ng/issues/79#issuecomment-149865707","issue_url":"https://api.github.com/repos/crosstool-ng/crosstool-ng/issues/79","id":149865707,"user":{"login":"kireevco","id":1790594,"avatar_url":"https://avatars.githubusercontent.com/u/1790594?v=3","gravatar_id":"","url":"https://api.github.com/users/kireevco","html_url":"https://github.com/kireevco","followers_url":"https://api.github.com/users/kireevco/followers","following_url":"https://api.github.com/users/kireevco/following{/other_user}","gists_url":"https://api.github.com/users/kireevco/gists{/gist_id}","starred_url":"https://api.github.com/users/kireevco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kireevco/subscriptions","organizations_url":"https://api.github.com/users/kireevco/orgs","repos_url":"https://api.github.com/users/kireevco/repos","events_url":"https://api.github.com/users/kireevco/events{/privacy}","received_events_url":"https://api.github.com/users/kireevco/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T11:50:59Z","updated_at":"2015-10-21T11:50:59Z","body":"@bhundven I recreated my test environment.\r\nI applied `sed -i 's/ESCDELAY = 1;/set_escdelay(1);/g' ./crosstool-NG/kconfig/nconf.c`\r\nand I'm getting:\r\n```\r\n./configure --prefix=`pwd`\r\nchecking build system type... i686-pc-mingw32\r\nchecking host system type... i686-pc-mingw32\r\nchecking for a BSD-compatible install... /usr/bin//install -c\r\nchecking for grep that handles long lines and -e... /usr/bin//grep\r\nchecking for egrep... /usr/bin//grep -E\r\nchecking for a sed that does not truncate output... /usr/bin//sed\r\nchecking whether sed understands -r -i -e... yes\r\nchecking whether ln -s works... no, using cp -p\r\nchecking for gcc... gcc\r\nchecking whether the C compiler works... yes\r\nchecking for C compiler default output file name... a.exe\r\nchecking for suffix of executables... .exe\r\nchecking whether we are cross compiling... no\r\nchecking for suffix of object files... o\r\nchecking whether we are using the GNU C compiler... yes\r\nchecking whether gcc accepts -g... yes\r\nchecking for gcc option to accept ISO C89... none needed\r\nchecking how to run the C preprocessor... gcc -E\r\nchecking for ranlib... ranlib\r\nchecking for gobjcopy... no\r\nchecking for objcopy... objcopy\r\nchecking for absolute path to objcopy... /usr/bin/objcopy.exe\r\nchecking for gobjdump... no\r\nchecking for objdump... objdump\r\nchecking for absolute path to objdump... /usr/bin/objdump.exe\r\nchecking for greadelf... no\r\nchecking for readelf... readelf\r\nchecking for absolute path to readelf... /usr/bin/readelf.exe\r\nchecking for gperf... gperf\r\nchecking for absolute path to gperf... /usr/bin/gperf.exe\r\nchecking for bison... bison\r\nchecking for flex... flex\r\nchecking for makeinfo... makeinfo\r\nchecking for cut... cut\r\nchecking for stat... stat\r\nchecking for readlink... readlink\r\nchecking for wget... wget\r\nchecking for tar... tar\r\nchecking for gzip... gzip\r\nchecking for bzip2... bzip2\r\nchecking for patch... /usr/bin//patch\r\nchecking for bash >= 3.1... /usr/bin//bash\r\nchecking for GNU awk... /usr/bin//gawk\r\nchecking for GNU make >= 3.80... /usr/bin//make\r\nchecking whether /usr/bin//make sets $(MAKE)... yes\r\nchecking for make 3.81... yes\r\nchecking for GNU libtool >= 1.5.26... /usr/bin//libtool\r\nchecking for GNU libtoolize >= 1.5.26... /usr/bin//libtoolize\r\nchecking for GNU automake >= 1.10... /usr/bin//automake\r\nchecking for xz... xz\r\nchecking for cvs... cvs\r\nchecking for svn... no\r\nchecking for inline... inline\r\nchecking for ANSI C header files... yes\r\nchecking for sys/types.h... yes\r\nchecking for sys/stat.h... yes\r\nchecking for stdlib.h... yes\r\nchecking for string.h... yes\r\nchecking for memory.h... yes\r\nchecking for strings.h... yes\r\nchecking for inttypes.h... no\r\nchecking for stdint.h... no\r\nchecking for unistd.h... yes\r\nchecking for stdlib.h... (cached) yes\r\nchecking for GNU libc compatible malloc... yes\r\nchecking for stdlib.h... (cached) yes\r\nchecking for GNU libc compatible realloc... yes\r\nchecking for size_t... yes\r\nchecking for working alloca.h... no\r\nchecking for alloca... yes\r\nchecking libintl.h usability... no\r\nchecking libintl.h presence... no\r\nchecking for libintl.h... no\r\nchecking ncurses/ncurses.h usability... no\r\nchecking ncurses/ncurses.h presence... no\r\nchecking for ncurses/ncurses.h... no\r\nchecking ncurses/curses.h usability... no\r\nchecking ncurses/curses.h presence... no\r\nchecking for ncurses/curses.h... no\r\nchecking ncursesw/curses.h usability... no\r\nchecking ncursesw/curses.h presence... no\r\nchecking for ncursesw/curses.h... no\r\nchecking ncurses.h usability... yes\r\nchecking ncurses.h presence... yes\r\nchecking for ncurses.h... yes\r\nchecking for library containing initscr... -lncurses\r\nconfigure: creating ./config.status\r\nconfig.status: creating Makefile\r\nmake MAKELEVEL=0\r\nmake: Entering directory `/c/Users/User/packages/esp-open-sdk/windows/mignw/esp-\r\nopen-sdk/crosstool-NG'\r\n  SED    'ct-ng'\r\n  SED    'scripts/crosstool-NG.sh'\r\n  SED    'scripts/saveSample.sh'\r\n  SED    'scripts/showTuple.sh'\r\n  GEN    'config/configure.in'\r\n  GEN    'paths.mk'\r\n  GEN    'paths.sh'\r\n  DEP    'nconf.gui.dep'\r\n  DEP    'nconf.dep'\r\n  DEP    'lxdialog/yesno.dep'\r\n  DEP    'lxdialog/util.dep'\r\n  DEP    'lxdialog/textbox.dep'\r\n  DEP    'lxdialog/menubox.dep'\r\n  DEP    'lxdialog/inputbox.dep'\r\n  DEP    'lxdialog/checklist.dep'\r\n  DEP    'mconf.dep'\r\n  DEP    'conf.dep'\r\n  BISON  'zconf.tab.c'\r\n  GPERF  'zconf.hash.c'\r\n  LEX    'lex.zconf.c'\r\n  DEP    'zconf.tab.dep'\r\n  CC     'zconf.tab.o'\r\n  CC     'conf.o'\r\n  LD     'conf'\r\n  CC     'lxdialog/checklist.o'\r\n  CC     'lxdialog/inputbox.o'\r\n  CC     'lxdialog/menubox.o'\r\n  CC     'lxdialog/textbox.o'\r\n  CC     'lxdialog/util.o'\r\n  CC     'lxdialog/yesno.o'\r\n  CC     'mconf.o'\r\n  LD     'mconf'\r\n  CC     'nconf.o'\r\nnconf.c: In function `clean_items':\r\nnconf.c:491: warning: passing arg 1 of `bzero' from incompatible pointer type\r\nnconf.c:492: warning: passing arg 1 of `bzero' from incompatible pointer type\r\nnconf.c: In function `item_make':\r\nnconf.c:535: warning: passing arg 1 of `bzero' from incompatible pointer type\r\n  CC     'nconf.gui.o'\r\n  LD     'nconf'\r\nnconf.o:nconf.c:(.text+0x3ca): undefined reference to `_strcasestr'\r\ncollect2: ld returned 1 exit status\r\nmake: *** [nconf] Error 1\r\nmake: *** [build-lib-kconfig] Error 2\r\nmake: *** [build] Error 2\r\nmake: Leaving directory `/c/Users/User/packages/esp-open-sdk/windows/mignw/esp-o\r\npen-sdk/crosstool-NG'\r\nmake[1]: *** [_ct-ng] Error 2\r\nmake[1]: Leaving directory `/c/Users/User/packages/esp-open-sdk/windows/mignw/es\r\np-open-sdk/crosstool-NG'\r\nmake: *** [crosstool-NG/ct-ng] Error 2\r\n```\r\n\r\nAny clue where to look?"}}