Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3A37290F.B854DE10@ece.gatech.edu> Date: Wed, 13 Dec 2000 02:45:19 -0500 From: Charles Wilson X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: John Wiersba CC: "'cygwin'" Subject: Re: curses problem trying to build ruby References: <03F4742D8225D21191EF00805FE62B9904B3F67C AT aa-msg-01 DOT medstat DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit John Wiersba wrote: > > Hi! I'm trying to build ruby out of the box and I get this series of errors > (see below) related to curses. The configure step *does* recognize that I'm > running cygwin. I'm up-to-date on my cygwin setup, running on WinNT4. > Anyone recognize these symptoms? Yeah -- looks like a bug in the makefile. Since ruby is trying to build an extension dll that provides the ncurses-ruby interface, that dll must be fully resolved (no unresolved external references). This file, ruby/ext/curses/curses.c, clearly depends on ncurses -- but the dllwrap command doesn't include a link reference to libncurses. Try adding '-lncurses' to the dllwrap command line. > dllwrap --target=cygwin --as=as --dlltool-name=dlltool --driver-name=gcc > --expor > t-all -s --def=curses.def -L/jrw/ftp/ruby/junk/ruby-1.6.1 -o curses.so > curses.o > -L. -lcygwin-ruby16 -lncurses > curses.o: In function `free_window': > /jrw/ftp/ruby/junk/ruby-1.6.1/ext/curses/curses.c:65: undefined reference to > `stdscr' [snip] --Chuck -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com