octave-maintainers
[Top][All Lists]
Advanced

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

Mountain Lion build


From: Robinson, Melvin D
Subject: Mountain Lion build
Date: Fri, 21 Sep 2012 21:46:58 +0000
User-agent: Microsoft-MacOutlook/14.2.3.120616

Hello,

I get errors building Octave from sources on Mountain Lion.  The compilation ultimately craters with this error:
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[3]: *** [liboctinterp.la] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Earlier in the build I see the following error:

Undefined symbols for architecture x86_64:
  "std::_List_node_base::_M_transfer(std::_List_node_base*, std::_List_node_base*)", referenced from:
      std::list<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_transfer(std::_List_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_List_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_List_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >) in liboctave-value.a(octave_value_liboctave_value_la-ov-class.o)

I don't really know what the problem could be.  
g++ -v gives:
butterfly:octave melrobin$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin12/4.5.4/lto-wrapper
Target: x86_64-apple-darwin12
Configured with: ../gcc-4.5.4/configure --prefix=/opt/local --build=x86_64-apple-darwin12 --enable-languages=c,c++,objc,obj-c++,fortran,java --libdir=/opt/local/lib/gcc45 --includedir=/opt/local/include/gcc45 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-4.5 --with-local-prefix=/opt/local --with-libiconv-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.5 --with-gxx-include-dir=/opt/local/include/gcc45/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-ppl=/opt/local --enable-stage1-checking --disable-multilib --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/newticket --enable-lto --with-pkgversion='MacPorts gcc45 4.5.4_5'
Thread model: posix
gcc version 4.5.4 (MacPorts gcc45 4.5.4_5) 

Any ideas?  The error seems to come from standard C++ containers.

reply via email to

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