[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #64709] Android Termux libtool issue
From: |
Adam Labus |
Subject: |
[Octave-bug-tracker] [bug #64709] Android Termux libtool issue |
Date: |
Tue, 26 Sep 2023 11:55:00 -0400 (EDT) |
Follow-up Comment #12, bug #64709 (project octave):
[comment #11 comment #11:]
> I guess the reason for the missing symbol when linking is that libtool tries
to link with `-nostdlib` but fails to explicitly link with the library that
provides that symbol.
>
> Did `autoreconf -fi` make a difference?
>
> Does it help if you add bionic libc in LIBS?
>
> See, e.g., here for a similar issue:
> https://github.com/android/ndk/issues/1614
>
> And here for a potential workaround:
>
https://github.com/termux/termux-packages/commit/562462e2296217e20c2a14fd8e8d9279486f14cb
Autoreconf causes the following make problem:
ld.lld: error: undefined reference due to --no-allow-shlib-undefined:
octave::sys::password::getpwuid(unsigned int, std::__ndk1::basic_string<char,
std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>>&)
>>> referenced by libinterp/.libs/liboctinterp.so
ld.lld: error: undefined reference due to --no-allow-shlib-undefined:
octave::sys::password::getpwnam(std::__ndk1::basic_string<char,
std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&,
std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>,
std::__ndk1::allocator<char>>&) >>> referenced by
libinterp/.libs/liboctinterp.so
ld.lld: error: undefined reference due to
--no-allow-shlib-undefined:
octave::sys::password::getpwnam(std::__ndk1::basic_string<char,
std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&)
>>> referenced by
/data/data/com.termux/files/home/src/octave/octave-8.3.0/.build/liboctave/.libs/liboctave.so
ld.lld: error: undefined reference due to --no-allow-shlib-undefined:
octave::sys::password::getpwuid(unsigned int) >>> referenced by
/data/data/com.termux/files/home/src/octave/octave-8.3.0/.build/liboctave/.libs/liboctave.so
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64709>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #64709] Android Termux libtool issue, (continued)
- Message not available
- [Octave-bug-tracker] [bug #64709] Android Termux libtool issue, Markus Mützel, 2023/09/24
- [Octave-bug-tracker] [bug #64709] Android Termux libtool issue, Markus Mützel, 2023/09/24
- [Octave-bug-tracker] [bug #64709] Android Termux libtool issue, John W. Eaton, 2023/09/24
- [Octave-bug-tracker] [bug #64709] Android Termux libtool issue, Markus Mützel, 2023/09/24
- [Octave-bug-tracker] [bug #64709] Android Termux libtool issue, Adam Labus, 2023/09/25
- Message not available
- [Octave-bug-tracker] [bug #64709] Android Termux libtool issue, Markus Mützel, 2023/09/25
- [Octave-bug-tracker] [bug #64709] Android Termux libtool issue, Markus Mützel, 2023/09/25
- [Octave-bug-tracker] [bug #64709] Android Termux libtool issue, Markus Mützel, 2023/09/25
- [Octave-bug-tracker] [bug #64709] Android Termux libtool issue, Adam Labus, 2023/09/25
- Message not available
- [Octave-bug-tracker] [bug #64709] Android Termux libtool issue, Markus Mützel, 2023/09/25
- [Octave-bug-tracker] [bug #64709] Android Termux libtool issue,
Adam Labus <=
- Message not available
- [Octave-bug-tracker] [bug #64709] Android Termux libtool issue, Markus Mützel, 2023/09/26
- [Octave-bug-tracker] [bug #64709] Android Termux libtool issue, Adam Labus, 2023/09/26
- Message not available
- Message not available
- [Octave-bug-tracker] [bug #64709] Android Termux libtool issue, John W. Eaton, 2023/09/26
- [Octave-bug-tracker] [bug #64709] Android Termux libtool issue, Markus Mützel, 2023/09/26
- [Octave-bug-tracker] [bug #64709] Android Termux libtool issue, Adam Labus, 2023/09/27
- Message not available
- [Octave-bug-tracker] [bug #64709] Android Termux libtool issue, Markus Mützel, 2023/09/27
- [Octave-bug-tracker] [bug #64709] Android Termux libtool issue, Markus Mützel, 2023/09/27