[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compiler error
From: |
John Darrington |
Subject: |
Re: compiler error |
Date: |
Fri, 26 Apr 2013 18:38:50 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Oh the headers.
I'll add them into the master.
J'
On Fri, Apr 26, 2013 at 05:45:59PM +0200, Harry Thijssen wrote:
This works. Will they be included in the tarball or is it necessary to have
a patch for it in my build scripts for MSWinsdows ?
Have fun
2013/4/22 John Darrington <address@hidden>
> 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-----
>
>
--
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