bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash 4.1 doesn't build on MinGW


From: Bart Van Assche
Subject: bash 4.1 doesn't build on MinGW
Date: Fri, 29 Jan 2010 11:23:11 +0100

Build environment: MinGW32 5.1.6 + MSYS
$ uname -a
MINGW32_NT-5.1 PS3002 1.0.11(0.46/3/2) 2009-07-11 17:46 i686 Msys
$ gcc --version
gcc.exe (GCC) 3.4.5 (mingw-vista special r3)

How to reproduce:

tar zxf downloads/bash-4.1.tar.gz
cd bash-4.1
patch -p0 < ../downloads/bash41-001
patch -p0 < ../downloads/bash41-002
configure && make
[...]
gcc  -DPROGRAM='"bash.exe"' -DCONF_HOSTTYPE='"i686"' -DCONF_OSTYPE='"mingw32"' -
DCONF_MACHTYPE='"i686-pc-mingw32"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local
/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H   -I.  -I. -I./includ
e -I./lib   -g -O2 -c shell.c
shell.c:41:17: pwd.h: No such file or directory
In file included from shell.h:30,
                 from shell.c:51:
error.h:33: warning: `libintl_printf' is an unrecognized format function type
error.h:36: warning: `libintl_printf' is an unrecognized format function type
error.h:39: warning: `libintl_printf' is an unrecognized format function type
error.h:42: warning: `libintl_printf' is an unrecognized format function type
error.h:45: warning: `libintl_printf' is an unrecognized format function type
error.h:48: warning: `libintl_printf' is an unrecognized format function type
error.h:51: warning: `libintl_printf' is an unrecognized format function type
error.h:54: warning: `libintl_printf' is an unrecognized format function type
error.h:55: warning: `libintl_printf' is an unrecognized format function type
In file included from shell.h:42,
                 from shell.c:51:
externs.h:182: warning: `libintl_printf' is an unrecognized format function type

In file included from shell.c:56:
builtins/common.h:61: warning: `libintl_printf' is an unrecognized
format function type
builtins/common.h:62: warning: `libintl_printf' is an unrecognized
format function type
shell.c: In function `open_shell_script':
shell.c:1480: error: `F_SETFD' undeclared (first use in this function)
shell.c:1480: error: (Each undeclared identifier is reported only once
shell.c:1480: error: for each function it appears in.)
shell.c: In function `get_current_user_info':
shell.c:1643: error: dereferencing pointer to incomplete type
shell.c:1643: error: dereferencing pointer to incomplete type
shell.c:1644: error: dereferencing pointer to incomplete type
shell.c:1644: error: dereferencing pointer to incomplete type
shell.c:1645: error: dereferencing pointer to incomplete type
shell.c:1645: error: dereferencing pointer to incomplete type
shell.c:1647: error: dereferencing pointer to incomplete type
shell.c:1647: error: dereferencing pointer to incomplete type
make: *** [shell.o] Error 1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]