From owner-bug-octave at bevo dot che dot wisc dot edu Mon Nov 4 20:52:51 1996 Subject: Re: Problems in octave-1.90 From: Joao Cardoso To: gebhardt at crunch dot ikp dot physik dot th-darmstadt dot de Cc: bug-octave at bevo dot che dot wisc dot edu Date: Tue, 5 Nov 96 02:43:07 GMT Hi, Thanks for your reply, I am using a patch that jwe send me, I enclose it bellow root at panther dot ikp dot physik dot th-darmstadt dot de wrote: | From: root at panther dot ikp dot physik dot th-darmstadt dot de | Subject: Re: Problems in octave-1.90 | To: jcardoso at inescn dot pt | | Hi Joao, | | > Can these problems, specifically problem 4, be corrected? | | You can fix this problem by including the following at line 31 of | octave-1.90/src/mappers.h: | | #ifndef HAVE_ACOSH | double acosh (double); | #endif | #ifndef HAVE_ASINH | double asinh (double); | #endif | #ifndef HAVE_ATANH | double atanh (double); | #endif | | Klaus Gebhardt [TEAM OS/2] ---------------------------------------------------------------------- John W. Eaton wrote: | From: "John W. Eaton" | Subject: Problems in octave-1.90 | To: jcardoso at inescn dot pt | | On 4-Nov-1996, Joao Cardoso wrote: | | : 4-Then, in octave-1.90/src, compiler errors: | : | : c++ -c -I. -I../src -I.. -I../liboctave -I../src -I../glob - | : DHAVE_CONFIG_H -fno-implicit-templates -O3 -m486 -pipe mappers.cc | : | : mappers.cc: In function `void install_mapper_functions()': | : | : mappers.cc:439: no matching function for call to | : `builtin_mapper_function::builtin_mapper_function (int, {unknown | : type}, int, {unknown type}, double, double, int, char[6], char[51])' | | I believe that this is fixed by declaring proper prototypes for | asinh, acosh, and atanh in liboctave/oct-math.h. My oct-math.h file | now looks like this (minus copyright info): | | #if !defined (octave_oct_math_h) | #define octave_oct_math_h 1 | | #include | | #ifdef __cplusplus | extern "C" { | #endif | | // Provide declarations for these whether they are actually missing or | // not, because they are not part of the standard math.h, and the | // g++/libg++ installation no longer provides declarations for them. | | #ifndef HAVE_ACOSH | extern double acosh (double); | #endif | | #ifndef HAVE_ASINH | extern double asinh (double); | #endif | | #ifndef HAVE_ATANH | extern double atanh (double); | #endif | | #ifndef HAVE_ERF | extern double erf (double); | #endif | | #ifndef HAVE_ERFC | extern double erfc (double); | #endif | | #ifdef __cplusplus | } | #endif | | #endif | | Thanks, | | jwe | | | -- Joao Cardoso, INESC | e-mail: jcardoso at inescn dot pt R. Jose Falcao 110 | tel: + 351 2 2094345 4000 Porto, Portugal | fax: + 351 2 2008487