On Wed, Mar 26, 2008 at 2:17 AM, Rafael Laboissiere <[EMAIL PROTECTED]> wrote: > * Tatsuro MATSUOKA <[EMAIL PROTECTED]> [2008-03-23 04:13]: > > > > I have experienced similar problem. > > > --- Jaroslav Hajek <[EMAIL PROTECTED]> wrote: > > > > > > > This is a minor bug in optdrv.f - an external declaration does not > > > > match the actual name (for some reason gfortran doesn't mind, which is > > > > why I missed this bug). Fixed in SVN now. > > > > Thanks for reporting. > > > > Please download optdrv.f from SVN repository > > > http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/main/octgpr/src/optdrv.f?view=log > > (Revision 4692) > > Extact the tar.gz file and replace the ....../src/optdrv.f with the > downloaded one > > and commpress again into a ...tar.gz file and use pkg install against it. > > Replacing the optdrv.f by the one in SVN did not help, I still have the same > error message. > > Otherwise, adding -fPIC flags to gcc and gfortran does make the pacakge > build and run correctly. Please consider the patch attached below in the > next release of octgpr. >
I couldn't find the patch attached, so I commited a fix myself. FPICFLAGS and CPICFLAGS are inferred from mkoctfile and attached to FFLAGS and CFLAGS. Please tell me whether this works. I've also removed config.log, config.status, config.h and Makefile from the sources. > I am also attaching below a patch with appropriate clean and distclean > targets. Please, do not include the files config.log and config.status in > the tarball for the next release, since this causes problems when generating > packages automatically (like in the Debian autobuilders). > > Thanks, > > -- > Rafael > > ------------------------------------------------------------------------- > 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 > > -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz ------------------------------------------------------------------------- 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
