This is the mail archive of the
mailing list for the Cygwin project.
Re: octave configure on cygwin snapshot
-----BEGIN PGP SIGNED MESSAGE-----
According to Marco Atzeri on 8/29/2007 1:02 AM:
> gcc -o conftest.exe -g -O2 conftest.c -ldl -lwsock32
> -lz -lm -lwsock32
Why are you linking against -lwsock32? That generally doesn't work (you
shouldn't mix Windows sockets and cygwin sockets, and cygwin sockets are
more likely to be portable to applications coded for Linux). This may be
a bug in the upstream configure.
> conftest.c: In function `main':
> conftest.c:216: error: storage size of 'dummy' isn't
Why not show us the snippet of conftest.c that is triggering the error
> Is it related to the change of definition for
> gettimeofday ?
It could be. In which case, are you sure it is an error, or is it merely
configure's way of determining the signature by first trying something
that fails to compile when given the correct POSIX signature but succeeds
when given the older 1.5.24 definition? After all, sometimes compilation
failures during configure are features, not bugs, provided that the right
definitions are then generated for your program.
Don't work too hard, make some time for fun as well!
Eric Blake email@example.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html