[Top][All Lists]

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

Compilation problem on DEC alpha

From: Kemal Gurer
Subject: Compilation problem on DEC alpha
Date: Wed, 14 Jun 2000 09:11:07 -0700

Hello all,

I am trying to compile octave on a Dec-Alpha, and came accross with
a compilation problem. I copied the error message below for your
information. It appears that some people have already come accross with
this error as the header in file  ./liboctave/ indicates as:

// I am told that without _BSD_SOURCE, tm_zone won't be declared on
// some systems.  Defining _XOPEN_SOURCE provides the declaration for
// strptime on some others.

Then, how and where (in which file/routine) do I need to declare
"_BSD_SOURCE" that is required to continue on this compilation? What
value should I set this variable to? How can I know if this declaration
is in
compliance with my machine's configuration?

I appreciate your help. Thank you.

Kemal Gurer, Ph.D.
California Environmental Protection Agency
Air Resources Board
Planning and Technical Support Division
2020 L Street
Sacramento, CA 95814
(916) 327 6257 
(916) 327 8524 (Fax)


c++ -c  -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -I../glob
-mieee-with-inexact -fno-rtti -fno-exceptions -fno-implicit-templates -g
-Wall -o oct-time.o In method `octave_time::octave_time(const octave_base_tm
&)': `struct tm' has no member named `tm_zone' In method `class string octave_base_tm::strftime(const
string &) const': `struct tm' has no member named `tm_zone' In method `void octave_base_tm::init(void *)': `struct tm' has no member named `tm_zone' In method `void octave_strptime::init(const string &, const
string &)': `struct tm' has no member named `tm_zone'
make[2]: *** [oct-time.o] Error 1
make[2]: Leaving directory
make[1]: *** [liboctave] Error 2
make[1]: Leaving directory `/disk2/kgurer/utils/installed/octave-2.1.29'

make: *** [all] Error 2-

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

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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