Hello.
I got a build-failure[1] when compiling 21.5.14 (checked-out from CVS,
last night) on Linux (Debian/sid), with gcc 3.3
It looks like the problem is based on RETSIGTYPE not being defined.
I am seeing this, from 'configure' :
checking return type of signal handlers... void
...which, by the look of 'configure' means that RETSIGTYPE should be
defined, somewhere, as being of type 'void'.
In addition, lib-src/config.values includes:
RETSIGTYPE void
But, when I grep the sources, after 'configure' is run, there's no
definition for RETSIGTYPE appearning anywhere that gcc would see.
Might this have something to do with the "new"(?) handling of confdefs.h?
from 'configure':
# Transform confdefs.h into a sed script conftest.vals that substitutes
# the proper values into config.h.in to produce config.h.
If it means anything, RETSIGTYPE isn't being defined in src/config.h, after
I run configure. There's no mention of it, in src/config.h.in either.
Not sure what exactly is going wrong; something is, apparently, heh.
thanks
--
sean
------------------------------------------------------------
Footnotes:
[1] the stuff of the build failure, from the end of the 'make' run:
make[3]: Entering directory `/usr/local/src/lang/lambda/xemacs/xemacs-cvs/lib-src'
gcc -c -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wundef
-Wstrict-prototypes -Wpacked -Wshadow -Wmissing-declarations -W
In file included from
/usr/local/src/lang/lambda/xemacs/xemacs-cvs/lib-src/gnuserv.h:110,
from /usr/local/src/lang/lambda/xemacs/xemacs-cvs/lib-src/gnuslib.c:36:
../src/syssignal.h:111: error: parse error before '*' token
../src/syssignal.h:111: warning: type defaults to `int' in declaration of
`RETSIGTYPE'
../src/syssignal.h:111: error: `RETSIGTYPE' declared as function returning a
function
../src/syssignal.h:111: warning: function declaration isn't a prototype
../src/syssignal.h:118: error: parse error before "qxe_reliable_signal"
../src/syssignal.h:119: error: parse error before "signal_handler_t"
../src/syssignal.h:119: warning: type defaults to `int' in declaration of
`qxe_reliable_signal'
../src/syssignal.h:119: warning: function declaration isn't a prototype
../src/syssignal.h:119: warning: data definition has no type or storage class
../src/syssignal.h:269: error: conflicting types for `sys_siglist'
/usr/include/signal.h:285: error: previous declaration of `sys_siglist'
../src/syssignal.h:288: error: parse error before "set_timeout_signal"
../src/syssignal.h:289: error: parse error before "signal_handler_t"
../src/syssignal.h:289: warning: type defaults to `int' in declaration of
`set_timeout_signal'
../src/syssignal.h:289: warning: function declaration isn't a prototype
../src/syssignal.h:289: warning: data definition has no type or storage class
/usr/local/src/lang/lambda/xemacs/xemacs-cvs/lib-src/gnuslib.c:54:7: warning:
"LONGBITS" is not defined
make[3]: *** [gnuslib.o] Error 1
make[3]: Leaving directory `/usr/local/src/lang/lambda/xemacs/xemacs-cvs/lib-src'