From help-octave-request at bevo dot che dot wisc dot edu Tue Dec 15 12:40:36 1998 Subject: compile problem on redhat linux From: "John W. Eaton" To: Stefano Ghirlanda Cc: help-octave at bevo dot che dot wisc dot edu Date: Tue, 15 Dec 1998 12:40:39 -0600 (CST) On 15-Dec-1998, Stefano Ghirlanda wrote: | I recently upgraded to redhat 5.2, from 5.1. My octave 2.0.12 | understandably crashed at startup, due to change in the libraries. | So I try to recompile it. I tried both with the sources I had and with a | source rpm (the binary rpm in the redhat contrib directory also has | incompatible libstdc++). I get the same error: | | lo-ieee.cc: In function `void octave_ieee_init()': | lo-ieee.cc:95: `NAN' undeclared (first use this function) | lo-ieee.cc:95: (Each undeclared identifier is reported only once | lo-ieee.cc:95: for each function it appears in.) | make[2]: *** [lo-ieee.o] Error 1 | make[2]: Leaving directory `/usr/local/tmp/BUILD/octave-2.0.13/liboctave' | make[1]: *** [liboctave] Error 2 | make[1]: Leaving directory `/usr/local/tmp/BUILD/octave-2.0.13' | make: *** [all] Error 2 | | although the ./configure runs fine. It also says that isnan is found, if | that matters. | I *never* had any problems in compiling octave, so maybe something went | wrong with the upgrade procedure... The current test release doesn't use the macro NAN. Can you please try using that instead, and let me know if it works? You can get the current test release from ftp.che.wisc.edu in the directory /pub/octave. Thanks, jwe