bug-bash
[Top][All Lists]
Advanced

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

fails to build on hppa1.1-hp-hpux10.20


From: Matt Kraai
Subject: fails to build on hppa1.1-hp-hpux10.20
Date: Tue, 23 Mar 2004 14:28:11 -0800
User-agent: Mutt/1.5.5.1+cvs20040105i

Howdy,

bash 2.05b fails to build on my hppa1.1-hp-hpux10.20 system due to
two errors.

The first error is

        cc -Ae -c  -DHAVE_CONFIG_H -DSHELL   -I. -I..  -I.. -I../include 
-I../lib -I. -DHPUX   -g printf.c || ( rm -f printf.c ; exit 1 )
 cc: "printf.def", line 824: error 1718: Types are not assignment-compatible.
 *** Error exit code 1

floatmax_t is defined to be long double and strtofltmax is defined
to be strtold, but strtold returns a long_double structure, which
cannot be assigned to a long double.  I think that configure
should check that strtold returns a long double.

The second error is

        cc -Ae  -I. -I../.. -I../.. -I../../include -I../../lib -DHAVE_CONFIG_H 
-DSHELL -DHPUX  -g -DRCHECK -Dbotch=programming_error   -c malloc.c
 cc: "malloc.c", line 239: warning 602: Integer constant exceeds its storage.
 cc: "malloc.c", line 904: error 1000: Unexpected symbol: "}".
 cc: "malloc.c", line 908: error 1000: Unexpected symbol: "void".
 cc: "malloc.c", line 909: error 1000: Unexpected symbol: "register".
 cc: "malloc.c", line 1023: error 1000: Unexpected symbol: "static".
 cc: "malloc.c", line 1025: error 1000: Unexpected symbol: "unsigned".
 cc: "malloc.c", line 1026: error 1000: Unexpected symbol: "size_t".
 cc: "malloc.c", line 1071: error 1000: Unexpected symbol: "static".
 cc: "malloc.c", line 1073: error 1000: Unexpected symbol: "size_t".
 cc: "malloc.c", line 1074: error 1000: Unexpected symbol: "const".
 cc: "malloc.c", line 1087: error 1000: Unexpected symbol: "static".
 cc: "malloc.c", line 1089: error 1000: Unexpected symbol: "void".
 cc: "malloc.c", line 1090: error 1000: Unexpected symbol: "const".
 cc: "malloc.c", line 1114: error 1000: Unexpected symbol: "void".
 cc: "malloc.c", line 1116: error 1000: Unexpected symbol: "size_t".
 cc: "malloc.c", line 1117: error 1000: Unexpected symbol: "const".
 cc: "malloc.c", line 1123: error 1000: Unexpected symbol: "void".
 cc: "malloc.c", line 1125: error 1000: Unexpected symbol: "void".
 cc: "malloc.c", line 1126: error 1000: Unexpected symbol: "size_t".
 cc: "malloc.c", line 1133: error 1000: Unexpected symbol: "void".
 cc: "malloc.c", line 1135: error 1000: Unexpected symbol: "void".
 cc: "malloc.c", line 1136: error 1000: Unexpected symbol: "const".
 cc: "malloc.c", line 1142: error 1000: Unexpected symbol: "void".
 cc: "malloc.c", line 1144: error 1000: Unexpected symbol: "unsigned".
 cc: "malloc.c", line 1145: error 1000: Unexpected symbol: "size_t".
 cc: "malloc.c", line 1153: error 1000: Unexpected symbol: "void".
 cc: "malloc.c", line 1155: error 1000: Unexpected symbol: "size_t".
 cc: "malloc.c", line 1156: error 1000: Unexpected symbol: "const".
 cc: "malloc.c", line 1162: error 1000: Unexpected symbol: "void".
 cc: "malloc.c", line 1164: error 1000: Unexpected symbol: "void".
 cc: "malloc.c", line 1165: error 1000: Unexpected symbol: "const".
 cc: "malloc.c", line 1187: error 1000: Unexpected symbol: "void".
 cc: error 2017: Cannot recover from earlier errors, terminating.
 *** Error exit code 1

There are no statements after the free_return label in
internal_free because none of the MALLOC_* preprocessor macros are
defined.  Adding a return statement fixes this error.

-- 
Matt Kraai            kraai@ftbfs.org            http://ftbfs.org/




reply via email to

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