From: David B. <Dav...@mo...> - 2004-10-20 09:11:07
|
Gernot, As stated in our off-line disscussion, you correctly diagnosed this problem as the constructor not explicitly initializing has_alias to false. I've committed the fix you supplied for this problem.. Regards David According to Gernot Hueber <hu...@ri...> (on 10/19/04): > Hello, > > I am using octave-2.1.59 with octave-forge 2004.09.09 on FreeBSD > 5.2-current, but there is problem with dispatch. Dispatched functions > are not accessible and return following error: > error: feval: the symbol `' is not valid as a function > See compile log snippet at the bottom > > Can you tell what is going wrong here? > > Gernot > > Function lu and glu are available (I have commented all dispatch calls > in the PKG_ADD files): > > octave-2.1.59:1> lu > > *** lu: > > - Loadable Function: [L, U, P] = lu (A) > Compute the LU decomposition of A, using subroutines from LAPACK. > The result is returned in a permuted form, according to the > optional return value P. For example, given the matrix `a = [1, > 2; 3, 4]', > [...] > octave-2.1.59:1> dispatch("lu","glu","galois") > octave-2.1.59:2> lu > error: feval: the symbol `' is not valid as a function > octave-2.1.59:2> glu > > *** glu: > > - Loadable Function: [L, U, P] = glu (A) > Compute the LU decomposition of A in a Galois Field. The result is > returned in a permuted form, according to the optional return value > P. For example, given the matrix `a = gf([1, 2; 3, 4],3)', > > [l, u, p] = glu (a) > [...] > > Compilation worked nice without warning/error/etc... > > midori# gmake > mkoctfile -DHAVE_OCTAVE_21 -v -DUSE_TERM -DHAVE_TERMCAP_H > -DTYPEID_HAS_CLASS dispatch.cc > g++ -c -L/usr/local/include -fPIC -I/usr/local/include/octave-2.1.59 > -I/usr/local/include/octave-2.1.59/octave -I/usr/local/include -mieee-fp > -g -O2 -DHAVE_OCTAVE_21 -DUSE_TERM -DHAVE_TERMCAP_H -DTYPEID_HAS_CLASS > dispatch.cc -o dispatch.o > gcc -shared -o dispatch.oct dispatch.o -L/usr/local/lib/octave-2.1.59 > -loctinterp -loctave -lcruft -L/usr/local/lib -lalapack -lcblas > -lf77blas -latlas -lreadline -lncurses -lm -L/usr/local/lib -L/usr/lib > -lg2c -lm > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Octave-dev mailing list > Oct...@li... > https://lists.sourceforge.net/lists/listinfo/octave-dev -- David Bateman Dav...@mo... Motorola CRM +33 1 69 35 48 04 (Ph) Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax) 91193 Gif-Sur-Yvette FRANCE The information contained in this communication has been classified as: [x] General Business Information [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary |