|
From: | Harry Thijssen |
Subject: | Re: compiler error |
Date: | Fri, 26 Apr 2013 17:45:59 +0200 |
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.
_______________________________________________
On Mon, Apr 22, 2013 at 04:22:14PM +0200, Harry Thijssen wrote:
Hi
I get the next error when I try to cross compile PSPP for MSWindows:
/ui/terminal/terminal-reader.c: In function 'interruptible_getc':
src/ui/terminal/terminal-reader.c:242:7: error: unknown type name 'fd_set'
src/ui/terminal/terminal-reader.c:245:7: warning: implicit declaration of
function 'FD_ZERO' [-Wimplicit-function-declaration]
src/ui/terminal/terminal-reader.c:248:7: warning: implicit declaration of
function 'FD_SET' [-Wimplicit-function-declaration]
src/ui/terminal/terminal-reader.c:252:7: warning: implicit declaration of
function 'select' [-Wimplicit-function-declaration]
src/ui/terminal/terminal-reader.c:261:4: warning: implicit declaration of
function 'FD_ISSET' [-Wimplicit-function-declaration]
src/ui/terminal/terminal-reader.c: In function 'readline_init':
src/ui/terminal/terminal-reader.c:285:3: warning: implicit declaration of
function 'pipe2' [-Wimplicit-function-declaration]
make[2]: *** [src/ui/terminal/src_ui_terminal_libui_la-terminal-reader.lo]
Error 1
make[2]: Leaving directory
`/home/harry/pspp-master-20130422/pspp-0.7.10-g858cab'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/harry/pspp-master-20130422/pspp-0.7.10-g858cab'
make: *** [all] Error 2
Have fun
pspp-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/pspp-dev
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://keys.gnupg.net or any PGP keyserver for public key.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAlF1a/gACgkQimdxnC3oJ7MG6gCdGRZAqT7JCnV8w8yDKIC2jgQC
vAoAn3JwL3+Og+zzkK8jer3dvT+HqeAs
=uhFU
-----END PGP SIGNATURE-----
[Prev in Thread] | Current Thread | [Next in Thread] |