From bug-octave-request at bevo dot che dot wisc dot edu Thu Nov 13 10:18:55 1997 Subject: [50 character or so descriptive subject here (for reference)] From: Jiri Pittner To: bug-octave at che dot utexas dot edu Date: Thu, 13 Nov 1997 17:20:09 +0100 Bug report for Octave 1.1.1 configured for hppa1.1-hp-hpux9.05 Description: ----------- Compilation fails because of some inconsistency in Complex definitions making all in liboctave cd liboctave ; gmake all gmake[2]: Entering directory `/work0/store/eda/jiri/p/octave-1.1.1/liboctave' c++ -c -I. -I../src -I.. -I../liboctave -I../src -DHAVE_CONFIG_H -fno-implicit-templates -g -O CColVector.cc In file included from dMatrix.h:32, from mx-base.h:31, from CColVector.cc:32: mx-defs.h:59: conflicting types for `struct Complex' /usr/local/lib/gcc/g++-include/Complex.h:8: previous declaration as `class complex' mx-defs.h:59: conflicting types for `struct Complex' /usr/local/lib/gcc/g++-include/Complex.h:82: previous declaration as `class complex' Array.h: In method `class Complex DiagArray::get(int)': In file included from mx-base.h:32, from CColVector.cc:32: Array.h:233: return-type `Complex' is an incomplete type Array.h: In method `void DiagArray::set(const class Complex &, int)': Array.h:234: invalid use of undefined type `struct Complex' Array.h:234: `Complex' does not define operator= mx-inlines.cc: At top level: In file included from CColVector.cc:33: mx-inlines.cc:227: parameter `s' has incomplete type mx-inlines.cc: In function `class Complex * add(const class Complex *, int, class Complex)': mx-inlines.cc:231: invalid use of undefined type `struct Complex' mx-inlines.cc:231: invalid use of undefined type `struct Complex' mx-inlines.cc:233: invalid use of undefined type `struct Complex' mx-inlines.cc:233: invalid use of undefined type `struct Complex' mx-inlines.cc:236: confused by earlier errors, bailing out gmake[2]: *** [CColVector.o] Error 1 gmake[2]: Leaving directory `/work0/store/eda/jiri/p/octave-1.1.1/liboctave' gmake[1]: *** [liboctave] Error 2 gmake[1]: Leaving directory `/work0/store/eda/jiri/p/octave-1.1.1' gmake: *** [all] Error 2 Repeat-By: --------- configure, gnumake 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: HP-UX kirk A.09.05 A 9000/735 2003058592 two-user license Fortran compiler: f77 FFLAGS: -O F2C: F2CFLAGS: FLIBS: -lcl -lisamstub C compiler: gcc (2.7.2.1) CFLAGS: -DHAVE_CONFIG_H -g -O C++ compiler: c++ CXXFLAGS: -DHAVE_CONFIG_H -fno-implicit-templates -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 -DWORDS_BIGENDIAN=1 -DIEEE_BIG_ENDIAN=1 -DHAVE_ALLOCA=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_TTOLD_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_TEMPNAM=1 -DHAVE_MEMMOVE=1 -DHAVE_PUTENV=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LIBM=1 -DHAVE_ISNAN=1 -DHAVE_ISINF=1 -DHAVE_ERF=1 -DHAVE_ERFC=1 -DHAVE_LGAMMA=1 -DSIGNGAM_DECLARED=1 -DEXCEPTION_IN_MATH=1 -DRETSIG! TYPE=void