Dear Developers, as I couldn't find a bug report form at http://www.cvshome.org/ (or hints how to report bugs) I am using this mailing list... Currently I try to compile the latest CVS sources on CRAY T3E: alpha-cray-unicosmk2.0.4.X using the CRAY CC compiler. I face some problems to compile the file sighandle.c. Find attached the compile log. I would be glad if you could assist... Many thanks in advance Markus -- Dipl.-Geogr. Markus Neteler * University of Hannover Institute of Physical Geography and Landscape Ecology Schneiderberg 50 * D-30167 Hannover * Germany Tel: ++49-(0)511-762-4494 Fax: -3984
CC-20 cc: ERROR File = sighandle.c, Line = 68 The identifier "RETSIGTYPE" is undefined. RETSIGTYPE (*handler)(); ^ CC-79 cc: ERROR File = sighandle.c, Line = 87 A type specifier is expected. static RETSIGTYPE (**SIG_defaults) PROTO ((int)); ^ CC-90 cc: ERROR File = sighandle.c, Line = 87 Function returning function is not allowed. static RETSIGTYPE (**SIG_defaults) PROTO ((int)); ^ CC-20 cc: ERROR File = sighandle.c, Line = 110 The identifier "SIG_defaults" is undefined. if (SIG_defaults && SIG_handlers) /* already allocated */ ^ CC-29 cc: ERROR File = sighandle.c, Line = 132 An expression is expected at this point. SIG_defaults = (RETSIGTYPE (**) PROTO ((int)) ) ^ CC-29 cc: ERROR File = sighandle.c, Line = 132 An expression is expected at this point. SIG_defaults = (RETSIGTYPE (**) PROTO ((int)) ) ^ CC-65 cc: ERROR File = sighandle.c, Line = 133 A semicolon is expected at this point. calloc(i, sizeof(RETSIGTYPE (**) PROTO ((int)) )); ^ CC-79 cc: ERROR File = sighandle.c, Line = 147 A type specifier is expected. static RETSIGTYPE SIG_handle PROTO ((int)); ^ CC-79 cc: ERROR File = sighandle.c, Line = 149 A type specifier is expected. static RETSIGTYPE SIG_handle(sig) ^ CC-169 cc: ERROR File = sighandle.c, Line = 175 Expected a declaration. RETSIGTYPE (*fn)(); ^ CC-42 cc: ERROR File = sighandle.c, Line = 209 The types of operands "<error-type> (*)()" and "int" are incompatible. if (this->handler == fn) break; ^ CC-20 cc: ERROR File = sighandle.c, Line = 235 The identifier "SIG_defaults" is undefined. if ((SIG_defaults[sig] = signal(sig, SIG_handle)) == SIG_ERR) ^ CC-513 cc: ERROR File = sighandle.c, Line = 252 A value of type "int" cannot be assigned to an entity of type "<error-type> (*)()". this->handler = fn; ^ CC-169 cc: ERROR File = sighandle.c, Line = 278 Expected a declaration. RETSIGTYPE (*fn)(); ^ CC-42 cc: ERROR File = sighandle.c, Line = 310 The types of operands "<error-type> (*)()" and "int" are incompatible. while ((this != (struct SIG_hlist *) NULL) && (this->handler != fn)) ^ CC-20 cc: ERROR File = sighandle.c, Line = 340 The identifier "SIG_defaults" is undefined. if (signal(sig, SIG_defaults[sig]) == SIG_ERR) ^ CC-114 cc: ERROR File = sighandle.c, Line = 87 The function "RETSIGTYPE" was referenced but not defined. static RETSIGTYPE (**SIG_defaults) PROTO ((int)); ^ 17 errors detected in the compilation of "sighandle.c". Make: "cc -I.. -I. -I../src \ -DHAVE_CONFIG_H -g -c sighandle.c": Error code 1 cmd-2436 make: Stop. Make: "for subdir in lib zlib diff src man doc contrib tools windows-NT os2 emx vms; do \ echo "making all in $subdir"; \ ( cd $subdir && make AR='ar' CC='cc' CFLAGS='-g' LDFLAGS='' LIBPROGS='' LIBS='' MAKE='make' MAKEINFO='makeinfo' RANLIB='ranlib' TEXI2DVI='texi2dvi' YACC='yacc' bindir='/usr/local/bin' infodir='/usr/local/info' libdir='/usr/local/lib' mandir='/usr/local/man' prefix='/usr/local' exec_prefix='/usr/local' all ) || exit 1; \ done": Error code 1 cmd-2436 make: Stop.