help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

octave-2.0.16: Failed to Compile


From: Youngert
Subject: octave-2.0.16: Failed to Compile
Date: Tue, 08 Feb 2000 23:17:58 -0500

Hi,

I just downloaded a copy of octave-2.0.16 and tried to compile it on my
AMD K6-2 400Mhz with SuSE-6.3 Linux distro to no avail.  The following
is the configuration output from octave-2.0.16:

+++++
 Octave is now configured for i386-ABiX-linux-gnu
 
  Source directory:     .
  Installation prefix:  /usr
  C compiler:           gcc  -mieee-fp -O2 -m486 -fno-strength-reduce
  C++ compiler:         c++  -mieee-fp -fno-rtti -fno-exceptions
-fno-implicit-t  Fortran compiler:     g77 -O
  Fortran libraries:     -lg2c -lm
-L/usr/lib/gcc-lib/i486-linux/egcs-2.91.66 -L  Use GNU readline:    
true
  Default pager:        less
  gnuplot:              gnuplot
 
  Do internal array bounds checking:       true
  Build shared libraries:                  true
  Minimal kernel option:                   true
  Dynamic Linking (dlopen/dlsym):          true
  Dynamic Linking (shl_load/shl_findsym):  false
+++++

The compilation failed when trying to compile src/getrusage.cc with the
followign error:

+++++
  c++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc 
-I../glob -I.
    es -g -O2 -Wall getrusage.cc -o pic/getrusage.o
    getrusage.cc: In function `class octave_value_list Fgetrusage(const
class octave_value_list &, int)':
    getrusage.cc:80: aggregate `struct rusage ru' has incomplete type
and cannot be initialized
    getrusage.cc:82: confused by earlier errors, bailing out
    make[2]: *** [pic/getrusage.o] Error 1
    make[2]: Leaving directory
`/usr/src/packages/BUILD/octave-2.0.16/src'
    make[1]: *** [src] Error 2
    make[1]: Leaving directory `/usr/src/packages/BUILD/octave-2.0.16'
    make: *** [all] Error 2
+++++

Does this happen to anyone?

-- 
address@hidden

PS> Remove the "4" from e-mail address to respond.



-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.che.wisc.edu/octave/octave.html
How to fund new projects:  http://www.che.wisc.edu/octave/funding.html
Subscription information:  http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]