bug-bash
[Top][All Lists]
Advanced

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

bash-3.0 build on OSF1/4.0f fails


From: Emmet Ford
Subject: bash-3.0 build on OSF1/4.0f fails
Date: Wed, 04 May 2005 15:50:17 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040618

Attempts to build bash-3.0 on OSF1/4.0f yield the following compiler errors:

rm -f y.tab.o
cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"alphaev56"' -DCONF_OSTYPE='"osf4.0f"' -DCONF_MACHTYPE='"alphaev56-dec-osf4.0f"' -DCONF_VENDOR='"dec"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/dbms/users/eford/src/bash-3.0/lib/intl -g -c y.tab.c cc: Error: /Users/chet/src/bash/src/parse.y, line 1117: In the definition of the function "init_yy_io", the promoted type of name is incompatible with the type of the corresponding parameter in a prior declaration. (promotmatch)
    const char *name;
----------------^
cc: Error: /Users/chet/src/bash/src/parse.y, line 1315: In the definition of the function "with_input_from_string", the promoted type of name is incompatible with the type of the corresponding parameter in a prior declaration. (promotmatch)
    const char *name;
----------------^
cc: Error: /Users/chet/src/bash/src/parse.y, line 1357: In the definition of the function "with_input_from_stream", the promoted type of name is incompatible with the type of the corresponding parameter in a prior declaration. (promotmatch)
    const char *name;
----------------^
cc: Error: /Users/chet/src/bash/src/parse.y, line 4281: In the definition of the function "yyerror", the promoted type of msg is incompatible with the type of the corresponding parameter in a prior declaration. (promotmatch)
    const char *msg;
----------------^
cc: Error: /Users/chet/src/bash/src/parse.y, line 4539: In the definition of the function "parse_string_to_word_list", the promoted type of whom is incompatible with the type of the corresponding parameter in a prior declaration. (promotmatch)
    const char *whom;
----------------^
cc: Warning: /Users/chet/src/bash/src/parse.y, line 4715: In this statement, the referenced type of the pointer value "xmalloc(...)" is "signed char", which is not compatible with "struct _sh_parser_state_t". (ptrmismatch)
   ps = xmalloc (sizeof (sh_parser_state_t));
----^
make: *** [y.tab.o] Error 1

Installing bison-2.0 did not affect the outcome. Here are my configure switches:

./configure --enable-alias \
--enable-array-variables \
--enable-bang-history \
--enable-brace-expansion \
--enable-debugger \
--enable-directory-stack \
--enable-dparen-arithmetic \
--enable-extended-glob \
--enable-help-builtin \
--enable-history \
--enable-job-control \
--enable-multibyte \
--enable-process-substitution \
--enable-progcomp \
--enable-prompt-string-decoding \
--enable-readline \
--enable-select \
--without-gnu-malloc

That's on an AlphaServer 4100 w/4 400MHz cpus, Tru64 4.0F.

2.05b builds just fine (which means that my personal problem is solved) and it passes all tests (make tests) when ./configure is run without benefit of --without-gnu-malloc.

If there is any other information you would like me to furnish, I will be happy to do so.

--
Emmet Ford
Lancer Insurance Company
+1 516.431.4441 Ext. 3233
address@hidden


===========================================================================

The information contained in this communication may be confidential, is
intended only for the use of the recipient(s) named above, and may be
legally privileged.  You are hereby notified that any dissemination,
distribution or copying of this communication and any of its contents or
attachments is strictly prohibited.  If you have received this
communication in error, please notify us immediately by replying to this
message and please delete this message from all computers and servers.

reply via email to

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