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. Michael. ------------------------------------------------------------------------- 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 Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev