octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #53218] Cannot build octave on MacOS due to a


From: maor shutman
Subject: [Octave-bug-tracker] [bug #53218] Cannot build octave on MacOS due to a clang linking error
Date: Sat, 24 Feb 2018 14:05:44 -0500 (EST)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?53218>

                 Summary: Cannot build octave on MacOS due to a clang linking
error
                 Project: GNU Octave
            Submitted by: maors
            Submitted on: Sat 24 Feb 2018 07:05:43 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: maor shutman
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: Mac OS

    _______________________________________________________

Details:

Im trying to build octave on macos 10.13.3.
I have installed all the dependencies as shown in
https://wiki.octave.org/Building_for_Macintosh_platform, but I get an error
when running make.

The make check output is:

preserving existing HG-ID file
/Applications/Xcode.app/Contents/Developer/usr/bin/make  check-recursive
preserving existing HG-ID file
Making check in libgnu
/Applications/Xcode.app/Contents/Developer/usr/bin/make  check-recursive
make[4]: Nothing to be done for `check-am'.
preserving existing HG-ID file
  CXXLD    libinterp/liboctinterp.la
libtool: warning: '/usr/local/lib/libarpack.la' seems to be moved
libtool: warning:
'/usr/local/gfortran/lib/gcc/x86_64-apple-darwin16/6.3.0/../../../libgfortran.la'
seems to be moved
libtool: warning:
'/usr/local/gfortran/lib/gcc/x86_64-apple-darwin16/6.3.0/../../../libquadmath.la'
seems to be moved
clang: warning: argument unused during compilation: '-pthread'
[-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-pthread'
[-Wunused-command-line-argument]
Undefined symbols for architecture x86_64:
  "octave::sys::file_stat::~file_stat()", referenced from:
      octave_fcn_handle::set_fcn(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > const&,
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > const&) in
liboctave-value.a(libinterp_octave_value_liboctave_value_la-ov-fcn-handle.o)
      initialize_java() in
liboctave-value.a(libinterp_octave_value_liboctave_value_la-ov-java.o)
      octave::base_parser::frob_function(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > const&,
octave_user_function*) in
libparse-tree.a(libinterp_parse_tree_libparse_tree_la-oct-parse.o)
      Fautoload(octave_value_list const&, int) in
libparse-tree.a(libinterp_parse_tree_libparse_tree_la-oct-parse.o)
      get_file_line(std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > const&, unsigned long) in
libcorefcn.a(libinterp_corefcn_libcorefcn_la-debug.o)
      F__mkdir__(octave_value_list const&, int) in
libcorefcn.a(libinterp_corefcn_libcorefcn_la-dirfns.o)
      Ffopen(octave_value_list const&, int) in
libcorefcn.a(libinterp_corefcn_libcorefcn_la-file-io.o)
      ...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[2]: *** [libinterp/liboctinterp.la] Error 1
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2

Thanks




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53218>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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