[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bash-3.0.16 fails to compile on HP-UX 11.11
From: |
Ackersviller, Paul (TOR) |
Subject: |
bash-3.0.16 fails to compile on HP-UX 11.11 |
Date: |
Wed, 22 Feb 2006 15:46:42 -0600 |
Configuration Information [Automatically generated, do not change]:
Machine: hppa2.0w
OS: hpux11.11
Compiler: cc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='hppa2.0w'
-DCONF_OSTYPE='hpux11.11' -DCONF_MACHTYPE='hppa2.0w-hp-hpux11.11'
-DCONF_VENDOR='hp' -DLOCALEDIR='/usr/local/gnu/share/locale' -DPACKAGE='bash'
-DSHELL -DHAVE_CONFIG_H -DHPUX -I. -I. -I./include -I./lib
-I/usr/local/include uname output: HP-UX esi0q80d B.11.11 U 9000/800 1499339190
unlimited-user license Machine Type: hppa2.0w-hp-hpux11.11
Bash Version: 3.0
Patch Level: 16? (maually twiddled)
Release Status: release
Description:
The compilation error shown below:
making lib/sh/libsh.a in ./lib/sh
gnumake[1]: Entering directory `/usr/local/.src/bash-3.0.16/lib/sh'
cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl
-I/usr/local/.src/bash-3.0.16/lib/intl -DHAVE_CONFIG_H -DSHELL -DHPUX -g
-I/usr/local/include strftime.c
cc: "strftime.c", line 101: error 1584: Inconsistent type declaration:
"timezone".
cc: "strftime.c", line 185: warning 527: Integral value implicitly converted to
pointer in assignment.
gnumake[1]: *** [strftime.o] Error 1
Repeat-By:
Simply configure and make bash-3.0.16 on HP-UX 11.11; this error got introduced
sometime since 3.0 -- it builds fine for me.
Fix:
Here's the diff of lib/sh/strftime.c between 3.0.16 and 3.0. Was this change
done for some version of HP-UX other than 11.11?
*** bash-3.0.16/lib/sh/strftime.c Wed Mar 3 22:13:23 2004
--- bash-3.0/lib/sh/strftime.c Sun Aug 8 22:21:26 2004
***************
*** 97,99 ****
extern int daylight;
! #if defined(SOLARIS) || defined(mips) || defined (M_UNIX)
extern long int timezone, altzone;
--- 97,99 ----
extern int daylight;
! #if defined(SOLARIS) || defined(mips) || defined (M_UNIX) || defined (HPUX)
extern long int timezone, altzone;
***************
*** 462,463 ****
--- 462,464 ----
*/
+ #ifndef HPUX
case 'z': /* time zone offset east of GMT e.g. -0600 */
***************
*** 496,497 ****
--- 497,499 ----
break;
+ #endif /* !HPUX */
******* Confidentiality Notice *******
ESI Canada -- Optimizing the value of drug and dental benefits
This email, its electronic document attachments, and the contents of its
website linkages may contain confidential health information. This information
is intended solely for use by the individual or entity to whom it is addressed.
If you have received this information in error, please notify the sender
immediately and arrange for the prompt destruction of the material and any
accompanying attachments.
******* Avis de confidentialité *******
ESI Canada -- Optimiser la valeur des régimes d'assurance médicaments et
dentaires
Ce courriel ainsi que tout document y étant joint de même que le contenu des
liens vers des sites Web peuvent réunir des renseignements confidentiels sur
la santé. Cette information s'adresse uniquement à l'usager ou à
l'organisation auxquels elle est destinée. Si vous avez reçu ce message par
erreur, veuillez en aviser l'expéditeur immédiatement et procéder à la
suppression du document et des fichiers joints sans tarder.
- bash-3.0.16 fails to compile on HP-UX 11.11,
Ackersviller, Paul (TOR) <=