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
