[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compiling octave with gcc2.95.2 on solaris 2.5.1
From: |
Alfredo Tomasini |
Subject: |
compiling octave with gcc2.95.2 on solaris 2.5.1 |
Date: |
Mon, 05 Jun 2000 13:11:32 -0700 |
I am trying to compile octave2.0.16 on solaris 2.5 by using gcc2.95.2.
I got two errors releatd with the includes file, gethostname() and
getrusage() are not found.
in some way I manage to fix it but I just postpone the error to the
linker level. The linker is not finding the primitive.
-lsocket is included, so I was not expecting a gethostname() error.
The original error is:
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 octave.cc
octave.cc: In function `void initialize_globals(const string &)':
octave.cc:209: implicit declaration of function `int gethostname(...)'
make[2]: *** [octave.o] Error 1
make[2]: Leaving directory `/lhome/tmp/octave-2.0.16/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/lhome/tmp/octave-2.0.16'
make: *** [all] Error 2
Any suggestion ?
Alfredo
-----------------------------------------------------------------------
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
-----------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- compiling octave with gcc2.95.2 on solaris 2.5.1,
Alfredo Tomasini <=