[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bash cannot compile on HPUX 11.11
From: |
Chet Ramey |
Subject: |
Re: Bash cannot compile on HPUX 11.11 |
Date: |
Tue, 11 Nov 2003 13:40:35 -0500 |
> Machine Type: hppa2.0w-hp-hpux11.11
>
> Bash Version: 2.05b
> Patch Level: 0
> Release Status: release
>
>
> Description:
>
> Getting the following error during "make":
>
> gcc -mpa-risc-2-0 -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"hppa2.0w"'
> -DCONF_OSTYPE='"hpux11.11"' -DCONF_MACHTYPE='"hppa2.0w-hp-hpux11.11"'
> -DCONF_VENDOR='"hp"' -DSHELL -DHAVE_CONFIG_H -DHPUX -I. -I. -I./include
> -I./lib -g -O2 -c y.tab.c
> parse.y: In function `set_line_mbstate':
> parse.y:4550: error: `mbrlen' undeclared (first use in this function)
> parse.y:4550: error: (Each undeclared identifier is reported only once
> parse.y:4550: error: for each function it appears in.)
HPUX doesn't have enough support for multibyte characters -- it has some,
but not all. You can add `#undef HANDLE_MULTIBYTE' at the end of
config-bot.h to solve this problem.
The check for necessary multibyte character support will be more extensive
in the next release.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Live...Laugh...Love
Chet Ramey, ITS, CWRU chet@po.cwru.edu http://tiswww.tis.cwru.edu/~chet/