Octave Make failure

Kevin D. Clark kevin_d_clark at comcast.net
Mon May 5 13:15:11 EDT 2008


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


More information about the gnhlug-discuss mailing list