Charles G. Waldman writes:
Building XEmacs from hg sources on a brand-new Ubuntu box, fails
with
termcap.c:236:1: error: unknown type name 'speed_t'
That's odd. On a modern Linux system I would expect the build to
include terminfo.c, not termcap.c. I think you should check to make
sure you have relevant TTY support (including dev packages) such as
n?curses.
The problem is solved by the following trivial patch:
diff -r 7b5f88e5b456 src/termcap.c
--- a/src/termcap.c Mon Oct 15 20:47:00 2012 +0200
+++ b/src/termcap.c Thu Nov 01 10:49:51 2012 -0500
@@ -26,6 +26,7 @@
#include "device.h"
#include "device-impl.h" /* For DEVICE_BAUD_RATE */
#include "sysfile.h"
+#include "systty.h"
#include "process.h"
#else /* not emacs */
Makes sense except that I suspect that systems that need termcap
probably pull in the relevant typedefs in some other way.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta