[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Continuing Problems with Solaris Compile
From: |
Ben Sapp |
Subject: |
Re: Continuing Problems with Solaris Compile |
Date: |
Thu, 24 Aug 2000 08:39:34 -0600 |
Douglas Sturim wrote:
>
> Has anyone been able to compile past 2.1.28 on Solaris 2.6 and 2.7
> machines? I keep getting the following error when I compile versions
> after 2.1.28.
I managed to compile 2.1.31 on Solaris. I remember having problems
like this. I am a bit fogy on whether or not this was the only thing I
did but I have commented out a piece of code on the top of
liboctave/oct-times.cc that looks like this:
#if !defined (_XOPEN_SOURCE)
#define _XOPEN_SOURCE 1
#define OCTAVE_UNDEFINE_XOPEN_SOURCE
#endif
So, comment this out and I think it will work. If not let me know and
I will look into what I did more closely.
> Here is a Solaris 2.6 and gcc 2.95.2 compile error of Octave 2.1.29;
>
> 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 oct-syscalls.cc -o oct-syscalls.o
> 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 oct-time.cc -o oct-time.o
> oct-time.cc: In method `void octave_time::stamp()':
> oct-time.cc:112: aggregate `struct timeval tp' has incomplete type and
> cannot be initialized
> oct-time.cc:117: confused by earlier errors, bailing out
> gmake[2]: *** [oct-time.o] Error 1
> gmake[2]: Leaving directory
> `/data/speech/sturim/octave-2.1.29/liboctave'
> gmake[1]: *** [liboctave] Error 2
> gmake[1]: Leaving directory `/data/speech/sturim/octave-2.1.29'
> gmake: *** [all] Error 2
>
--
Ben Sapp Los Alamos National Laboratory
email: <mailto:address@hidden> Phone: (505)667-3277
Fax: (505)665-7920 URL: http://www.neutrino.lanl.gov/
--
-----------------------------------------------------------------------
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
-----------------------------------------------------------------------