help-octave
[Top][All Lists]
Advanced

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

Octave and linux


From: Antonino Casile
Subject: Octave and linux
Date: Wed, 16 Jun 1999 10:44:56 +0200

Hi all,
I am trying to compile a C++ program using the octave libraries but
I get the following errors when I lin the program :

/usr/lib/octave/liboctave.so: undefined reference to `d1mach_'
/usr/lib/octave/liboctave.so: undefined reference to `cffti_'
/usr/lib/octave/liboctave.so: undefined reference to `xdlange_'
/usr/lib/octave/liboctave.so: undefined reference to `dgemv_'
/usr/lib/octave/liboctave.so: undefined reference to `write_history'
/usr/lib/octave/liboctave.so: undefined reference to `dgebak_'
/usr/lib/octave/liboctave.so: undefined reference to `rjbesl_'
/usr/lib/octave/liboctave.so: undefined reference to `dorgqr_'
/usr/lib/octave/liboctave.so: undefined reference to `cfftf_'
/usr/lib/octave/liboctave.so: undefined reference to `stifle_history'
/usr/lib/octave/liboctave.so: undefined reference to `zgebak_'
/usr/lib/octave/liboctave.so: undefined reference to `rkbesl_'
/usr/lib/octave/liboctave.so: undefined reference to `dgeqrf_
 ..... and so on .....

the program is :
---------------------------------------------------------------
#include <iostream.h>
#include <octave/Array.h>

void main(void)
{
        Array<int> prova(10);

        cout<<"Prova di scrittura ...."<<endl;
}
----------------------------------------------------------------

The compile line is :
g++ tryoctave.cpp -I/usr/include/octave -L/usr/lib/octave -loctave -o
tryoctave

I have :
RedHat6.0
egcs-2.91.66
Octave, version 2.0.13 (i386-redhat-linux-gnu)

I installed octave using the rpm file given with RedHat6.0

Any help is greatly appreciated.
                        Antonino Casile



---------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.  To ensure
that development continues, see www.che.wisc.edu/octave/giftform.html
Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html
---------------------------------------------------------------------



reply via email to

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