From help-octave-request at che dot utexas dot edu Sun Jan 15 16:40:59 1995 Subject: octave 1.1 on NeXT 3.2 (Intel) From: "Lars A. Stole" To: help-octave at che dot utexas dot edu Date: Sun, 15 Jan 95 16:41:49 -0600 Hello everyone, I am trying to compile octave 1.1 on a NextStep 3.2 operating system (running on a Pentium cpu). I have performed the standard fixes for Nextstep which worked with octave 1.0. Specifically, I compiled ./liboctave/dMatrix.cc and ./liboctave/Array-d.cc without the "-g" flag. I have also extracted the termios.o file from the libposix.a library and placed it in the ./src/ subdirectory. Nonetheless, some problems seem to remain. The main problem is that I am having trouble compiling ./readline/complete.c. I am using gcc 2.6.3, libg++ 2.6.2, and f2c if that is relevant. The error messages from my screen are ... [this is rather long, unfortunately] ...... make[2]: Entering directory `/lars/Development/octave-1.1.0/readline' Makefile:70: warning: overriding commands for target `.c.o' ../Makeconf:214: warning: ignoring old commands for target `.c.o' cc -c -I. -I./.. -DOCTAVE_SOURCE=1 -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=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_SYS_DIR_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TERMIOS_H=1 -DHAVE_SETVBUF=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_MEMMOVE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_GETRUSAGE=1 -DHAVE_LIBM=1 -DHAVE_FINITE=1 -DHAVE_ISNAN=1 -DHAVE_ISINF=1 -DHAVE_ERF=1 -DHAVE_ERFC=1 -DHAVE_LGAMMA=1 -DRETSIGTYPE=void -DHAVE_SYS_SIGLIST=1 -DVI_MODE=1 -DPAREN_MATCHING=1 -g -O -Wall complete.c In file included from complete.c:61: rldefs.h:144: warning: `index' redefined /usr/local/lib/gcc-lib/i386-next-nextstep3/2.6.3/include/ansi/string.h:113: warning: this is the location of the previous definition rldefs.h:145: warning: `rindex' redefined /usr/local/lib/gcc-lib/i386-next-nextstep3/2.6.3/include/ansi/string.h:117: warning: this is the location of the previous definition rldefs.h:146: warning: `bcopy' redefined /usr/local/lib/gcc-lib/i386-next-nextstep3/2.6.3/include/ansi/string.h:120: warning: this is the location of the previous definition rldefs.h:147: warning: `bcmp' redefined /usr/local/lib/gcc-lib/i386-next-nextstep3/2.6.3/include/ansi/string.h:123: warning: this is the location of the previous definition rldefs.h:148: warning: `bzero' redefined /usr/local/lib/gcc-lib/i386-next-nextstep3/2.6.3/include/ansi/string.h:126: warning: this is the location of the previous definition complete.c: In function `rl_complete_internal': complete.c:365: warning: unused variable `quoted' complete.c: In function `stat_char': complete.c:886: warning: implicit declaration of function `access' complete.c: In function `filename_completion_function': complete.c:1075: parse error before `*' complete.c:1120: `directory' undeclared (first use this function) complete.c:1120: (Each undeclared identifier is reported only once complete.c:1120: for each function it appears in.) complete.c:1120: warning: implicit declaration of function `opendir' complete.c:1134: warning: implicit declaration of function `readdir' complete.c:1134: warning: assignment makes pointer from integer without a cast complete.c:1140: dereferencing pointer to incomplete type complete.c:1141: dereferencing pointer to incomplete type complete.c:1148: dereferencing pointer to incomplete type complete.c:1149: dereferencing pointer to incomplete type complete.c:1150: dereferencing pointer to incomplete type complete.c:1161: warning: implicit declaration of function `closedir' complete.c:1162: parse error before `)' complete.c:1192: dereferencing pointer to incomplete type complete.c:1205: dereferencing pointer to incomplete type complete.c:1209: dereferencing pointer to incomplete type complete.c:1213: dereferencing pointer to incomplete type complete.c:1213: dereferencing pointer to incomplete type gmake[2]: *** [complete.o] Error 1 gmake[2]: Leaving directory `/lars/Development/octave-1.1.0/readline' ...... There are other errors which occur further down in the makefile, but since they may all arise from the complete.c problem, I want to solve this first. Any help would be greatly appreciated. Thanks in advance. Lars Stole