bug-bash
[Top][All Lists]
Advanced

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

Build Problem


From: Rupinder Singh
Subject: Build Problem
Date: Tue, 3 Feb 2009 01:23:45 +0530

Hello,

I'm trying to build Bash 3.1 on Wndows XP system using MSYS. I'm getting a
build failure at make as follows:

***

          ***********************************************************
          *                                                         *
          * GNU bash, version 3.1.0(1)-release (i686-pc-mingw32)
          *                                                         *
          ***********************************************************

rm -f shell.o
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./include -I./lib
-I./lib/intl -I/c/bash-3.1/lib/intl  -g -O2 -c shell.c
shell.c:40:17: pwd.h: No such file or directory
In file included from shell.h:42,
                 from shell.c:50:
externs.h:172: error: conflicting types for 'getcwd'
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/io.h:175: error:
previous declaration of 'getcwd' was here
externs.h:172: error: conflicting types for 'getcwd'
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/io.h:175: error:
previous declaration of 'getcwd' was here
shell.c: In function `open_shell_script':
shell.c:1436: error: `F_SETFD' undeclared (first use in this function)
shell.c:1436: error: (Each undeclared identifier is reported only once
shell.c:1436: error: for each function it appears in.)
shell.c: In function `get_current_user_info':
shell.c:1590: error: dereferencing pointer to incomplete type
shell.c:1590: error: dereferencing pointer to incomplete type
shell.c:1591: error: dereferencing pointer to incomplete type
shell.c:1591: error: dereferencing pointer to incomplete type
shell.c:1592: error: dereferencing pointer to incomplete type
shell.c:1592: error: dereferencing pointer to incomplete type
shell.c:1594: error: dereferencing pointer to incomplete type
shell.c:1594: error: dereferencing pointer to incomplete type
make: *** [shell.o] Error 1



Kindly Help
Rupinder


reply via email to

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