Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    centos and octave-3.2.4


    I am trying to compile octave-3.2.4 with centos 5.5 and I get the following error

    ux/3.4.6 -L/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../.. -L/lib/../lib64 -L/usr/lib/../lib64 -lz -lfrtbegin -lg2c -lm -lfreetype -lGL -lGLU
    ../src/ undefined reference to `std::basic_istream<char, std::char_traits<char> >::ignore()'
    ../src/ undefined reference to `__cxa_get_exception_ptr'
    collect2: ld returned 1 exit status
    make[2]: *** [octave] Error 1
    make[2]: Leaving directory `/root/octave/octave-3.2.4/src'
    make[1]: *** [src] Error 2
    make[1]: Leaving directory `/root/octave/octave-3.2.4'
    make: *** [all] Error 2

    I have looked and I can not find any solutions. Any help is greatly appreciated.

  2. #2
    Any time I experience compilation problems like this, it is usually because a dependency is unfulfilled. Are you sure you have all the development headers necessary for this program? If you can find a list of dependencies on the developers' website, you should check you have them all installed.

    If that doesn't help, I'm probably going to be fairly useless.

    Hope it helps


  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Are you trying to build with GCC 3.4? If so, install 4.1 or 4.4 and try that. You can have any number of gcc versions installed at the same time on your system. I have 3.4, 4.1, and 4.4 on my CentOS (RHEL) system, and 4.2 and 4.3 on my Ubuntu laptop.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts