[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
2.1.33 compile failure on osf 5.0
From: |
Phil Cummins |
Subject: |
2.1.33 compile failure on osf 5.0 |
Date: |
Tue, 3 Apr 2001 16:36:11 +0900 |
Hello,
I am trying to compile octave-2.1.33 on osf 5.0. We have
Compaq's fortran compiler but not there c++ compiler, so I
have installed gcc-2.95.3. I also installed GNU make-3.79.1,
gnuplot-3.8b, and texinfo-4.0.
Perhaps I should point out that I installed gcc for the
purpose of compiling octave, so I'm not sure that there isn't
a problem with the g++ install. Texinfo compiles and links
OK, so I think gcc works.
'uname -a' reports:
OSF1 seamount.hq.jamstec.go.jp V5.0 1094 alpha
'./configure' reports (at the end):
Octave is now configured for alphaev6-dec-osf5.0
Source directory: .
Installation prefix: /usr/local
C compiler: gcc -mieee-with-inexact -g -O2 -Wall
C++ compiler: c++ -mieee-with-inexact -fno-rtti -fno-exceptions
-fno-implicit-templates -g -O2 -Wall
Fortran compiler: f77 -fpe1 -O
Fortran libraries: -lUfor -lfor -lFutil -lm -lots -lm_c32 -lm
Use GNU readline: true
Default pager: more
gnuplot: gnuplot
Do internal array bounds checking: false
Build static libraries: true
Build shared libraries: false
Minimal kernel option: false
Dynamic Linking (dlopen/dlsym): true
Dynamic Linking (shl_load/shl_findsym): false
Include support for GNU readline: true
'make' first fails with:
gcc xstat.c -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -g -O2 -c -o
STATIC/xstat.o
xstat.c:41: macro `lstat' used without args
make[2]: *** [xstat.lo] Error 1
I found that if I comment out line 41 in xstat.c:
/*extern int lstat ();*/
the make gets through kpathsea, and compilation proceeds for
quite some time, but finally fails with:
c++ -I. -I../.. -I../../liboctave -I../../src -I../../libcruft/misc
-I../../glob -I../../glob -DHAVE_CONFIG_H -mieee-with-inexact -fno-rtti
-fno-exceptions -fno-implicit-templates -g -O2 -Wall -L../.. -g -o
munge-texi munge-texi.o Map-s.o
/usr/bin/ld:
/usr/local/lib/gcc-lib/alphaev6-dec-osf5.0/2.95.3/libgcc.a(_eh.o):
_GLOBAL_$F$__default_terminate: multiply defined
/usr/local/lib/gcc-lib/alphaev6-dec-osf5.0/2.95.3/libgcc.a(frame.o):
__register_frame_info_table: multiply defined
/usr/local/lib/gcc-lib/alphaev6-dec-osf5.0/2.95.3/libgcc.a(frame.o):
__deregister_frame_info: multiply defined
collect2: ld returned 1 exit status
Does anyone have any suggestions that might resolve this
problem? Many thanks.
--
---------------------------------------------------------------------
Phil R Cummins address@hidden
Frontier Research for Subduction Dynamics tel(i/d):81/0-468-67-3393
JAMSTEC, 2-15 Natsushima-cho fax(i/d):81/0-468-67-3409
Yokosuka 237-0061, Japan
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- 2.1.33 compile failure on osf 5.0,
Phil Cummins <=