octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

odepkg problem of odepkgmex.h


From: Tatsuro MATSUOKA
Subject: odepkg problem of odepkgmex.h
Date: Tue, 21 Aug 2007 19:30:52 +0900 (JST)

I have not been able to constructed odepkg for a long
time.

So I extracted odepkg-0.3.1.tar.gz and did 
'./configure' and 'make'.
At the 'make', the following message appeared,

****************
mkoctfile --mex  -c odepkg_mexsolver_dopri5.c -o
odepkg_mexsolver_dopri5.o
In file included from odepkg_mexsolver_dopri5.c:43:
odepkgmex.h:23: error: redefinition of `mwSize'
/usr/local/octave-2.9.13/include/octave-2.9.13/octave/mxarray.h:89:
error: `mwSize' previously declared here
odepkgmex.h:24: error: redefinition of `mwIndex'
/usr/local/octave-2.9.13/include/octave-2.9.13/octave/mxarray.h:90:
error: `mwIndex' previously declared here
make[1]: *** [odepkg_mexsolver_dopri5.o] Error 1
make[1]: Leaving directory
`/home/octaves/octave-forge-bundle-20070726/main/odepkg-0.3.1/src'
make: *** [build] Error 2
**********

I have commented out two lines in  'odepkgmex.h'
as,

23: /* typedef int mwSize;
24: typedef int mwIndex; */

After that I recompressed them, and executed pkg command.
This time the pkg command worked well and the odepkg
package was sucessfully installed. 
***************
octave:3> pkg list
Package Name  | Version | Installation directory
--------------+---------+-----------------------
      odepkg *|   0.3.1 |
/usr/local/octave-2.9.13a/octave-forge/odepkg-0.3.1
****************

Are the conflictions of 
'typedef int mwSize' and 'typedef int mwIndex'
the bug ?

T. Matsuoka
   

--------------------------------------
Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar
http://pr.mail.yahoo.co.jp/toolbar/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]