From bug-octave-request at bevo dot che dot wisc dot edu Sat Sep 30 10:25:30 1995 From: root To: bug-octave at che dot utexas dot edu Date: Sat, 30 Sep 1995 07:41:03 -0700 To: bug-octave at che dot utexas dot edu Subject: erf, erfc, gamma, lgamma don't work Bug report for Octave 1.1.1 configured for i486-unknown-linux Description: ----------- I just compiled octave on my i386 box running Linux slackware 1.2.13. The location of the g++-include files was not detected by the configure script, so I had to manually edit makeconf to include -I/usr/g++-include. After that I was able to commplete the compilation. However, when I tried to run octave to test it out, I encountered problems. e.g.: help erf octave says erf is a builtin function. But erf(1.0) octave says erf is not available for my system. The same thing happens with erfc, gamma, lgamma. I am using g77 0.5.6 to compile the fortran codes. f77 is a symbolic link to g77. The octave binaries that I got from one of the Linux mirror sites works correctly. But I have to recompile octave to use NPSOL. Repeat-By: --------- * Please replace this item with a description of the sequence of events that causes the problem to occur. Fix: --- * If possible, replace this item with a description of how to fix the problem (if you don't have a fix for the problem, don't include this section, but please do submit your report anyway). Configuration (please do not edit this section): ----------------------------------------------- uname output: Linux mala 1.2.13 #4 Fri Sep 8 15:52:57 PDT 1995 i386 Fortran compiler: FFLAGS: -O F2C: f2c F2CFLAGS: FLIBS: -lf2c C compiler: gcc CFLAGS: -DHAVE_CONFIG_H -mieee-fp -g -O C++ compiler: c++ CXXFLAGS: -DHAVE_CONFIG_H -fno-implicit-templates -mieee-fp -g -O LDFLAGS: -g DEFS: -DOCTAVE_SOURCE=1 -DSEPCHAR=':' -DSEPCHAR_STR=: -DNPSOL_MISSING=1 -DQPSOL_MISSING=1 -DFSQP_MISSING=1 -DHAVE_STRFTIME=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DIEEE_LITTLE_ENDIAN=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DF77_APPEND_UNDERSCORE=1 -DSTDC_HEADERS=1 -DHAVE_ASSERT_H=1 -DHAVE_FLOAT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PWD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_VARARGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_UTSNAME_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_DIRENT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TERMIOS_H=1 -DHAVE_SETVBUF=1 -DHAVE_GETCWD=1 -DHAVE_GETHOSTNAME=1 -DHAVE_BZERO=1 -DHAVE_BCOPY=1 -DHAVE_RINDEX=1 -DHAVE_VFPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DHAVE_STRERROR=1 -DHAVE_ATEXIT=1 -DHAVE_ON_EXIT=1 -DHAVE_TEMPNAM=1 -DHAVE_MEMMOVE=1 -DHAVE_PUTENV=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_GETRUSAGE=1 -DHAVE_LIBM=1 -DHAVE_FINITE=1 -DHAVE_ISNAN=1 -DHAVE_ISINF=1 -DHAVE_ACOSH=1 -DHAVE_ASINH=1 -DHAVE_ATANH=1 -DHAVE_ERF=1 -DHAVE_ERFC=1 -DHAVE_LGAMMA=1 -DSIGNGAM_DECLARED=1 -DRETSIGTYPE=void -DSYS_SIGLIST_DECLARED=1 -DHAVE_SYS_SIGLIST=1 User-preferences (please do not edit this section): -------------------------------------------------- EDITOR = "vi" IMAGEPATH = ".:/usr/local/lib/octave/1.1.1/imagelib//" INFO_FILE = "/usr/local/info/octave.info" LOADPATH = ".:/usr/local/lib/octave/site/oct/i386-unknown-linux//:/usr/local/lib/octave/site/m//:/usr/local/lib/octave/1.1.1/oct/i386-unknown-linux//:/usr/local/lib/octave/1.1.1/m//" OCTAVE_VERSION = "1.1.1" PAGER = "less -e" PS1 = "\\s:\\#> " PS2 = "> " automatic_replot = "false" whitespace_in_literal_matrix = "traditional" default_save_format = "ascii" do_fortran_indexing = "true" empty_list_elements_ok = "true" eps = 2.22045e-16 gnuplot_binary = "gnuplot" ignore_function_time_stamp = "system" implicit_str_to_num_ok = "true" ok_to_lose_imaginary_part = "warn" output_max_field_width = 10 output_precision = 5 page_screen_output = "true" prefer_column_vectors = "true" prefer_zero_one_indexing = "true" print_answer_id_name = "true" print_empty_dimensions = "true" propagate_empty_matrices = "true" resize_on_range_error = "true" return_last_computed_value = "false" save_precision = 17 silent_functions = "false" split_long_rows = "true" treat_neg_dim_as_zero = "true" warn_assign_as_truth_value = "true" warn_comma_in_global_decl = "true" warn_divide_by_zero = "true"