From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199712122150.QAA14639@linux03.amt.tay1.dec.com> Date: Fri, 12 Dec 1997 09:22:05 -0500 From: Peter Speier Subject: successful compilation of octave-2.0.9 on RH5 --- anybody? 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