Octave Make failure
Labitt, Bruce
labittb1 at tycoelectronics.com
Mon May 5 14:41:24 EDT 2008
-----Original Message-----
From: Kevin D. Clark [mailto:kevin_d_clark at comcast.net]
Sent: Monday, May 05, 2008 1:15 PM
To: Labitt, Bruce
Cc: gnhlug-discuss at mail.gnhlug.org
Subject: Re: Octave Make failure
Labitt, Bruce writes:
> I'm trying to compile octave on scientific linux 5.1 x86-64. I have a
> make failure that I am trying to diagnose. I saved the make log. The
> failure seems to appear at line 2648 or so.
>
> ../src/liboctinterp.so: undefined reference to
`__cxa_get_exception_ptr'
> ../src/liboctinterp.so: undefined reference to
`std::basic_istream<char,
> std::char_traits<char> >::ignore()'
> collect2: ld returned 1 exit status
Please get into the habit of including the the compiler invocation
with bug reports like this -- otherwise we have to guess a lot.
1: Can you verify that the package that you are trying to install is
invoking a C++ compiler (like "g++") rather than mistakenly
invoking something that looks a lot like a C++ compiler but is not
(like "gcc").
2: Can you verify that you have installed the C++ development
libraries (whatever these are called) on your system? On my
Fedora box, these are in a package called libstdc++-devel.
3: What happens when you try to compile the following program with
your C++ compiler? Please let us know:
#include <iostream>
#include <stdlib.h>
int main() {
std::cout << "Hello World" << std::endl;
return EXIT_SUCCESS;
}
I would suggest you compile this with "g++", but please tell us if
you chose some other way to compile this.
Regards,
--kevin
--
GnuPG ID: B280F24E Meet me by the knuckles
alumni.unh.edu!kdc of the skinny-bone tree.
http://kdc-blog.blogspot.com/ -- Tom Waits
[Labitt, Bruce]
I can send the config.log and makeoctave.log file to you separately - I
didn't want to send a ~ 500KB+ file to the list. Most list members
would be glad ;-) I didn't. Of course, you are right - it sure makes
things hard to diagnose.
1. Previous distro CENTOS 4.6 compiled/build fine. New distro
Scientific Linux 5.1. Won't build... :( Configure checks for g++.
2. libstdc++-devel x86_64 4.1.2-14.el5 installed
3. Compiles without a peep. Runs too... :)
Regards,
Bruce
More information about the gnhlug-discuss
mailing list