[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About using liboctave
From: |
Joao Cardoso |
Subject: |
Re: About using liboctave |
Date: |
Mon, 03 Apr 2000 18:14:24 +0100 |
Esposito Roberto wrote:
>
> Hi,
> I have a problem about compiling a little program of mine which
> uses functions in liboctave. When I try to compile the program the linker
> does not find a bunch of functions.
>
> I link the program with the following libraries:
> libcruft
> liboctave
> libm
>
> The linker output the following messages:
> octave/lib/octave/libcruft.a(xerbla.o): In function `xerbla_':
> xerbla.o(.text+0x8): undefined reference to `s_wsfe'
> xerbla.o(.text+0x1c): undefined reference to `do_fio'
> xerbla.o(.text+0x2c): undefined reference to `do_fio'
> xerbla.o(.text+0x34): undefined reference to `e_wsfe'
>
you have to link also with -lg2c or -lf2c, the "fortran" libraries.
Joao
-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.che.wisc.edu/octave/octave.html
How to fund new projects: http://www.che.wisc.edu/octave/funding.html
Subscription information: http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------