| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <49AD31EB.9020000@gmail.com> |
| Date: | Tue, 03 Mar 2009 13:34:35 +0000 |
| From: | Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com> |
| User-Agent: | Thunderbird 2.0.0.17 (Windows/20080914) |
| 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> |
| In-Reply-To: | <557426.1341.qm@web33206.mail.mud.yahoo.com> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
Alexey Lyubimov wrote:
> Unfortunately, things went worse :-( After I've upgraded to GCC 3.4.4-999
> and libncurses9-5.7-2 I get the following error instead of a ld's warning
> (see my first message in this thread for the reference):
>
> $ 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
>
> "-Wl,--enable-auto-import" works fine with the previous release of GCC
> v3.4.4-3 and libncurses8.
>
> What is wrong now?
Dunno yet, but I'll see if I can reproduce. There have been updates to
ncurses as well as gcc. I've still got an old ncurses and new gcc:
/tmp/hash $ cygcheck -c libncurses-devel gcc-core
Cygwin Package Information
Package Version Status
gcc-core 3.4.4-999 OK
libncurses-devel 5.5-3 OK
.. so I'll see if I can reproduce it, then upgrade my ncurses and try again.
cheers,
DaveK
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |