[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Octave on Mingw
From: |
Fabiuccio R. |
Subject: |
Octave on Mingw |
Date: |
Thu, 13 Feb 2003 10:01:35 -0600 |
Hi folks!
Thanks for developing Octave!
There is any recipe for compiling Octave with MINGW and limiting as much
possible
the dipendencies to the cygwin dll? Win2000 and WinXP seem to have enlarged
POSIX compliance.
I tried to compile the sources 'as received' in the MSYS environment with
the following config_opts
'--enable-shared' '--disable-lite-kernel' '--disable-nls' '--enable-dl'
'--disable-readline' '--build=i386-pc-mingw32' 'build_alias=i386-pc-mingw32'
Most of the things went peacefully,
although some hack was needed: in /liboctave dir , the makefile forgot to
insert the
winsock library and the #include file for that lib was modified to
"#include <winsock2.h>"
After that, the liboctave dll compiled smoothly
Now I face another problem.
in /src dir problems arose when trying to link the "binutils.o" object
file: all the Octave built-in
functions failed. Here there are some of the error I got
Creating library file: liboctinterp.dll.a
builtins.o(.text+0x207b9): In function `Z20install_balance_fcnsv':
c:/mingw32/include/c++/3.2.2/bits/stl_alloc.h:664: undefined reference to
`Fbalance(octave_value_list const&, int)'
builtins.o(.text+0x21869): In function `Z20install_besselj_fcnsv':
c:/mingw32/include/c++/3.2.2/bits/stl_alloc.h:664: undefined reference to
`Fbesselj(octave_value_list const&, int)'
builtins.o(.text+0x218ff):c:/mingw32/include/c++/3.2.2/bits/stl_alloc.h:664:
undefined reference to `Fbessely(octave_value_list const&, int)'
builtins.o(.text+0x21995):c:/mingw32/include/c++/3.2.2/bits/stl_alloc.h:664:
undefined reference to `Fbesseli(octave_value_list const&, int)'
builtins.o(.text+0x21a2b):c:/mingw32/include/c++/3.2.2/bits/stl_alloc.h:664:
undefined reference to `Fbesselk(octave_value_list const&, int)'
builtins.o(.text+0x21ac1):c:/mingw32/include/c++/3.2.2/bits/stl_alloc.h:664:
undefined reference to `Fbesselh(octave_value_list const&, int)'
builtins.o(.text+0x21b57):c:/mingw32/include/c++/3.2.2/bits/stl_alloc.h:664:
undefined reference to `Fairy(octave_value_list const&, int)'
[...]
builtins.o(.text+0x3716f):c:/mingw32/include/c++/3.2.2/bits/stl_alloc.h:664:
undefined reference to `Fgmtime(octave_value_list const&, int)'
builtins.o(.text+0x37205):c:/mingw32/include/c++/3.2.2/bits/stl_alloc.h:664:
undefined reference to `Flocaltime(octave_value_list const&, int)'
builtins.o(.text+0x3729b):c:/mingw32/include/c++/3.2.2/bits/stl_alloc.h:664:
undefined reference to `Fmktime(octave_value_list const&, int)'
builtins.o(.text+0x37331):c:/mingw32/include/c++/3.2.2/bits/stl_alloc.h:664:
undefined reference to `Fstrftime(octave_value_list const&, int)'
builtins.o(.text+0x373c7):c:/mingw32/include/c++/3.2.2/bits/stl_alloc.h:664:
undefined reference to `Fstrptime(octave_value_list const&, int)'
make: *** [liboctinterp.dll] Error 1
Any suggestion?
-------------------------------------------------------------
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
-------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Octave on Mingw,
Fabiuccio R. <=