Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* successful compilation of octave-2.0.9 on RH5 --- anybody?
@ 1997-12-12 14:22 Peter Speier
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Speier @ 1997-12-12 14:22 UTC (permalink / raw)


Hi,
I'm trying to get octave compiled on a RH alpha.
(I know there is osf binary that seems to run, but I kneed the libraries
for my programs.)

I started with RH4.2, but the included f2c obviously didn't work.
(Error :  floating exception during constant evaluation; cannot
recover.)
On Sun RH4.2 octave compiled without a problem (except two missing links
to libraries)

After a short unsuccessful try with egcs1.0 I decided to set my hope in
RH5.0.
Now f2c seems to work. There is even a SRPM patched for Hurricane that I
tried.

Unfortunately the dynamically linked binary coredumps immediately when
reaching the first
"cout<<" statement.

Linking static does not succeed but results in:

ld -m elf64alpha -G 8 -O3 -static -o octave -u MAIN__ /usr/lib/crt1.o
/usr/lib/crti.o /usr/lib/crtbegin.o -L.. -L../liboctave -L../libcruft
-L../readline -L../kpathsea -L../glob -L../dlfcn -L.
-L/usr/lib/gcc-lib/alpha-redhat-linux/2.7.2.3 octave.o builtins.o
balance.o chol.o colloc.o dassl.o det.o eig.o expm.o fft.o fft2.o
filter.o find.o fsolve.o getgrent.o getpwent.o getrusage.o givens.o
hess.o ifft.o ifft2.o inv.o log.o lpsolve.o lsode.o lu.o minmax.o pinv.o
qr.o quad.o qzval.o rand.o schur.o sort.o svd.o syl.o time.o -loctinterp
-loctave -ltinst -lcruft -lOctaveReadline -lkpathsea -lglob -lf2c
-lncurses -ldl -lstdc++ -lm -lgcc -lc -lgcc /usr/lib/crtend.o
/usr/lib/crtn.o
/usr/lib/libc.a(iofclose.o): In function `_IO_fclose':
/usr/src/bs/BUILD/glibc-2.0.5/libio/iofclose.c:33: multiple definition
of `_IO_fclose'
/usr/lib/libstdc++.a(iofclose.o):/usr/src/bs/BUILD/libg++-2.7.2/libio/iofclose.c:33:
first defined here
...

This looks to me like a conflict between libstdc++ and libc?

Was anybody successful in compiling octave under alpha RH5.0 (or 4.2)?
Could I be doing something wrong or is this a bug?

If it is a conflict between the libraries, is there a matching set of
gnu/c/c++ libraries?

I need the octave libraries pretty badly,
so every help is greatly appreciated,

Peter Speier

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-12-12 16:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3491488D.7DD16337@sugar-land.spc.slb.com>
1997-12-12 16:15 ` successful compilation of octave-2.0.9 on RH5 --- anybody? Michal Jaegermann
1997-12-12 14:22 Peter Speier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox