From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felix Natter To: cygwin@cygwin.com Subject: Re: broken ncurses-installation Date: Wed, 02 May 2001 08:34:00 -0000 Message-id: <8766fjpydh.fsf@mybaby.home.felix> References: <87g0epjj8f.fsf@mybaby.home.felix> <687389018.20010501174234@logos-m.ru> X-SW-Source: 2001-05/msg00079.html egor duda 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