Patch to qp() to support extra arg specifying maximum iterations

Joshua Redstone redstone at gmail.com
Fri Feb 6 13:17:06 CST 2009


On Thu, Feb 5, 2009 at 10:33 PM, Jaroslav Hajek <highegg at gmail.com> wrote:

> On Fri, Feb 6, 2009 at 12:01 AM, Joshua Redstone <redstone at gmail.com>
> wrote:
> > Hi Ben,
> > Yeah I forgot the patch.  It is attached now.
> > I was going to look at optimget/set, but I'm getting errors when i
> checked
> > out the mercurial tree and tried compiling octave.  Where should I post
> to
> > get help?
> > The errors are:
> >
> > g++  -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H
> > -mieee-fp -Wall -W -Wshadow -Wold-style-cast -g -O2 -rdynamic \
> >     -L..  -fPIC  -o octave \
> >     main.o  \
> >     -L../liboctave -L../libcruft -L../src -Wl,-rpath
> > -Wl,/usr/local/lib/octave-3.1.51+ \
> >     -loctinterp -loctave  -lcruft   \
> >          \
> >         \
> >         \
> >      -lreadline  -lncurses -ldl -lm  -L/usr/lib/gcc/i486-linux-gnu/4.3.2
> > -L/usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib -L/lib/../lib
> > -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.3.2/../../..
> > -lgfortranbegin -lgfortran -lm
> > ../liboctave/liboctave.so: undefined reference to
> > `pthread_mutexattr_destroy'
> > ../src/liboctinterp.so: undefined reference to `XOpenDisplay'
> > ../liboctave/liboctave.so: undefined reference to
> `pthread_mutexattr_init'
> > ../libcruft/libcruft.so: undefined reference to `ssymm_'
> > ../liboctave/liboctave.so: undefined reference to
> > `pthread_mutexattr_settype'
> > ../libcruft/libcruft.so: undefined reference to `chemm_'
> > ../libcruft/libcruft.so: undefined reference to `zhemm_'
> > ../src/liboctinterp.so: undefined reference to `XScreenNumberOfScreen'
> > ../libcruft/libcruft.so: undefined reference to `dsymm_'
> > collect2: ld returned 1 exit status
> >
> > for comparison, octave-3.0.3 compiled fine for me.
> > Thanks,
> > Josh
> >
>
> Missing BLAS subroutines, sorry. I think these are more from the
> generalized eigenvalues stuff. I've added them and updated the
> Makefile.in. I've also used sed/sort/uniq/comm script to verify
> whether all called routines are actually covered... seems so, for now.
> Maybe could such a script become part of the sources? Although there's
> still no means to force a committer to run it.
>
> cheers
>
> --
> RNDr. Jaroslav Hajek
> computing expert
> Aeronautical Research and Test Institute (VZLU)
> Prague, Czech Republic
> url: www.highegg.matfyz.cz
>

Thanks, Jaroslav.
I did  hg pull ; hg update ; ./configure ; make.
The number of errors decreased, but there are still a few pthread errors:
g++  -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H
-mieee-fp -Wall -W -Wshadow -Wold-style-cast -g -O2 -rdynamic \
    -L..  -fPIC  -o octave \
    main.o  \
    -L../liboctave -L../libcruft -L../src -Wl,-rpath
-Wl,/usr/local/lib/octave-3.1.51+ \
    -loctinterp -loctave  -lcruft   \
         \
        \
        \
    -lX11 -lreadline  -lncurses -ldl -lm
-L/usr/lib/gcc/i486-linux-gnu/4.3.2
-L/usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib -L/lib/../lib
-L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.3.2/../../..
-lgfortranbegin -lgfortran -lm
../liboctave/liboctave.so: undefined reference to
`pthread_mutexattr_destroy'
../liboctave/liboctave.so: undefined reference to `pthread_mutexattr_init'
../liboctave/liboctave.so: undefined reference to
`pthread_mutexattr_settype'
collect2: ld returned 1 exit status
make[2]: *** [octave] Error 1

I'm running on Ubuntu intrepid, and 3.0.3 compiled fine for me.
Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20090206/760f28d5/attachment.html 


More information about the Octave-maintainers mailing list