Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 From: swamp-dog AT ntlworld DOT com (Guy Harrison) To: Subject: Re: Problems with SDL Date: Mon, 05 Aug 2002 18:51:14 GMT Message-ID: <3d54c4ce.348762383@smtp.ntlworld.com> References: <20020805164718 DOT 52348 DOT qmail AT web10105 DOT mail DOT yahoo DOT com> In-Reply-To: <20020805164718.52348.qmail@web10105.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g75IqQW23764 On Mon, 5 Aug 2002 18:47:18 +0200 (CEST), Sylvain Petreolle wrote: >Nom AT snoop /usr/lib/w32api >$ nm -A --defined-only *.a |grep errno > >Nom AT snoop /usr/lib/w32api >$ nm -A --defined-only *.a |grep iob > >Nom AT snoop /usr/lib/w32api >$ > >What the hell ?? nm -A --undefined-only *.a |grep iob ...no. nm -A *.a |grep iob ...no. Ah!.... $ cd /usr/include/mingw $ grep "_iob" `find . -name '*.h'` ./stdio.h:typedef struct _iobuf ./stdio.h:extern FILE (*_imp___iob)[]; /* A pointer to an array of FILE */ ./stdio.h:#define _iob (*_imp___iob) /* An array of FILE */ ./stdio.h:__MINGW_IMPORT FILE _iob[]; /* An array of FILE imported from DLL. * / ./stdio.h:#define stdin (&_iob[STDIN_FILENO]) ./stdio.h:#define stdout (&_iob[STDOUT_FILENO]) ./stdio.h:#define stderr (&_iob[STDERR_FILENO]) Got to be "-lmsvcrt" but that's in... /lib/gcc-lib/i686-pc-cygwin/2.95.3-5/specs ...so hand link it (to verify) then go back and see what must have gone wrong in the (I guess) 'configure' phase. I don't recall this problem with SDL-1.2.4.tar.gz but I might go check. -- swamp-dog AT ntlworld DOT com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/