From help-octave-request at bevo dot che dot wisc dot edu Mon Apr 12 04:24:16 1999 Subject: Trouble building Octave on HP From: Rafael Laboissiere To: help-octave at bevo dot che dot wisc dot edu Date: 12 Apr 1999 11:24:17 +0200 I am trying to build Octave 1.2.13.95 for HP and got the following error message: =========================================================================== gmake[2]: Entering directory `/signal/rafael/octave-2.0.13.95/liboctave' c++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -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 `/signal/rafael/octave-2.0.13.95/liboctave' gmake[1]: *** [liboctave] Error 2 gmake[1]: Leaving directory `/signal/rafael/octave-2.0.13.95' gmake: *** [all] Error 2 =========================================================================== Here are my configure options : ./configure --prefix=/public/local.hp9000s700 --enable-shared --enable-shl --enable-lite-kernel It looks like file /usr/include/sys/time.h for the HP system is buggy. Does somebody knows what is wrong and how to fix this? Thanks in advance, -- Rafael Laboissiere Institut de la Communication Parlee / INP Grenoble, France http://www.icp.inpg.fr/~rafael