help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About octave (and extras) compilation


From: Raphael Schneider
Subject: Re: About octave (and extras) compilation
Date: Thu, 17 Oct 2002 11:25:22 +0200
User-agent: KMail/1.4.3

On Wednesday 16 October 2002 20:10, John W. Eaton wrote:
> The Octave sources from the CVS archive should compile OK with gcc 3.2.
I tried to compile the sources from CVS on SuSE 8.1 with gcc 3.2,
automake 1.6.3 and autoconf 2.53.

I have some problems:
1. autogen.sh produce a warning:
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.

WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: `acconfig.h':

WARNING:   AC_DEFINE([NEED_MAIN], 1,
WARNING:             [Define if a function `main' is needed.])

WARNING: More sophisticated templates can also be produced, see the
WARNING: documentation.

2. The compile (link) failed with this message:
g++  -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -I../glob -I../glob 
-DHAVE_CONFIG_H -mieee-fp -g -O2 -Wall -rdynamic \
-L..  -fPIC  -o octave \
octave.o builtins.o ops.o ../libcruft/blas-xtra/xerbla.o  balance.o  besselj.o  
betainc.o  chol.o  colloc.o  daspk.o  dasrt.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  kron.o  log.o  
lpsolve.o  lsode.o  lu.o  minmax.o  odessa.o  pinv.o  qr.o  quad.o  qz.o  
rand.o  schur.o  sort.o  svd.o  syl.o  time.o \
-L../liboctave -L../libcruft -L../src -Xlinker -rpath -Xlinker 
/usr/local/lib/octave-2.1.36 \
../src/liboctinterp.a ../liboctave/liboctave.a  ../libcruft/libcruft.a  
../glob/glob.o ../glob/fnmatch.o  ../kpathsea/libkpathsea.a \
 -lblas -ldfftw -lreadline  -lncurses -ldl -lm  
-L/usr/lib/gcc-lib/i486-suse-linux/3.2 
-L/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/lib 
-L/usr/lib/gcc-lib/i486-suse-linux/3.2/../../.. -lfrtbegin -lg2c -lm -lgcc_s
../liboctave/liboctave.a(file-ops.o): In function 
`file_ops::tempnam(std::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&, std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, 
std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
/home/rasch/downloads/octave_cvs/octave/liboctave/file-ops.cc:323: the use of 
`tempnam' is dangerous, better use `mkstemp'
../libcruft/libcruft.a(zbdsqr.o): In function `zbdsqr_':
zbdsqr.o(.text+0x819): undefined reference to `zdrot_'
zbdsqr.o(.text+0x86e): undefined reference to `zdrot_'
zbdsqr.o(.text+0x8a4): undefined reference to `zdrot_'
collect2: ld returned 1 exit status

Raphael




-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]