From bug-octave-request at bevo dot che dot wisc dot edu Thu Mar 9 12:03:49 2000 Subject: having build errors From: Kervin To: bug-octave at bevo dot che dot wisc dot edu Date: Thu, 9 Mar 2000 13:06:19 -0500 (EST) i get a link error when compiling 2.0.16 on solaris 7, using gcc 2.95.2 the build goes well for a while then I get the following (link?) errors. any ideas? ... cd src ; make all make[2]: Entering directory `/tmp/octave-2.0.16/src' c++ -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -fno-rtti -fno-exceptions -fno-implicit-templates -g -O2 -Wall -rdynamic \ -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 -Xlinker -R -Xlinker /usr/local/lib/octave-2.0.16 \ ../src/liboctinterp.a ../liboctave/liboctave.a ../libcruft/libcruft.a ../readline/libreadline.a ../kpathsea/libkpathsea.a ../glob/libglob.a \ -lg2c -lm -L/usr/ccs/lib -L/usr/lib -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2 -L/usr/local/sparc-sun-solaris2.7/lib -L/usr/ccs/bin -L/usr/ccs/lib -L/usr/local/lib -lm -lncurses -ldl -lsocket -lm c++: unrecognized option `-rdynamic' rand.o: In function `curr_rand_seed(void)': /tmp/octave-2.0.16/src/rand.cc:75: undefined reference to `getsd_' rand.o: In function `set_rand_seed(double)': /tmp/octave-2.0.16/src/rand.cc:102: undefined reference to `setsd_' rand.o: In function `do_initialization(void)': /tmp/octave-2.0.16/src/rand.cc:143: undefined reference to `setall_' rand.o: In function `do_rand(octave_value_list const &, int)': /tmp/octave-2.0.16/src/rand.cc:189: undefined reference to `setcgn_' /tmp/octave-2.0.16/src/rand.cc:307: undefined reference to `dgenunf_' /tmp/octave-2.0.16/src/rand.cc:312: undefined reference to `dgennor_' rand.o: In function `reset_rand_generator(void *)': /tmp/octave-2.0.16/src/rand.cc:361: undefined reference to `setcgn_' rand.o: In function `Frandn(octave_value_list const &, int)': /tmp/octave-2.0.16/src/rand.cc:398: undefined reference to `setcgn_' ../liboctave/liboctave.a(CollocWt.o): In function `CollocWt::init(void)': /tmp/octave-2.0.16/liboctave/CollocWt.cc:128: undefined reference to `jcobi_' /tmp/octave-2.0.16/liboctave/CollocWt.cc:138: undefined reference to `dfopr_' /tmp/octave-2.0.16/liboctave/CollocWt.cc:150: undefined reference to `dfopr_' /tmp/octave-2.0.16/liboctave/CollocWt.cc:161: undefined reference to `dfopr_' ... tmp/octave-2.0.16/liboctave/dbleSCHUR.cc:130: undefined reference to `dgeesx_' ../liboctave/liboctave.a(dbleSVD.o): In function `SVD::init(Matrix const &, SVD::type)': /tmp/octave-2.0.16/liboctave/dbleSVD.cc:142: undefined reference to `dgesvd_' collect2: ld returned 1 exit status make[2]: *** [octave] Error 1 make[2]: Leaving directory `/tmp/octave-2.0.16/src' make[1]: *** [src] Error 2 ____________________________________________________________ Kervin Pierre The early buyer gets the bugs. --Tech Wisdom #5 ----------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.che.wisc.edu/octave/octave.html How to fund new projects: http://www.che.wisc.edu/octave/funding.html Subscription information: http://www.che.wisc.edu/octave/archive.html -----------------------------------------------------------------------