On 3/30/2012 10:48 AM, sinnkong t wrote:
> Hi,
>
> Currently I am using octave version 3.6.1.
>
> I have problem installing optim package as below.
>
> octave:13> pkg install optim-1.0.17.tar.gz
> __disna_optim__.o: In function `Z16F__disna_optim__RK17octave_value_listi':
> C:\DOCUME~1\TEHSIN~1\LOCALS~1\Temp\oct-10\optim-1.0.17\src/__disna_optim__.cc:139:
> undefined reference to `sdisna_'
> C:\DOCUME~1\TEHSIN~1\LOCALS~1\Temp\oct-10\optim-1.0.17\src/__disna_optim__.cc:151:
> undefined reference to `ddisna_'
> collect2: ld returned 1 exit status
> strip: '__disna_optim__.oct': No such file
> make: *** [__disna_optim__.oct] Error 1
> 'make' returned the following error: make: Entering directory
> `/tmp/oct-10/optim-1.0.17/src'
> C:/Octave/Octave3.6.1_gcc4.6.2/bin/mkoctfile-3.6.1 -s __bfgsmin.cc
> C:/Octave/Octave3.6.1_gcc4.6.2/bin/mkoctfile-3.6.1 -s numgradient.cc
> C:/Octave/Octave3.6.1_gcc4.6.2/bin/mkoctfile-3.6.1 -s numhessian.cc
> C:/Octave/Octave3.6.1_gcc4.6.2/bin/mkoctfile-3.6.1 -s samin.cc
> C:/Octave/Octave3.6.1_gcc4.6.2/bin/mkoctfile-3.6.1 -s __disna_optim__.cc
> make: Leaving directory `/tmp/oct-10/optim-1.0.17/src'
> error: called from `pkg>configure_make' in file
> C:\Octave\Octave3.6.1_gcc4.6.2\share\octave\3.6.1\m\pkg\pkg.m near
> line 1385, column 9
> error: called from:
> error:   C:\Octave\Octave3.6.1_gcc4.6.2\share\octave\3.6.1\m\pkg\pkg.m
> at line 827, column 5
> error:   C:\Octave\Octave3.6.1_gcc4.6.2\share\octave\3.6.1\m\pkg\pkg.m
> at line 383, column 9
>
>
> Is there bug? or I miss something during installation?
>
> Thanks in advance.
>
> Regards,
> sinnkong

octave-3.6 changed the mkoktfile way to link libraries
try with latest SVN version
http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/main/optim/?view=tar

optim need a respin

FYI, disna is part of Lapack

regards
Marco

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to