From bug-octave-request Thu May 20 12:01:32 1993 Subject: problems From: Kenneth H. Simpson To: bug-octave Date: Thu, 20 May 93 10:04:05 PDT Not sure where to send this. I just made a first pass at building Octave on a SPARCstation 2 under SunOS 4.1.2 using gcc 2.3.3 and GNU make. There are a number of problems (besides lots of g++ warnings), namely (i) in the Makefile for ./src, VPATH is defined as VPATH = .:./../bsd-math which caused the /bin/sh to dump core. I had placed comments around the path to get it to compile the source in the directory (ii) the linking of octave failed with following list of undefined functions (which were compiled in their repective directories under ./libcruft but nm on libcruft.a indicates they don't exist g++ -O -g -Wall -I. -I./../liboctave -I./../dld -I./.. -I. -I../liboctave -I../dld -I.. -DNPSOL_MISSING=1 -DQPSOL_MISSING=1 -DFSQP_MISSING=1 -DF77_APPEND_UNDERSCORE=1 -DHAVE_UNISTD_H=1 -DDIRENT=1 -DRETSIGTYPE=void -DHAVE_TERMIO_H=1 -DHAVE_FINITE=1 -DHAVE_ISNAN=1 -DHAVE_ISINF=1 -g -Wall -L.. -o octave \ arith-ops.o builtins.o error.o g-builtins.o gripes.o help.o idx-vector.o input.o lex.o mappers.o octave.o octave-hist.o parse.o procstream.o sighandlers.o symtab.o t-builtins.o tc-assign.o tc-extras.o tc-index.o tree-const.o tree-plot.o tree.o user-prefs.o utils.o variables.o xdiv.o xpow.o tc-colloc.o tc-dassl.o tc-det.o tc-eig.o tc-fft.o tc-fsolve.o tc-fsqp.o tc-ifft.o tc-inv.o tc-lsode.o tc-lu.o tc-npsol.o tc-qr.o tc-quad.o tc-rand.o tc-svd.o \ ../liboctave.a ../libcruft.a ../libreadline.a \ \ -lF77 -lI77 -ltermcap -lm -lg++ ld: Undefined symbol _hybrd1_ _zgeev_ _zgesvd_ _zgemv_ _zgedi_ _lsode_ _cffti_ _zgeqrf_ _dgesv_ _dgenunf_ _zgesl_ _dgennor_ _zungqr_ _dqagp_ _zgeco_ _dgeev_ _dgemv_ _dgedi_ _ddot_ _dgesl_ _zgemm_ _dfopr_ _ddassl_ _dgeco_ _dgesvd_ _cfftb_ _dgeqrf_ _dorgqr_ _dgemm_ _hybrj1_ _jcobi_ _zgesv_ _radau_ _setall_ _dqagi_ _getsd_ _cfftf_ collect: /usr/bin/ld returned 2 exit status make: *** [octave] Error 1