[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: error: dispatch
From: |
David Pruitt |
Subject: |
RE: error: dispatch |
Date: |
Mon, 10 May 2004 07:52:19 -0500 |
I recompiled all the code and looked carefully through the output at every step.
The problem occurred during the make of octave-forge. galois.cc was not
compiling, the make stopped and a whole bunch of stuff was left uncompiled.
Then I found a note in bug-octave that indicated a work around for the problem
(undefined TBM, FBM, NBM in galois-def.h - see
http://www.octave.org/octave-lists/archive/bug-octave.2004/msg00192.html). I
wasn't able to clearly understand the suggested 'quick fix'. I added the lines:
#define TBM boolMatrix (1, 1, true)
#define FBM boolMatrix (1, 1, false)
#define NBM boolMatrix ()
to galois-def.h that introduced the needed references. Is that correct?
The compile and install went smoothly after that. I haven't tested things very
hard, but it appears that octave is now working well.
-----Original Message-----
From: David Pruitt [mailto:address@hidden
Sent: Wednesday, May 05, 2004 1:48 PM
To: address@hidden
Subject: error: dispatch
I recently compiled octave 2.1.57 and the latest octave-forge
(2004.02.12) on my Linux box (Red Hat 9, AMD processor). gcc -v
reports:
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--host=i386-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-24)
When I start octave, I get the error message as shown below:
address@hidden plot]# octave
GNU Octave, version 2.1.57 (i686-pc-linux-gnu).
Copyright (C) 2004 John W. Eaton.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
Additional information about Octave is available at
http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
Report bugs to <address@hidden> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).
error: `dispatch' undefined near line 2 column 1
error: near line 2 of file
`/usr/local/share/octave/2.1.57/site/m/octave-forge/comm//PKG_ADD'
error: source: error sourcing file
`/usr/local/share/octave/2.1.57/site/m/octave-forge/comm//PKG_ADD'
octave:1>
I compiled octave with:
./configure
make
make check
make install
and octave-forge with:
./configure
make
make check
make icheck
make install
This is the first time I compiled so it is eniterly possible (likely
even) that I missed something. I would appreciate a little direction in
tracking this down.
Many thanks.
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- error: dispatch, David Pruitt, 2004/05/05
- RE: error: dispatch,
David Pruitt <=