[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compiler error
From: |
John Darrington |
Subject: |
Re: compiler error |
Date: |
Mon, 22 Apr 2013 18:57:28 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
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.
signature.asc
Description: Digital signature
- compiler error, Harry Thijssen, 2013/04/22
- Re: compiler error,
John Darrington <=