octave configure on cygwin snapshot

Eric Blake ebb9@byu.net
Wed Aug 29 12:30:00 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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
> known

Why not show us the snippet of conftest.c that is triggering the error
message?

> 
> 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             ebb9@byu.net
-----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

iD8DBQFG1WVH84KuGfSFAYARAlKVAJ9JXxyq9T2cOjuHrNInOhmZx289fgCgpiFB
WD1lcNIdENKudFQ8Ge/LsjU=
=eOnR
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list