build problem under Solaris 2.5.1

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

build problem under Solaris 2.5.1

Ray Anderson-2
I am attempting to build Octave 2.0.9 on a Sun Ultra-2 running
Solaris 2.0.9. The compiler is gcc version cygnus-2.7-96q4


The build proceed fairly smoothly until I get down to making the src
directory.



When it tries to make the builtins I get the following:


c++  -I. -I.. -I../liboctave -I../src -I../glob -I../libcruft/misc  
-DHAVE_CONFIG_H    -g -O2 -L..    -fPIC -g -o octave \
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 \
-L../liboctave -L../libcruft -L../readline -L../kpathsea -L../glob -L../dlfcn
-L. -Xlinker -R -Xlinker /usr/local/lib \
-loctinterp -loctave -ltinst -lcruft  -lreadline -lkpathsea -lglob  \
-Xlinker -R -Xlinker (null)  
-R/usr/dist/pkgs/devpro/5bin.sun4/lib:/opt/SUNWspro/lib  
-L/usr/dist/pkgs/devpro/5bin.sun4/lib
-L/usr/dist/pkgs/devpro/5bin.sun4/SC4.2/lib -L/usr/ccs/lib -L/usr/lib
/usr/dist/pkgs/devpro/5bin.sun4/SC4.2/lib/libM77.a -lF77 -lsunmath -lm -lcx -lc  
-lcurses -lm -lsunmath -ldl -lsocket
/bin/sh: syntax error at line 1: `(' unexpected
gmake[2]: *** [octave] Error 2
gmake[1]: *** [src] Error 2
gmake: *** [all] Error 2


Apparently the (null) statement near the Xlinker flags is causing a problem
from what I can tell.

Has anyone seen this particular problem or have a suggestion of what
to check and/or modify?

Ray Anderson
[hidden email]


Reply | Threaded
Open this post in threaded view
|

build problem under Solaris 2.5.1

John W. Eaton-6
On  1-Dec-1997, Ray Anderson <[hidden email]> wrote:

| I am attempting to build Octave 2.0.9 on a Sun Ultra-2 running
| Solaris 2.0.9. The compiler is gcc version cygnus-2.7-96q4
|
| The build proceed fairly smoothly until I get down to making the src
| directory.
|
| When it tries to make the builtins I get the following:

  ...

| /bin/sh: syntax error at line 1: `(' unexpected
| gmake[2]: *** [octave] Error 2
| gmake[1]: *** [src] Error 2
| gmake: *** [all] Error 2
|
|
| Apparently the (null) statement near the Xlinker flags is causing a problem
| from what I can tell.
|
| Has anyone seen this particular problem or have a suggestion of what
| to check and/or modify?

Yes.  Look at Makeconf and delete `-Xlinker -R -Xlinker (null)'
wherever it appears then run make again.

I think this problem has been fixed for the next release.

Thanks,

jwe