Michael Goffioul wrote:
> On Thu, Mar 27, 2008 at 2:26 PM, David Bateman
> <[EMAIL PROTECTED]> wrote:
>
>> Ok, then if you can link against the oct-file, then that doesn't change
>> anything except the need to add "-L../src -lfixed" when building the
>> example oct-files.. I committed another patch to do that.. Tatsuro,
>> you'll need to update your SVN before trying
>>
>> cd main/fixed/src
>> ./autogen.sh
>> ./configure
>> make
>> cd ../examples
>> make
>> octave
>> addpath ("../src")
>> a = ffft(fixed(6,4,32*randn(64,1)))
>>
>
> There is still one catch at run-time: as ffft.oct is linked against fixed.oct,
> fixed.oct must be available for loading by the system when ffft.oct is
> loaded. That is
> 1) either fixed.oct is already loaded
> 2) or fixed.oct is located in a place where the dynamic linker can find it
>
> Case 2 is of course not true; hence fixed.oct must be loaded by octave
> before trying to load ffft.oct. I'm not sure the example code above will
> do it, so it might not work. If it doesn't, just type "fixed" at octave prompt
> (to force loading of fixed.oct) and it should work OK.
>
>
The same is true for Linux.. You have to call the fixed command before
ffft in Octave. As you need to create a fixed object with the fixed
command prior to using ffft in any case, this doesn't seem to be an
issue to me.
D.
--
David Bateman [EMAIL PROTECTED]
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev