help-octave
[Top][All Lists]
Advanced

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

How to build .oct file under cygwin?


From: Kenneth Ljungh
Subject: How to build .oct file under cygwin?
Date: Mon, 19 Nov 2001 14:16:06 +0100

Hello!

I'm using cygwin 2.1.35 (also tried .34) and I'm trying to build the
example file oregonator.cc found under the examples directory that
comes with octave but I get errors during linking. I'm using the
mkoctfile script like this:

mkoctfile -L/usr/local/lib/octave-2.1.35 -L/lib -L/lib/gcc-lib/i686-pc-cygwin/2.95.3-5 -loctave -loctinterp -lcruft -lg2c -ltermcap -lreadline -lkpathsea oregonator.cc

but get a lot of unresolved symbols like this:

cc1plus.exe: warning: -fPIC ignored for target (all code is position independent) /usr/local/lib/octave-2.1.35/liboctinterp.a(defun.o): In function `install_builtin_function(octave_value_list (*)(octave_value_list const &, int), basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> > const &, basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> > const &, bool)': /cygdrive/c/klj/filer/octave/octave-2.1.35/src/ov-builtin.h:73: undefined reference to `octave_allocator::alloc(unsigned int)' /cygdrive/c/klj/filer/octave/octave-2.1.35/src/ov-builtin.h:73: undefined reference to `octave_allocator::free(void *, unsigned int)' /usr/local/lib/octave-2.1.35/liboctinterp.a(defun.o): In function `install_dld_function(octave_value_list (*)(octave_value_list const &, int), basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> > const &, octave_shlib const &, basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> > const &, bool)':

and so it continous. I'm not sure how to interpret this but could
it be that something went wrong when building liboctinterp.a?
If so, how would the correct way be?

Any help, pointers or tips is very much appreciated!

-- Kenneth


_________________________________________________________________
Hämta MSN Explorer kostnadsfritt på http://explorer.msn.se



-------------------------------------------------------------
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]