delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/12/13/02:42:37

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: John Wiersba <John DOT Wiersba AT medstat DOT com>
CC: "'cygwin'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: curses problem trying to build ruby
References: <03F4742D8225D21191EF00805FE62B9904B3F67C AT aa-msg-01 DOT medstat DOT com>


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019