delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/04/16:35:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "John W. Eaton" <jwe AT bevo DOT che DOT wisc DOT edu>
MIME-Version: 1.0
Message-ID: <15373.14398.949286.363993@segfault.bogus.domain>
Date: Tue, 4 Dec 2001 14:55:26 -0600
To: "Billinghurst, David (CRTS)" <David DOT Billinghurst AT riotinto DOT com>
Cc: "'wdkirby AT ix DOT netcom DOT com'" <wdkirby AT ix DOT netcom DOT com>,
"'bug-octave AT bevo DOT che DOT wisc DOT edu'" <bug-octave AT bevo DOT che DOT wisc DOT edu>,
"'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: Building Octave-2.1.35 using Cygwin-1.3.3-2
In-Reply-To: <8D00C32549556B4E977F81DBC24E985D4100C2@crtsmail1.technol_exch.corp.riotinto.org>
References: <8D00C32549556B4E977F81DBC24E985D4100C2 AT crtsmail1 DOT technol_exch DOT corp DOT riotinto DOT org>
X-Mailer: VM 6.97 under Emacs 20.7.2

On  4-Dec-2001, Billinghurst, David (CRTS) <David DOT Billinghurst AT riotinto DOT com> wrote:

| You wrote that you had problems compiling octave-2.1.35 on cygwin, due to a
| missing definition of _rl_clear_screen.
| 
| The problem is that _rl_clear_screen is "private" and is not exported in
| cygreadline.dll.  As you and I both found out, simply removing the leading
| underscore is the "Wrong Thing".
| 
| There are a number of solutions to this problem, including:
| a) building octave without readline support,
| b) building your own dll with this symbol exported
| c) using the static libreadline.a
| d) finding a way to use rl_clear_screen
| e) getting someone else to do (b) for you
| 
| Option (a) is easy as there is a configure option for this.
| 
| Option (c) is pretty easy.  
|  Configure octave with "CFLAGS='-DREADLINE_STATIC -O'
|  Change -lreadline to /usr/lib/libreadline.a in Makeconf
|  make 
| 
| The rest are left as an exercise.

It's not quite as easy as that now, since the readline sources are no
longer distributed with Octave.

In any case, this problem is fixed in the current Octave sources (in
CVS) and should not appear in the next snapshot.

jwe

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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