[Top][All Lists]

[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)


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 
for the Mingw build.

On Mon, Apr 22, 2013 at 04:22:14PM +0200, Harry Thijssen wrote:
     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
     make[1]: *** [all-recursive] Error 1
     make[1]: Leaving directory
     make: *** [all] Error 2
     Have fun

     pspp-dev mailing list

PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See or any PGP keyserver for public key.

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]