X-Spam-Check-By: sourceware.org Message-ID: <46D56548.10608@byu.net> Date: Wed, 29 Aug 2007 06:23:36 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: octave configure on cygwin snapshot References: <178843 DOT 78743 DOT qm AT web25013 DOT mail DOT ukl DOT yahoo DOT com> In-Reply-To: <178843.78743.qm@web25013.mail.ukl.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com -----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 AT byu DOT 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/