From bug-octave-request at bevo dot che dot wisc dot edu Wed Jan 22 18:03:37 2003 Subject: Re: Bug report: compiling problem for 2.1.43 From: Tim Gollnik To: bug-octave at bevo dot che dot wisc dot edu Date: Thu, 23 Jan 2003 01:04:05 +0100 Am Donnerstag, 23. Januar 2003 00:08 schrieb John W. Eaton: > | of `tempnam' is dangerous, better use `mkstemp' > | ../libcruft/libcruft.a(zbdsqr.o): In function `zbdsqr_': > | zbdsqr.o(.text+0x8c1): undefined reference to `zdrot_' > | zbdsqr.o(.text+0x922): undefined reference to `zdrot_' > | zbdsqr.o(.text+0x968): undefined reference to `zdrot_' > | collect2: ld devolvió el estado de salida 1 > | make[2]: *** [octave] Error 1 > | make[2]: Saliendo directorio `/usr/src/src/math/octave-2.1.43/src' > | make[1]: *** [src] Error 2 > | make[1]: Saliendo directorio `/usr/src/src/math/octave-2.1.43' > | make: *** [all] Error 2 > | > | I fixed it like this: > | I'm not saying this should be changed like this, but blas/zdrot.o should > | be in CRUFT_OBJ somehow. > | Somebody please have a look at it. > | > | --- octave-2.1.43/libcruft/Makefile.in Wed Nov 20 20:03:05 2002 > | +++ octave-2.1.43.new/libcruft/Makefile.in Thu Jan 16 18:09:27 2003 > | at @ -96,7 +96,7 @@ > | $(MAKE) $(LIBRARIES) > | .PHONY: libraries > | > | -libcruft.$(LIBEXT): $(CRUFT_OBJ) > | +libcruft.$(LIBEXT): $(CRUFT_OBJ) blas/zdrot.o > | rm -f $ at > | $(AR) $(ARFLAGS) $ at $^ > | $(RANLIB) $ at > > The list of files to add to libcruft is generated automatically and > should include all the .f files in the blas directory (if you are > compiling with --with-blas=no or your system doesn't have a blas > library installed when you configure Octave). This seems to work > correctly for me. Can you please try to debug why it failed on your > system? > > Thanks, > > jwe > > Hello I have similar problems, but if I try to compile with --with-blas=no I get a very strange error when I try 'make'. In Makeconfig, line 284, there is the following: # The -I flags to use for the mkoctfile script. ifeq ($(includedir,/usr/include) MKOCTFILE_INCFLAGS = \ -I$(octincludedir) -I$(octincludedir)/octave else MKOCTFILE_INCFLAGS = \ -I$(octincludedir) -I$(octincludedir)/octave -I$(includedir) endif Obviously there's a ) missing. After replacing 'ifeq ($(includedir,/usr/include)' with 'ifeq ($(includedir),/usr/include)' it seems to work. Tim Gollnik ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------