View Ticket
Ticket Hash: 73a25f661bb8f5dd3559d48aac3e7bcc5cf66f24
Title: mingw32 & kitcreator
Status: Open Type: Code Defect
Severity: Critical Priority:
Subsystem: Resolution:
Last Modified: 2015-02-20 17:35:50
Version Found In: 0.9.2
Description:
Compile tclkit:
KITCREATOR_PKGS="tk thread" ./kitcreator 8.5.17 --enable-threads

tcl - is ok
tclvfs - is ok
zlib - is ok
tk - is ok
thread - is ok
kitch - ERROR

================== kitsh/build.log =================================
Running: ./configure --with-tcl="/home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/win" --enable-threads
configure: WARNING: unrecognized options: --enable-threads
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /bin/install -c
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking what target to build... tclkit
checking for library containing acos... none required
checking for library containing dlsym... none required
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking how to link statically against libgcc... -static-libgcc
checking path to tcl... /home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/win/tclConfig.sh
checking host operating system... mingw32
checking for how to link whole archive... -Wl,--whole-archive -Wl,--no-whole-archive
checking for libraries required for tcl... ../../../tcl/inst/lib/dde1.3/tcldde13s.a ../../../tcl/inst/lib/libtcl85s.a ../../../tcl/inst/lib/reg1.2/tclreg12s.a 
checking for libraries required for tclvfs... ../../../tclvfs/inst/lib/vfs1.3/vfs13.a 
checking for libraries required for thread... 
checking for libraries required for tk... ../../../tk/inst/lib/libtk85s.a 
checking path to tk... ../../../tk/build/tk8.5.17/win//tkConfig.sh
checking for libraries required for zlib... 
checking for windres... windres
checking for Tcl_SetStartupScript... yes
checking for TclSetStartupScriptPath... yes
checking for Tcl_GetEncodingNameFromEnvironment... yes
checking for Tcl_SetSystemEncoding... yes
checking for ANSI C header files... (cached) yes
checking for unistd.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for readlink... no
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dladdr... no
checking for acceptable dladdr... not found
checking for how to statically link to zlib... cant
checking for how to statically link to zlib... cant
checking for library containing inflate... no
configure: WARNING: Couldn't find inflate (normally in zlib)!
checking which Tclkit Storage mechanism to use... zip
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Makefile.common
configure: WARNING: unrecognized options: --enable-threads
Running: make TCLSH_NATIVE="tclsh"
gcc -I/home/doro/src/kitcreator-0.9.2/tcl/inst/include -I/home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/generic -I/home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/win -mms-bitfields  -I../../../tk/build/tk8.5.17/win/ -I/home/doro/src/kitcreator-0.9.2/tk/build/tk8.5.17/generic -I/home/doro/src/kitcreator-0.9.2/tk/build/tk8.5.17/xlib -mwindows  -I/home/doro/src/kitcreator-0.9.2/tcl/inst/include -I/home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/generic -I/home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/win  -I../../../tk/build/tk8.5.17/win/ -I/home/doro/src/kitcreator-0.9.2/tk/build/tk8.5.17/generic -I/home/doro/src/kitcreator-0.9.2/tk/build/tk8.5.17/xlib -DPACKAGE_NAME=\"kitsh\" -DPACKAGE_TARNAME=\"kitsh\" -DPACKAGE_VERSION=\"0.0\" -DPACKAGE_STRING=\"kitsh\ 0.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DTK_LOCAL_APPINIT=TclKit_AppInit -DBUILD_tcl=1 -DBUILD_tk=1 -DKIT_INCLUDES_TK=1 -DKIT_TK_VERSION=\"8.5.17\" -DKITSH_NEED_WINMAIN=1 -DHAVE_TCL_SETSTARTUPSCRIPT=1 -DHAVE_TCLSETSTARTUPSCRIPTPATH=1 -DHAVE_TCL_GETENCODINGNAMEFROMENVIRONMENT=1 -DHAVE_TCL_SETSYSTEMENCODING=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_DLFCN_H=1 -DKIT_STORAGE_ZIP=1  -c -o kitInit.o kitInit.c
In file included from c:/MinGW/msys/1.0/home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/generic/tclPort.h:21:0,
                 from c:/MinGW/msys/1.0/home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/generic/tclInt.h:36,
                 from kitInit.c:33:
c:/MinGW/msys/1.0/home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/win/tclWinPort.h:19:0: warning: «_USE_32BIT_TIME_T» ïåðåîïðåäåë¸í [enabled by default]
 #   define _USE_32BIT_TIME_T
 ^
In file included from c:/MinGW/msys/1.0/home/doro/src/kitcreator-0.9.2/tk/build/tk8.5.17/generic/tk.h:19:0,
                 from kitInit.c:19:
c:/MinGW/msys/1.0/home/doro/src/kitcreator-0.9.2/tcl/inst/include/tcl.h:2:0: note: ýòî ðàñïîëîæåíèå ïðåäûäóùåãî îïðåäåëåíèÿ
 #define _USE_32BIT_TIME_T 1
 ^
gcc -I/home/doro/src/kitcreator-0.9.2/tcl/inst/include -I/home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/generic -I/home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/win -mms-bitfields  -I../../../tk/build/tk8.5.17/win/ -I/home/doro/src/kitcreator-0.9.2/tk/build/tk8.5.17/generic -I/home/doro/src/kitcreator-0.9.2/tk/build/tk8.5.17/xlib -mwindows  -I/home/doro/src/kitcreator-0.9.2/tcl/inst/include -I/home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/generic -I/home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/win  -I../../../tk/build/tk8.5.17/win/ -I/home/doro/src/kitcreator-0.9.2/tk/build/tk8.5.17/generic -I/home/doro/src/kitcreator-0.9.2/tk/build/tk8.5.17/xlib -DPACKAGE_NAME=\"kitsh\" -DPACKAGE_TARNAME=\"kitsh\" -DPACKAGE_VERSION=\"0.0\" -DPACKAGE_STRING=\"kitsh\ 0.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DTK_LOCAL_APPINIT=TclKit_AppInit -DBUILD_tcl=1 -DBUILD_tk=1 -DKIT_INCLUDES_TK=1 -DKIT_TK_VERSION=\"8.5.17\" -DKITSH_NEED_WINMAIN=1 -DHAVE_TCL_SETSTARTUPSCRIPT=1 -DHAVE_TCLSETSTARTUPSCRIPTPATH=1 -DHAVE_TCL_GETENCODINGNAMEFROMENVIRONMENT=1 -DHAVE_TCL_SETSYSTEMENCODING=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_DLFCN_H=1 -DKIT_STORAGE_ZIP=1  -c -o main.o main.c
gcc -I/home/doro/src/kitcreator-0.9.2/tcl/inst/include -I/home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/generic -I/home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/win -mms-bitfields  -I../../../tk/build/tk8.5.17/win/ -I/home/doro/src/kitcreator-0.9.2/tk/build/tk8.5.17/generic -I/home/doro/src/kitcreator-0.9.2/tk/build/tk8.5.17/xlib -mwindows  -I/home/doro/src/kitcreator-0.9.2/tcl/inst/include -I/home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/generic -I/home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/win  -I../../../tk/build/tk8.5.17/win/ -I/home/doro/src/kitcreator-0.9.2/tk/build/tk8.5.17/generic -I/home/doro/src/kitcreator-0.9.2/tk/build/tk8.5.17/xlib -DPACKAGE_NAME=\"kitsh\" -DPACKAGE_TARNAME=\"kitsh\" -DPACKAGE_VERSION=\"0.0\" -DPACKAGE_STRING=\"kitsh\ 0.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DTK_LOCAL_APPINIT=TclKit_AppInit -DBUILD_tcl=1 -DBUILD_tk=1 -DKIT_INCLUDES_TK=1 -DKIT_TK_VERSION=\"8.5.17\" -DKITSH_NEED_WINMAIN=1 -DHAVE_TCL_SETSTARTUPSCRIPT=1 -DHAVE_TCLSETSTARTUPSCRIPTPATH=1 -DHAVE_TCL_GETENCODINGNAMEFROMENVIRONMENT=1 -DHAVE_TCL_SETSYSTEMENCODING=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_DLFCN_H=1 -DKIT_STORAGE_ZIP=1  -c -o pwb.o pwb.c
In file included from c:/MinGW/msys/1.0/home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/generic/tclPort.h:21:0,
                 from c:/MinGW/msys/1.0/home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/generic/tclInt.h:36,
                 from pwb.c:10:
c:/MinGW/msys/1.0/home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/win/tclWinPort.h:19:0: warning: «_USE_32BIT_TIME_T» ïåðåîïðåäåë¸í [enabled by default]
 #   define _USE_32BIT_TIME_T
 ^
In file included from pwb.c:9:0:
c:/MinGW/msys/1.0/home/doro/src/kitcreator-0.9.2/tcl/inst/include/tcl.h:2:0: note: ýòî ðàñïîëîæåíèå ïðåäûäóùåãî îïðåäåëåíèÿ
 #define _USE_32BIT_TIME_T 1
 ^
gcc -I/home/doro/src/kitcreator-0.9.2/tcl/inst/include -I/home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/generic -I/home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/win -mms-bitfields  -I../../../tk/build/tk8.5.17/win/ -I/home/doro/src/kitcreator-0.9.2/tk/build/tk8.5.17/generic -I/home/doro/src/kitcreator-0.9.2/tk/build/tk8.5.17/xlib -mwindows  -I/home/doro/src/kitcreator-0.9.2/tcl/inst/include -I/home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/generic -I/home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/win  -I../../../tk/build/tk8.5.17/win/ -I/home/doro/src/kitcreator-0.9.2/tk/build/tk8.5.17/generic -I/home/doro/src/kitcreator-0.9.2/tk/build/tk8.5.17/xlib -DPACKAGE_NAME=\"kitsh\" -DPACKAGE_TARNAME=\"kitsh\" -DPACKAGE_VERSION=\"0.0\" -DPACKAGE_STRING=\"kitsh\ 0.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DTK_LOCAL_APPINIT=TclKit_AppInit -DBUILD_tcl=1 -DBUILD_tk=1 -DKIT_INCLUDES_TK=1 -DKIT_TK_VERSION=\"8.5.17\" -DKITSH_NEED_WINMAIN=1 -DHAVE_TCL_SETSTARTUPSCRIPT=1 -DHAVE_TCLSETSTARTUPSCRIPTPATH=1 -DHAVE_TCL_GETENCODINGNAMEFROMENVIRONMENT=1 -DHAVE_TCL_SETSYSTEMENCODING=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_DLFCN_H=1 -DKIT_STORAGE_ZIP=1  -c -o rechan.o rechan.c
gcc -I/home/doro/src/kitcreator-0.9.2/tcl/inst/include -I/home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/generic -I/home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/win -mms-bitfields  -I../../../tk/build/tk8.5.17/win/ -I/home/doro/src/kitcreator-0.9.2/tk/build/tk8.5.17/generic -I/home/doro/src/kitcreator-0.9.2/tk/build/tk8.5.17/xlib -mwindows  -I/home/doro/src/kitcreator-0.9.2/tcl/inst/include -I/home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/generic -I/home/doro/src/kitcreator-0.9.2/tcl/build/tcl8.5.17/win  -I../../../tk/build/tk8.5.17/win/ -I/home/doro/src/kitcreator-0.9.2/tk/build/tk8.5.17/generic -I/home/doro/src/kitcreator-0.9.2/tk/build/tk8.5.17/xlib -DPACKAGE_NAME=\"kitsh\" -DPACKAGE_TARNAME=\"kitsh\" -DPACKAGE_VERSION=\"0.0\" -DPACKAGE_STRING=\"kitsh\ 0.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DTK_LOCAL_APPINIT=TclKit_AppInit -DBUILD_tcl=1 -DBUILD_tk=1 -DKIT_INCLUDES_TK=1 -DKIT_TK_VERSION=\"8.5.17\" -DKITSH_NEED_WINMAIN=1 -DHAVE_TCL_SETSTARTUPSCRIPT=1 -DHAVE_TCLSETSTARTUPSCRIPTPATH=1 -DHAVE_TCL_GETENCODINGNAMEFROMENVIRONMENT=1 -DHAVE_TCL_SETSYSTEMENCODING=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_DLFCN_H=1 -DKIT_STORAGE_ZIP=1  -c -o zlib.o zlib.c
zlib.c:9:18: fatal error: zlib.h: No such file or directory
 #include "zlib.h"
                  ^
compilation terminated.
make: *** [zlib.o] Error 1