[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Linking problems in alpha
From: |
Trond Varslot |
Subject: |
Re: Linking problems in alpha |
Date: |
Tue, 31 Jul 2001 20:16:35 +1000 |
Hi,
Which make program are you using?
I had similar problems compiling octave on Solaris 5.6 a while ago (See my
posting on help-octave:
http://www.octave.org/mailing-lists/help-octave/2001/70.
In my instance the problem turned out to be make. I started out using gnu
make-3.77, and octave-2.1.33 would not compile. The error messages were
similar, but I would nok know if they were identical. However, upgrading to
make-3.79.1 octave-2.1.33 compiled fine. The complaints about -rdynamic not
being supported did not go away, but atleast I was able to compile and run
octave without problems.
I hope this can be of help to you.
Yours sincerely
Trond Varslot.
At 11:39 27/07/2001 +0300, you wrote:
>Hi everybody,
>
>I was trying to compile Octave-2.1.34 in OSF1 V4.0 878 alpha -system.
>Compilation goes fine, but the final linking step doesn't. I get the
>following error message:
>
>----------------
>
>make[2]: Entering directory /scratch/tpikonen/octave-2.1.34/src'
>c++ -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob
>-I../glob -DHAVE_CONFIG_H -mieee-with-inexact -fno-implicit-templates -g -O2
>-Wall -rdynamic \
>-L.. -g -o octave \
>octave.o builtins.o ops.o ../libcruft/blas-xtra/xerbla.o balance.o
>besselj.o betainc.o chol.o colloc.o dassl.o det.o eig.o expm.o fft.o
>fft2.o filter.o find.o fsolve.o gammainc.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 qz.o rand.o schur.o sort.o
>svd.o syl.o time.o \
>-L../liboctave -L../libcruft -L../src -Xlinker -rpath -Xlinker
>/usr/local/contrib/gnu/lib/octave-2.1.34 \
>../src/liboctinterp.a ../liboctave/liboctave.a ../libcruft/libcruft.a
>../readline/libreadline.a ../kpathsea/libkpathsea.a ../glob/glob.o
>../glob/fnmatch.o \
> -lncurses -ldxml -lz -lm -lg2c -lm
>-L/usr/local/lib/gcc-lib/alphaev5-dec-osf4.0d/2.95.1 -L/usr/lib/cmplrs/cc
>-L/usr/local/lib -lm
>c++: unrecognized option -rdynamic'
>/usr/bin/ld:
>write_obj: malloc(215104.) failed
>collect2: ld returned 1 exit status
>make[2]: *** [octave] Error 1
>make[2]: Leaving directory /scratch/tpikonen/octave-2.1.34/src'
>make[1]: *** [src] Error 2
>make[1]: Leaving directory /scratch/tpikonen/octave-2.1.34'
>make: *** [all] Error 2
>
>-----------------
>
>The size of the ld -process grows to about 200M during linking, which
>shouldn't be over any memory limits I have. I also tried linking with
>GNU ld, but that resulted in another set of error messages. The version of
>gcc I used was 2.95.1.
>
>I've successfully compiled Octave 2.1.31 on the same system, so the breakage
>of this version is a bit of a mystery. If someone has experience on compiling
>the latest Octave on alpha, I'd appreciate if you could help me.
>
>Teemu
>
Bloom where you are planted.
http://www.alphalink.com.au/~leda/
http://www.geocities.com/Athens/Ithaca/9286/
http://www.allreaders.com/ProfileView.asp?Name=Janet+Gratton&TopicID=2720
-------------------------------------------------------------
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
-------------------------------------------------------------