1.5.25-15: First steps with ncurses programming: can NOT build Hello_world app

Alexey Lyubimov alexeipobox@yahoo.com
Tue Mar 3 11:48:00 GMT 2009


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?

--
Thank you,
Alexey Lyubimov





      
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheckout.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20090303/6aeb1bff/attachment.txt>
-------------- next part --------------
--
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