help-octave
[Top][All Lists]
Advanced

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

Re: ../src/liboctinterp.so: undefined reference to `__cxa_guard_acquire'


From: Thomas Treichl
Subject: Re: ../src/liboctinterp.so: undefined reference to `__cxa_guard_acquire'
Date: Fri, 18 May 2007 14:20:18 +0200
User-agent: Thunderbird 1.5.0.10 (Macintosh/20070221)

Letizia MAZZURCO schrieb:
Hi Octave support,

During Octave 2.9.10 installation (comand make) I find any problem :

./configure --prefix=/sw/foss/octave/octave-2.9.10/Linux.i686
.....
Octave is now configured for i686-pc-linux-gnu

  Source directory:     .
  Installation prefix:  /sw/foss/octave/octave-2.9.10/Linux.i686
  C compiler:           gcc  -mieee-fp  -Wall -W -Wshadow -g -O2
  C++ compiler:         g++  -mieee-fp  -Wall -W -Wshadow -Wold-style-cast -g 
-O2
  Fortran compiler:     g77 -O -mieee-fp

<SNIP>

address@hidden octave-2.9.10]# g77 --version GNU Fortran (GCC 3.2.3 20030502 
(Red Hat Linux 3.2.3-52)) 3.2.3 20030502 (Red Hat Linux 3.2.3-52) Copyright (C) 
2002 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran under the terms of the GNU General 
Public License.
For more information about these matters, see the file named COPYING or type 
the command `info -f g77 Copying'.

address@hidden octave-2.9.10]# gcc  --version gcc (GCC) 4.1.1 Copyright (C) 
2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO 
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

address@hidden octave-2.9.10]# uname -a
Linux CTNLS074 2.4.21-32.ELsmp #1 SMP Fri Apr 15 21:17:59 EDT 2005 i686 i686 
i386 GNU/Linux

Thanks in advance.
Regards,
Letizia M.

Hi Letizia,

your problem (maybe) is that you mix up different versions of compilers. gcc 4.1.1 normally comes with gfortran 4.1.1 and not with g77 3.2.3. You now do have two possibilities:

Either deinstall your g77 package so that ./configure of octave finds gfortran 4.1.1 or you do at least

  export F77=gfortran
  ./configure

This should help, otherwise please contact again.

Thomas


reply via email to

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