I am new to the QNX world and am trying to compile bash from the source code. After configuring with:
…/configure --build=gnu --host=pentiumpro --target=qnx (which configures fine), I run make which returns:
make
/bin/sh ./support/mkversion.sh -b -s release -d 2.03 -p 0 -o newversion.h
&& mv newversion.h version.h
-
*
- Making Bash-2.03.0-release for a i686 running none
-
*
rm -f shell.o
gcc -DPROGRAM=’“bash”’ -DCONF_HOSTTYPE=’“i686”’ -DCONF_OSTYPE=’“none”’ -DCONF_MACHTYPE=’“i686-inte
l-none”’ -DCONF_VENDOR=’“intel”’ -DSHELL -DHAVE_CONFIG_H -I. -I. -I./lib -I/usr/local/include -g
-O2 -c shell.c
In file included from shell.c:74:
lib/glob/fnmatch.h:46: conflicting types for fnmatch' /usr/include/unistd.h:409: previous declaration of
fnmatch’
make: *** [shell.o] Error 1
Does anybody have any ideas? Is anyone else running bash?
Tks
Chris