bug-bash
[Top][All Lists]
Advanced

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

siglist.c fails to compile for bash-5.1.8 on HP-UX


From: Osipov, Michael (LDA IT PLM)
Subject: siglist.c fails to compile for bash-5.1.8 on HP-UX
Date: Tue, 17 Aug 2021 14:03:51 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0

Folks,

my compiler (aCC) tells me:
/opt/aCC/bin/aCC -Ae  -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"ia64"' -DCONF_OSTYPE='"hpux11.31"' 
-DCONF_MACHTYPE='"ia64-hp-hpux11.31"' -DCONF_VENDOR='"hp"' -DLOCALEDIR='"/opt/ports/share/locale"' 
-DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHPUX -DTGETENT_BROKEN -DTGETFLAG_BROKEN   -I.  -I. -I./include -I./lib   -I/opt/ports/include 
-g   -c siglist.c
"general.h", line 221: error #2020: identifier "WORD_DESC" is undefined
  typedef int sh_wdesc_func_t PARAMS((WORD_DESC *));
                                      ^

"general.h", line 222: error #2020: identifier "WORD_LIST" is undefined
  typedef int sh_wlist_func_t PARAMS((WORD_LIST *));
                                      ^

"general.h", line 240: error #2020: identifier "WORD_DESC" is undefined
  typedef int sh_wassign_func_t PARAMS((WORD_DESC *, int));
                                        ^

"general.h", line 245: error #2020: identifier "WORD_LIST" is undefined
  typedef int sh_builtin_func_t PARAMS((WORD_LIST *)); /* sh_wlist_func_t */
                                        ^

"general.h", line 323: error #2020: identifier "WORD_DESC" is undefined
  extern int check_identifier PARAMS((WORD_DESC *, int));
                                      ^

5 errors detected in the compilation of "siglist.c".
gmake: *** [Makefile:101: siglist.o] Error 2

Weird. I have added #include "command.h" right after chartypes.h in general.h

Known issue? Platform-specific?

Michael



reply via email to

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