From bug-octave-request at bevo dot che dot wisc dot edu Sat Jan 9 01:45:56 1999 Subject: compiling octave 2.0.13 with egcs1.1.1 on Solaris 7 x86? From: "Kai O'Yang" To: bug-octave at bevo dot che dot wisc dot edu Date: Sat, 9 Jan 1999 18:45:48 +1100 (EST) Hi, I'm trying to compile octave 2.0.13 with egcs 1.1.1 (2.91.60) on Solaris 7 x86. I configured it with "configure --enable-bounds-check" only, and it came up with relocation error at Quad.o at the linking of octave. This has happened before with gcc 2.8.1 as well. Searching the archive, I noticed there was an error about Quad.o several months ago. How was it resolved? (I have patched up 2.0.13 with the patches by Mumit Khan.) Thanks, Kai Enclosed is the error: ... echo making all in src making all in src cd src ; gmake all gmake[2]: Entering directory `/tmp/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/egcs-2.91.60 -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_E4471: 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_E4491: external symbolic relocation against non-allocatable section .debug; cannot be processed at runtime: relocation ignored Undefined first referenced symbol in file .L_E4491 ../liboctave/liboctave.a(Quad.o) bool mx_div_conform(ComplexMatrix, ComplexMatrix)../src/liboctinterp.a(xdiv.o) bool mx_leftdiv_conform(Matrix, Matrix)../src/liboctinterp.a(xdiv.o) bool mx_leftdiv_conform(Matrix, ComplexMatrix)../src/liboctinterp.a(xdiv.o) bool mx_leftdiv_conform(ComplexMatrix, ComplexMatrix)../src/liboctinterp.a(xdiv.o) bool mx_div_conform(Matrix, Matrix)../src/liboctinterp.a(xdiv.o) bool mx_div_conform(ComplexMatrix, Matrix)../src/liboctinterp.a(xdiv.o) bool mx_leftdiv_conform(ComplexMatrix, Matrix)../src/liboctinterp.a(xdiv.o) bool mx_div_conform(Matrix, ComplexMatrix)../src/liboctinterp.a(xdiv.o) .L_E4471 ../liboctave/liboctave.a(Quad.o) ld: fatal: Symbol referencing errors. No output written to octave collect2: ld returned 1 exit status gmake[2]: *** [octave] Error 1 gmake[2]: Leaving directory `/tmp/octave-2.0.13/src' gmake[1]: *** [src] Error 2 gmake[1]: Leaving directory `/tmp/octave-2.0.13' gmake: *** [all] Error 2