X-Spam-Check-By: sourceware.org
From: "John W. Eaton" <jwe@bevo.che.wisc.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <17412.29637.597024.865261@segfault.lan>
Date: Tue, 28 Feb 2006 11:01:09 -0500
To: Agnes Bousquier <agnes.bousquier@etu.enseeiht.fr>
Cc: cygwin@cygwin.com
Subject: using 'mkoctfile'
In-Reply-To: <440470D9.1040807@etu.enseeiht.fr>
References: <440470D9.1040807@etu.enseeiht.fr>
X-CAE-MailScanner-Information: Please contact security@engr.wisc.edu if this message contains a virus or has been corrupted in delivery.
X-CAE-MailScanner: Found to be clean (benji)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 28-Feb-2006, Agnes Bousquier wrote:

|    I am using Octave 2.1.72 under cygwin and would like to generate .oct 
| files thanks to the command 'mkoctfile'. Unfortunately, when I type
| mkoctfile myfile.cc
| the following message appears (in French) :
| /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld : 
| can not find -lreadline
| collect2 : ld returned an execution state code
|   Could anyone please tell me what is missing ?

I'm not sure why the readline library is not found.  It should be
installed with just about any Cygwin install, and I think it is a
dependency of the Octave package.

But in any case, I think you need to be using gcc 3.3, otherwise you
will likely have problems.  There is more information here:
http://cygwin.com/ml/cygwin/2006-02/msg00738.html.

jwe

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

