1.5.25-15: First steps with ncurses programming: can NOT build Hello_world app
Tue Mar 3 13:42:00 GMT 2009
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
> "-Wl,--enable-auto-import" works fine with the previous release of GCC
> v3.4.4-3 and libncurses8.
> What is wrong now?
Dunno, since I can't reproduce it. But there's been a couple of reissues of
ncurses updates recently owing to bugs connected to the exported apis, and
while you've got libncurses-5.7-2, I just did an update and got 5.7-3, so I
think there's maybe a bugfix version in the process of propagating to the
mirrors and not yet announced. Try upgrading again!
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin