X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <49AD6085.2070201@cwilson.fastmail.fm> Date: Tue, 03 Mar 2009 11:53:25 -0500 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: 1.5.25-15: First steps with ncurses programming: can NOT build Hello_world app References: <557426 DOT 1341 DOT qm AT web33206 DOT mail DOT mud DOT yahoo DOT com> <49AD5A87 DOT 1010506 AT cwilson DOT fastmail DOT fm> <49AD602C DOT 1070605 AT gmail DOT com> In-Reply-To: <49AD602C.1070605@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 Dave Korn wrote: > Charles Wilson wrote: >> Alexey Lyubimov wrote: >>> $ gcc -otnc -g -Wl,--enable-auto-import tnc.c -lncurses >>> /cygdrive/c/windows/temp/ccUqygVy.o: In function `main': >>> /cygdrive/e/home/ael/work/ncurses/tnc.c:15: undefined reference to `_stdscr' >>> collect2: ld returned 1 exit status > My guess is that Alexey didn't notice a dll-in-use-must-reboot warning on > cygncurses-8.dll when running setup.exe, and a reboot might have fixed it. Nah. That scenario might cause a run-time failure, but not a link-time failure like the one Alexey described. -- Chuck -- 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/