This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: broken ncurses-installation
egor duda <deo@logos-m.ru> writes:
> Hi!
>
> Tuesday, 01 May, 2001 Felix Natter f.natter@ndh.net wrote:
>
> FN> hi,
>
> FN> gcc -static -DNCURSES_STATIC -o test_curses.exe test_curses
> =>> undefined reference to endwin ...
this should be:
gcc -lcurses -static -DNCURSES_STATIC -o test_curses.exe test_curses
> you want to add '-lcurses' to the command line, just like it's being
> done on Linux.
Sorry, once again I forgot to mention this. Of course I added -lcurses to
the line (I also tried to list the static library with the full path).
--
Felix Natter
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple