help-octave
[Top][All Lists]
Advanced

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

Re: Weird message


From: Gorazd Brumen
Subject: Re: Weird message
Date: Sat, 30 Dec 2006 15:13:01 +0100
User-agent: Thunderbird 1.5.0.8 (X11/20061116)

Thanks John, that did the trick.

Perhaps a bad question but: why didnt the
compiler detect, that the function definition had at that
place a float and the function itself later on a double, instead of
throwing out a message that was partially (entirely) useless?
Or am I getting this wrong?

Gorazd


John W. Eaton wrote:
> On 29-Dec-2006, Gorazd Brumen wrote:
> 
> | Hi all,
> | 
> | When executing a function in Octave from a library compiled with
> | mkoctfile I get the following error:
> | 
> | 
> | octave: symbol lookup error: /home/brumen/projects/dta/cp/oc/rhslhs.oct:
> | undefined symbol: _Z5transRK12ColumnVectorfS1_RK4Cell
> | 
> | 
> | Octave then crashes.
> | 
> | Could it be from this: (begining of a function trans in rhslhs.cc)
> | 
> | double trans (const ColumnVector &z, double t, const ColumnVector &x,
> | const Cell &params) {
> | 
> |   ColumnVector mu (params(0).vector_value());
> | ....
> | 
> | (the first element of the cell params is a vector.
> | 
> | Can somebody tell me what I am doing wrong?
> 
>   $ echo _Z5transRK12ColumnVectorfS1_RK4Cell | c++filt
>   trans(ColumnVector const&, float, ColumnVector const&, Cell const&)
>                            ^^^^^
> 
> jwe
> 
> 

-- 
Gorazd Brumen
Mail: address@hidden
WWW: http://www.gorazdbrumen.net/
PGP: Key at http://pgp.mit.edu, ID BCC93240


reply via email to

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