From bug-octave-request at bevo dot che dot wisc dot edu Tue Nov 10 23:32:00 1998 Subject: error compiling octave 2.0.13 on HP-UX 10.20 From: "Dr.-Ing. Torsten Finke" To: bug-octave at bevo dot che dot wisc dot edu Date: Tue, 10 Nov 1998 23:31:23 -0600 (CST) TO: bug-octave at bevo dot che dot wisc dot edu Hi ! ------- Without success I tried to compile OCTAVE on my HP-UX 10.20. I got the following applications: - GNU Make version 3.77 - gcc version 2.8.1 - f77 ------- then I tried various forms of configuring for example the following, but the resulting error does not depend on the configuration: CC='gcc -traditional' DEFS='-DNO_SYS_SIGLIST' configure --prefix=/opt/octave --enable-shared --enable-shl --------- the following GMAKE said this: gmake[2]: Entering directory `/Depot/HP-UX_10.20/Octave/octave-2.0.13/liboctave' c++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H -fno-rtti -fno-exceptions -fno-implicit-templates -g -O2 -Wall Bounds.cc In file included from /usr/include/sys/resource.h:21, from /opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include/sys/wait.h:83, from /opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include/stdlib.h:231, from /opt/gcc/include/g++/cstdlib:6, from Array.h:32, from MArray.h:31, from dColVector.h:30, from Bounds.h:32, from Bounds.cc:33: /usr/include/sys/time.h:337: `extern' can only be specified for objects and functions gmake[2]: *** [Bounds.o] Error 1 gmake[2]: Leaving directory `/Depot/HP-UX_10.20/Octave/octave-2.0.13/liboctave' gmake[1]: *** [liboctave] Error 2 gmake[1]: Leaving directory `/Depot/HP-UX_10.20/Octave/octave-2.0.13' gmake: *** [all] Error 2 -------- I think this error should not occur but I can't get it off. So would You please give me some information to get my octave working. There are quite good archives containing HP-UX software for instance on http://hpux.csc.liv.ac.uk but they only have OCTAVE 1.0. I would like to put a newer one over there. Thanks T. Finke -------- Here I append the config.log, that talks about an error concerning "sys_siglist": ******* config.log ******** This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:600: checking host system type configure:820: checking for c++ configure:851: checking whether the C++ compiler (c++ ) works configure:865: c++ -o conftest conftest.C 1>&5 configure:891: checking whether the C++ compiler (c++ ) is a cross-compiler configure:896: checking whether we are using GNU C++ configure:920: checking whether c++ accepts -g configure:948: checking how to run the C++ preprocessor configure:1011: checking for C++ support for new friend template declaration configure:1085: checking for gcc configure:1162: checking whether the C compiler (gcc ) works configure:1176: gcc -o conftest conftest.c 1>&5 configure:1196: checking whether the C compiler (gcc ) is a cross-compiler configure:1201: checking whether we are using GNU C configure:1225: checking whether gcc accepts -g configure:1253: checking how to run the C preprocessor configure:1315: checking whether gcc needs -traditional configure:1732: checking whether c++ accepts -fno-rtti configure:1788: checking whether c++ accepts -fno-exceptions configure:1846: checking whether c++ accepts -fno-implicit-templates configure:1928: checking for ranlib configure:2006: checking for g77 configure:2044: checking for Fortran libraries configure:2197: checking whether f77 uses uppercase external names configure:2222: checking whether f77 appends underscores to external names configure:2254: checking whether f77 is the GNU Fortran compiler configure:2285: checking f77/f2c compatibility configure:2796: checking for POSIXized ISC configure:2818: checking for minix/config.h configure:2866: checking for AIX configure:2890: checking for getpwnam in -lsun configure:2937: checking for gethostname in -lsocket configure:3034: checking size of short configure:3073: checking size of int configure:3112: checking size of long configure:3156: checking for working alloca.h configure:3189: checking for alloca configure:3383: checking for working const configure:3461: checking whether including defines NPOS configure:3512: checking for ANSI C header files configure:3620: checking for dirent.h that defines DIR configure:3658: checking for opendir in -ldir configure:3741: checking whether time.h and sys/time.h may both be included configure:3776: checking for sys/wait.h that is POSIX.1 compatible configure:3827: checking for assert.h configure:3827: checking for curses.h configure:3827: checking for dlfcn.h configure:3827: checking for fcntl.h configure:3827: checking for float.h configure:3827: checking for floatingpoint.h configure:3827: checking for fnmatch.h configure:3827: checking for glob.h configure:3827: checking for grp.h configure:3827: checking for ieeefp.h configure:3827: checking for limits.h configure:3827: checking for memory.h configure:3827: checking for nan.h configure:3827: checking for ncurses.h configure:3827: checking for pwd.h configure:3827: checking for sgtty.h configure:3827: checking for stdlib.h configure:3827: checking for string.h configure:3827: checking for sys/param.h configure:3827: checking for sys/resource.h configure:3827: checking for sys/select.h configure:3827: checking for sys/stat.h configure:3827: checking for sys/time.h configure:3827: checking for sys/times.h configure:3827: checking for sys/types.h configure:3827: checking for sys/utsname.h configure:3827: checking for termcap.h configure:3827: checking for termio.h configure:3827: checking for termios.h configure:3827: checking for unistd.h configure:3827: checking for varargs.h configure:3879: checking for glob in -lglob configure:3928: checking for fnmatch configure:3928: checking for glob configure:4003: checking for atexit configure:4003: checking for bcopy configure:4003: checking for bzero configure:4003: checking for dup2 configure:4003: checking for endgrent configure:4003: checking for endpwent configure:4003: checking for execvp configure:4003: checking for fcntl configure:4003: checking for fork configure:4003: checking for getcwd configure:4003: checking for getegid configure:4003: checking for geteuid configure:4003: checking for getgid configure:4003: checking for getgrent configure:4003: checking for getgrgid configure:4003: checking for getgrnam configure:4003: checking for gethostname configure:4003: checking for getpgrp configure:4003: checking for getpid configure:4003: checking for getppid configure:4003: checking for getpwent configure:4003: checking for getpwnam configure:4003: checking for getpwuid configure:4003: checking for gettimeofday configure:4003: checking for getuid configure:4003: checking for getwd configure:4003: checking for lstat configure:4003: checking for memmove configure:4003: checking for mkdir configure:4003: checking for mkfifo configure:4003: checking for on_exit configure:4003: checking for pipe configure:4003: checking for putenv configure:4003: checking for rename configure:4003: checking for rindex configure:4003: checking for rmdir configure:4003: checking for setgrent configure:4003: checking for setpwent configure:4003: checking for setvbuf configure:4003: checking for sigaction configure:4003: checking for sigpending configure:4003: checking for sigprocmask configure:4003: checking for sigsuspend configure:4003: checking for stat configure:4003: checking for strcasecmp configure:4003: checking for strdup configure:4003: checking for strerror configure:4003: checking for stricmp configure:4003: checking for strncasecmp configure:4003: checking for strnicmp configure:4003: checking for tempnam configure:4003: checking for umask configure:4003: checking for unlink configure:4003: checking for usleep configure:4003: checking for vfprintf configure:4003: checking for vsprintf configure:4003: checking for waitpid configure:4057: checking whether putenv uses malloc configure:4139: checking whether program_invocation_name is predefined configure:4184: checking for dlopen in -ldl configure:4233: checking for dlopen configure:4233: checking for dlsym configure:4233: checking for dlerror configure:4233: checking for dlclose configure:4313: checking for shl_load in -ldld configure:4362: checking for shl_load configure:4362: checking for shl_findsym configure:4452: checking for gettimeofday configure:4502: gcc -c -g -O2 conftest.c 1>&5 configure:4528: checking for quiet_nan in -lsunmath configure:4628: checking for sin in -lm configure:4705: checking for finite configure:4705: checking for isnan configure:4705: checking for isinf configure:4705: checking for infinity configure:4705: checking for quiet_nan configure:4765: checking for acosh configure:4765: checking for asinh configure:4765: checking for atanh configure:4765: checking for erf configure:4765: checking for erfc configure:4821: checking for st_blksize in struct stat configure:4855: checking for st_blocks in struct stat configure:4891: checking for st_rdev in struct stat configure:4925: checking whether struct tm is in sys/time.h or time.h configure:4959: checking for tm_zone in struct tm configure:4992: checking for tzname configure:5029: checking whether closedir returns void configure:5067: checking for gr_passwd in struct group configure:5104: checking for tputs in -lncurses configure:5104: checking for tputs in -lcurses configure:5164: checking for struct exception in math.h configure:5173: gcc -o conftest -g -O2 -g conftest.c -lm -ldld 1>&5 configure:5191: checking return type of signal handlers configure:5232: checking for sys_siglist declaration in signal.h or unistd.h configure:5270: checking for sys_siglist variable configure:5279: gcc -o conftest -g -O2 -g conftest.c -lm -ldld 1>&5 collect2: ld returned 1 exit status /usr/ccs/bin/ld: Unsatisfied symbols: sys_siglist (data) configure: failed program was: #line 5272 "configure" #include "confdefs.h" #include int main() { extern char *sys_siglist[]; printf ("%s\n", sys_siglist[1]); ; return 0; } configure:5295: checking for type of signal functions configure:5396: checking if signal handlers must be reinstalled when invoked configure:5480: checking for mode_t configure:5513: checking for off_t configure:5546: checking for pid_t configure:5579: checking for size_t configure:5612: checking for uid_t in sys/types.h configure:5646: checking for dev_t configure:5679: checking for ino_t configure:5712: checking for nlink_t configure:5745: checking for sigset_t configure:5798: checking for getrusage configure:5798: checking for times configure:5897: checking for flex configure:5930: checking for yywrap in -ll configure:5991: checking for bison configure:5991: checking for byacc configure:6030: checking whether ln -s works configure:6059: checking for runtest configure:6103: checking for a BSD compatible install configure:6173: checking for gnuplot configure:6200: checking to see if your gnuplot supports multiplot configure:6212: checking to see if your gnuplot supports multiple plot windows configure:6258: checking for less configure:6329: checking whether gcc accepts -Wall configure:6383: checking whether c++ accepts -Wall ********** config.log ************** -- ------------------------------------------------------------------------ Dr.-Ing. Torsten Finke Ingenieurgemeinschaft IgH Heinz-Baecker-Str. 34 D-45356 Essen Tel.: +49 201 / 61 99 31 Fax.: +49 201 / 61 98 36 E-mail: torsten dot finke at igh-essen dot com ------------------------------------------------------------------------