help-octave
[Top][All Lists]
Advanced

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

Fixed Point on Octave


From: Kailas Narendran
Subject: Fixed Point on Octave
Date: Thu, 2 Mar 2006 19:47:19 -0600
User-agent: Thunderbird 1.5 (Windows/20051201)

Hi!  I'm trying to use the fixedpoint functions in octave and get the
feeling I'm missing something very basic.

I'm running windows XP and have installed octave in cygwin (2.1.72) and
the standalone binary (2.1.50 downloaded from the repository on
sourceforge [1]).

When I'm in either version of octave and i type "fixedpoint" i get:

"error: `fixedpoint' undefined near line 9 column 1"

When I look in the subdirectories of octave, sure enough, I can't find
any of the fixedpoint scripts.

So, the sinking feeling comes up that maybe I need to compile the source
(never done that type of thing before).

Anyway, I downloaded the latest version of octave forge (2006.01.28)
[2], ungziped and untard into a directory, and followed all the
instructions int he "INSTALL" file.

After my computer churned for a while, I eagerly started up octave to
find that typing "fixedpoint" didn't work.  i changed to the
"octave-forge" directory, went into the "fixed" subdir, and typed
"fixedpoint test" and it didn't work

<< Fixed Point Load Type >>
error: 'fixed' undefined near line 152 column 11
error: evaluating assignment...
...

looking through the build.log file, I see that there are two errors [3]

/usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(sstream-inst.o):: multiple
definition of `std::basic_ostringstream<char, std::char_traits<char>,
std::allocator<char> >::~basic_ostringstream()'
/usr/lib/octave-2.1.72/liboctinterp.dll.a(d008181.o):: first defined here
(see [] for full text around it)

and the same error happens later in the "textread" module later

finally at the end, it complains

make[3]: Leaving directory
`/home/Kailas/octave-forge-2006.01.28/main/fixed/doc'
****** WARNING: liboctave_fixed.dll not correctly installed.
****** To ensure correct operation liboctave_fixed.dll should
****** be in the same directory as liboctave.dll
/usr/bin/install: cannot stat `liboctave_fixed.dll': No such file or
directory
****** WARNING: liboctave_fixed.dll.a not correctly installed
****** To ensure correct operation liboctave_fixed.dll.a
****** should be in the same directory as liboctave.dll.a
make[2]: Leaving directory `/home/Kailas/octave-forge-2006.01.28/main/fixed'

Anyone know what might be wrong?  Is this the right way to do this?  I
really liked using the octave that ran in windows, is there an easy way
to get octave-forge built for it?  is this even the right approach?

Thanks so much for any help in advance.  This program is great!

-kailas


[1] -
http://prdownloads.sourceforge.net/octave/octave-2.1.50a-inst.exe?download

[2] -
http://prdownloads.sourceforge.net/octave/octave-forge-2006.01.28.tar.gz?download

[3] - Linking liboctave_fixed.dll
g++ -shared -Wl,--export-all-symbols -Wl,--enable-auto-import
-Wl,--enable-auto-image-base -Wl,--out-implib=liboctave_fixed.dll.a -o
liboctave_fixed.dll fixed-int.o fixedColVector.o fixedRowVector.o
fixedMatrix.o fixedComplex.o fixedCColVector.o fixedCRowVector.o
fixedCMatrix.o Array-f.o fixed-conv.o ov-fixed.o ov-fixed-mat.o
fixedNDArray.o fixedCNDArray.o ov-fixed-complex.o ov-fixed-cx-mat.o
op-fs-fs.o op-fs-fm.o op-fm-fs.o op-fm-fm.o op-fs-fcs.o op-fs-fcm.o
op-fm-fcs.o op-fm-fcm.o op-fcs-fs.o op-fcs-fm.o op-fcm-fs.o op-fcm-fm.o
op-fcs-fcs.o op-fcs-fcm.o op-fcm-fcs.o op-fcm-fcm.o op-fil-fs.o
op-fil-fm.o op-fil-fcs.o op-fil-fcm.o fixed-var.o
-L/usr/lib/octave-2.1.72 -loctinterp -loctave -lcruft -llapack -lblas
-lfftw3 -lreadline -lncurses -lwsock32 -lm
-L/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3
-L/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../.. -lm -lfrtbegin -lg2c
-lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32
/usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(sstream-inst.o):: multiple
definition of `std::basic_ostringstream<char, std::char_traits<char>,
std::allocator<char> >::~basic_ostringstream()'
/usr/lib/octave-2.1.72/liboctinterp.dll.a(d008181.o):: first defined here
/usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(sstream-inst.o):: multiple
definition of `std::basic_ostringstream<char, std::char_traits<char>,
std::allocator<char> >::basic_ostringstream(std::_Ios_Openmode)'
/usr/lib/octave-2.1.72/liboctinterp.dll.a(d008179.o):: first defined here
Creating library file: liboctave_fixed.dll.a
collect2: ld returned 1 exit status
make[2]: *** [liboctave_fixed.dll] Error 1



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