Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <8D00C32549556B4E977F81DBC24E985D4100C2@crtsmail1.technol_exch.corp.riotinto.org>
From: "Billinghurst, David (CRTS)" <David.Billinghurst@riotinto.com>
To: "'wdkirby@ix.netcom.com'" <wdkirby@ix.netcom.com>
Cc: "'bug-octave@bevo.che.wisc.edu'" <bug-octave@bevo.che.wisc.edu>,
   "'cygwin@cygwin.com'" <cygwin@cygwin.com>
Subject: Re: Building Octave-2.1.35 using Cygwin-1.3.3-2 
Date: Tue, 4 Dec 2001 11:38:54 -0000 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"

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.

+++++++++++++++++++++++++++++++++++++++++
(Mr) David Billinghurst
Comalco Research Centre
PO Box 316, Thomastown, Vic, Australia, 3074
Phone:	+61 3 9469 0642
FAX:		+61 3 9462 2700
Email:	David.Billinghurst@riotinto.com


--
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/

