2013/4/22 John Darrington <j...@darrington.wattle.id.au> > Hmm. > > Try adding several or all of the following headers: > > #include <sys/select.h> > #include <sys/time.h> > #include <sys/types.h> > #include <unistd.h> > > If that doesn't work, then we might have to remove the recently added > functionality > for the Mingw build. > > Sys/select.h can't be found on my computer and with the other 3 I get:
src/ui/terminal/.libs/libui.a(src_ui_terminal_libui_la-terminal-reader.o): In function `interruptible_getc': /home/harry/pspp-master-20130422/pspp-0.7.10-g858cab/src/ui/terminal/terminal-reader.c:244: undefined reference to `__imp_select' /home/harry/pspp-master-20130422/pspp-0.7.10-g858cab/src/ui/terminal/terminal-reader.c:269: undefined reference to `__WSAFDIsSet' src/ui/terminal/.libs/libui.a(src_ui_terminal_libui_la-terminal-reader.o): In function `readline_init': /home/harry/pspp-master-20130422/pspp-0.7.10-g858cab/src/ui/terminal/terminal-reader.c:293: undefined reference to `pipe2' src/ui/terminal/.libs/libui.a(src_ui_terminal_libui_la-terminal-opts.o): In function `term_is_utf8_xterm': /home/harry/pspp-master-20130422/pspp-0.7.10-g858cab/src/ui/terminal/terminal-opts.c:314: undefined reference to `strcasestr' /home/harry/pspp-master-20130422/pspp-0.7.10-g858cab/src/ui/terminal/terminal-opts.c:314: undefined reference to `strcasestr' collect2: error: ld returned 1 exit status make[2]: *** [src/ui/terminal/pspp.exe] Error 1 Have fun
_______________________________________________ pspp-dev mailing list pspp-dev@gnu.org https://lists.gnu.org/mailman/listinfo/pspp-dev