help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Matcompat -- simple question?


From: Paul Kienzle
Subject: Re: Matcompat -- simple question?
Date: Thu, 22 Mar 2001 00:40:47 +0000
User-agent: Mutt/1.2.5i

This isn't an Octave issue.  endpoint.cc is part of a separate executable
and doesn't use mkoctfile to compile.

The solution is probably to put

        #include <math.h>

at the top of the file.  It doesn't break on my machine so it is hard to
tell if this will fix it.  

Paul Kienzle
address@hidden

On Wed, Mar 21, 2001 at 04:09:28PM -0700, Joshua Rigler wrote:
> I just downloaded Paul Kienzle's matcompat package.  It dies on the
> second function it tries to compile (endpoint.cc).  It is claiming that
> 'sqrt' is undefined.
> 
> I'm guessing that my problem may be with the way I compiled octave.  I
> did NOT --enable-dl (although I did do --enable-shared and
> --enable-lite-kernel.  I am in the process of recompiling, but in the
> meantime, would anyone care to comment on my logic?  Is there ANY reason
> whatsoever to enable shared and lite-kernel if I failed to enable
> dynamic linking?
> 
> After re-reading the source documentation, it seems like mkoctfile ought
> to still be able to create .oct files.  Even if they can't link to the
> dynamic libraries, my interpretation of the configure options says that
> the .oct files would then link to static libraries, and only be a lot
> bigger.  I certainly didn't expect fundamental functions like "sqrt" to
> not be defined.
> 
> Please humor and enlighten a relative newbie toC++ programming and
> dynamic libraries if my questions seem somewhat naive.
> 
> -EJR
> 
> P.S. I'm using Octave 2.1.33 on a RH-7.0 platform (all updates
> applied)...just in case this has any relevance.
> 
> 
> 
> -------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.
> 
> Octave's home on the web:  http://www.octave.org
> How to fund new projects:  http://www.octave.org/funding.html
> Subscription information:  http://www.octave.org/archive.html
> -------------------------------------------------------------
> 
> 



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]