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

Charles Wilson cygwin@cwilson.fastmail.fm
Tue Mar 3 16:53:00 GMT 2009


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/



More information about the Cygwin mailing list