[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53627] build: oct files should not need to li
From: |
Andrew Janke |
Subject: |
[Octave-bug-tracker] [bug #53627] build: oct files should not need to link with -loctinterp -loctave |
Date: |
Wed, 18 Jul 2018 22:38:23 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36 |
Follow-up Comment #16, bug #53627 (project octave):
I've attached a changeset, file #44587:
macos-bundle-undefined-dynamic_lookup.patch, that attempts to enable
`-undefined dynamic_lookup` for octfiles and dynamic libraries by adding it to
DL_LDFLAGS and MKOCTFILE_DL_LDFLAGS in acinclude.m4.
This isn't sufficient, though. When I do the build with this, it's still
erroring out with undefined symbols.
libtool: link: g++ -std=gnu++11 -o libinterp/dldfcn/.libs/__delaunayn__.so
-bundle libinterp/dldfcn/.libs/__delaunayn___la-__delaunayn__.o -lqhull -lm
-pthread -g -O2 -pthread
Undefined symbols for architecture x86_64:
"print_usage()", referenced from:
F__delaunayn__(octave_value_list const&, int) in
__delaunayn___la-__delaunayn__.o
"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:
The `-undefined dynamic_lookup` option is absent from the `g++` call there.
Sounds like we need to tell `libtool` to use that option. Does anybody know
how to do that?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53627>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53627] build: oct files should not need to link with -loctinterp -loctave, Andrew Janke, 2018/07/01
- [Octave-bug-tracker] [bug #53627] build: oct files should not need to link with -loctinterp -loctave, Rik, 2018/07/11
- [Octave-bug-tracker] [bug #53627] build: oct files should not need to link with -loctinterp -loctave, Andrew Janke, 2018/07/14
- [Octave-bug-tracker] [bug #53627] build: oct files should not need to link with -loctinterp -loctave, Rik, 2018/07/17
- [Octave-bug-tracker] [bug #53627] build: oct files should not need to link with -loctinterp -loctave, Andrew Janke, 2018/07/18
- [Octave-bug-tracker] [bug #53627] build: oct files should not need to link with -loctinterp -loctave, Andrew Janke, 2018/07/18
- [Octave-bug-tracker] [bug #53627] build: oct files should not need to link with -loctinterp -loctave, Mike Miller, 2018/07/18
- [Octave-bug-tracker] [bug #53627] build: oct files should not need to link with -loctinterp -loctave, Andrew Janke, 2018/07/18
- [Octave-bug-tracker] [bug #53627] build: oct files should not need to link with -loctinterp -loctave, Andrew Janke, 2018/07/18
- [Octave-bug-tracker] [bug #53627] build: oct files should not need to link with -loctinterp -loctave, Andrew Janke, 2018/07/18
- [Octave-bug-tracker] [bug #53627] build: oct files should not need to link with -loctinterp -loctave,
Andrew Janke <=
- [Octave-bug-tracker] [bug #53627] build: oct files should not need to link with -loctinterp -loctave, Mike Miller, 2018/07/18
- [Octave-bug-tracker] [bug #53627] build: oct files should not need to link with -loctinterp -loctave, Andrew Janke, 2018/07/18
- [Octave-bug-tracker] [bug #53627] build: oct files should not need to link with -loctinterp -loctave, Andrew Janke, 2018/07/18
- [Octave-bug-tracker] [bug #53627] build: oct files should not need to link with -loctinterp -loctave, John W. Eaton, 2018/07/19
- [Octave-bug-tracker] [bug #53627] build: oct files should not need to link with -loctinterp -loctave, Mike Miller, 2018/07/19
- [Octave-bug-tracker] [bug #53627] build: oct files should not need to link with -loctinterp -loctave, John W. Eaton, 2018/07/19
- [Octave-bug-tracker] [bug #53627] build: oct files should not need to link with -loctinterp -loctave, Mike Miller, 2018/07/19