From help-octave-request at bevo dot che dot wisc dot edu Thu Jan 7 22:45:24 1999 Subject: Compiling Octave 2.0.13 on Solaris 7 x86 From: "Kai O'Yang" To: help-octave at bevo dot che dot wisc dot edu Date: Fri, 08 Jan 1999 15:45:02 +1100 Hi, Has anyone successfully compiled Octave for Solaris 7? I'm using gcc2.8.1, g77-0.5.23, and libstdc++ 2.8.1.1. The problem is at the linking of octave, it complained "relocation error" at Quad.o. Does anyone know what could be the problem? Thanks, Kai gmake[2]: Entering directory `/home/oyang/src/octave/octave-2.0.13/src' c++ -I. -I.. -I../liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H -mieee-fp -fno-rtti -fno-exceptions -fno-implicit-templates -g -O2 -Wall -L.. -fPIC -g -o octave \ octave.o builtins.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 qzval.o rand.o schur.o sort.o svd.o syl.o time.o \ -L../liboctave -L../libcruft -L../src \ ../src/liboctinterp.a ../liboctave/liboctave.a ../libcruft/libcruft.a ../readline/libreadline.a ../kpathsea/libkpathsea.a \ -lg2c -lm -L/usr/ccs/lib -L/usr/lib -L/usr/local/lib/gcc-lib/i386-pc-solaris2.7/2.8.1 -L/usr/local/i386-pc-solaris2.7/lib -L/usr/ccs/bin -L/usr/ccs/lib -L/usr/local/lib -lm -lcurses -lm -lsunmath -ldl -lsocket ld: warning: relocation error: R_386_32: file ../liboctave/liboctave.a(Quad.o): symbol .L_E5737: external symbolic relocation against non-allocatable section .debug; cannot be processed at runtime: relocation ignored ld: warning: relocation error: R_386_32: file ../liboctave/liboctave.a(Quad.o): symbol .L_E5761: external symbolic relocation against non-allocatable section .debug; cannot be processed at runtime: relocation ignored Undefined first referenced symbol in file .L_E5737 ../liboctave/liboctave.a(Quad.o) .L_E5761 ../liboctave/liboctave.a(Quad.o) ld: fatal: Symbol referencing errors. No output written to octave gmake[2]: *** [octave] Error 1 gmake[2]: Leaving directory `/home/oyang/src/octave/octave-2.0.13/src' gmake[1]: *** [src] Error 2 gmake[1]: Leaving directory `/home/oyang/src/octave/octave-2.0.13' gmake: *** [all] Error 2