[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos
From: |
Ben Abbott |
Subject: |
[Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos |
Date: |
Mon, 31 Dec 2018 03:18:11 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15 |
Follow-up Comment #12, bug #55033 (project octave):
Hi Carlo,
I've played a bit. I don't see a simple fix. From the default branch ...
mkoctfile example.cc
clang: error: no such file or directory: 'libinterp/liboctinterp.la'
clang: error: no such file or directory: 'liboctave/liboctave.la'
warning: mkoctfile: building exited with failure status
Now with the proper path to the la-files
setenv OCT_LINK_DEPS '/usr/local/bpabbott/octave/lib/octave/6.0.0/liboctave.la
/usr/local/bpabbott/octave/lib/octave/6.0.0/liboctinterp.la'
>> mkoctfile example.cc
ld: warning: ignoring file
/usr/local/bpabbott/octave/lib/octave/6.0.0/liboctave.la, file was built for
unsupported file format ( 0x23 0x20 0x6C 0x69 0x62 0x6F 0x63 0x74 0x61 0x76
0x65 0x2E 0x6C 0x61 0x20 0x2D ) which is not the architecture being linked
(x86_64): /usr/local/bpabbott/octave/lib/octave/6.0.0/liboctave.la
ld: warning: ignoring file
/usr/local/bpabbott/octave/lib/octave/6.0.0/liboctinterp.la, file was built
for unsupported file format ( 0x23 0x20 0x6C 0x69 0x62 0x6F 0x63 0x74 0x69
0x6E 0x74 0x65 0x72 0x70 0x2E 0x6C ) which is not the architecture being
linked (x86_64): /usr/local/bpabbott/octave/lib/octave/6.0.0/liboctinterp.la
Undefined symbols for architecture x86_64:
"check_version(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&)", referenced
from:
_Gexample in oct-j2wwT6.o
"dim_vector::nil_rep()", referenced from:
octave_value_list::octave_value_list<std::initializer_list>(std::initializer_list<octave_value>
const&) in oct-j2wwT6.o
"octave_value::nil_rep()", referenced from:
Array<octave_value>::ArrayRep::ArrayRep(long long) in oct-j2wwT6.o
"octave_dld_function::create(octave_value_list (*)(octave_value_list const&,
int), octave::dynamic_library const&, 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&)", referenced from:
_Gexample in oct-j2wwT6.o
"Array<std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > >::nil_rep()", referenced from:
octave_value_list::octave_value_list<std::initializer_list>(std::initializer_list<octave_value>
const&) in oct-j2wwT6.o
"dim_vector::safe_numel() const", referenced from:
Array<octave_value>::Array<std::initializer_list>(std::initializer_list<octave_value>
const&, dim_vector const&) in oct-j2wwT6.o
"dim_vector::str(char) const", referenced from:
Array<octave_value>::Array<std::initializer_list>(std::initializer_list<octave_value>
const&, dim_vector const&) in oct-j2wwT6.o
"Array<octave_value>::resize_fill_value() const", referenced from:
vtable for Array<octave_value> in oct-j2wwT6.o
"Array<std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > >::resize_fill_value() const", referenced from:
vtable for string_vector in oct-j2wwT6.o
vtable for Array<std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > > in oct-j2wwT6.o
"_current_liboctave_error_handler", referenced from:
Array<octave_value>::Array<std::initializer_list>(std::initializer_list<octave_value>
const&, dim_vector const&) in oct-j2wwT6.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
warning: mkoctfile: building exited with failure status
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55033>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Rik, 2018/12/30
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Ben Abbott, 2018/12/30
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Mike Miller, 2018/12/30
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Ben Abbott, 2018/12/30
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Mike Miller, 2018/12/30
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Ben Abbott, 2018/12/30
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Mike Miller, 2018/12/30
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Ben Abbott, 2018/12/30
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Carlo de Falco, 2018/12/31
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos,
Ben Abbott <=
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Ben Abbott, 2018/12/31
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Ben Abbott, 2018/12/31
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Mike Miller, 2018/12/31
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Rik, 2018/12/31
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Ben Abbott, 2018/12/31