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

[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 14:10:39 -0400 (EDT)

Follow-up Comment #14, bug #64709 (project octave):

The log:

/bin/sh ./libtool  --tag=CXX   --mode=link g++ -fPIC -pthread -fopenmp -Wall
-W -Wshadow -Woverloaded-virtual -Wold-style-cast -Wformat -Wpointer-arith
-Wwrite-strings -Wcast-align -Wcast-qual  -g -O2      -o src/octave-cli
src/octave_cli-main-cli.o src/octave_cli-octave-build-info.o
libinterp/liboctinterp.la liboctave/liboctave.la libgnu/libgnu.la  -lpthread
-lm
libtool: link: g++ -fPIC -fopenmp -Wall -W -Wshadow -Woverloaded-virtual
-Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align
-Wcast-qual -g -O2 -o src/.libs/octave-cli src/octave_cli-main-cli.o
src/octave_cli-octave-build-info.o  libinterp/.libs/liboctinterp.so
-L/data/data/com.termux/files/usr/lib/gcc/aarch64-linux-android/11.1.0/../../..
/data/data/com.termux/files/home/src/octave-8.3.0/.build/liboctave/.libs/liboctave.so
-lhdf5 -lGraphicsMagick++ -lGraphicsMagick -lz -lfontconfig -lfreetype
liboctave/.libs/liboctave.so -lcurl -lcholmod -lumfpack -lamd -lcamd -lcolamd
-lccolamd -lcxsparse -lsuitesparseconfig -lspqr -larpack -lqrupdate
-lfftw3_threads -lfftw3 -lfftw3f_threads -lfftw3f -lopenblas -lpcre2-8
-lgfortran libgnu/.libs/libgnu.a -L/data/data/com.termux/files/usr/lib
-lreadline -liconv -lpthread -lm -fopenmp -pthread -Wl,-rpath
-Wl,/data/data/com.termux/files/usr/lib/octave/8.3.0
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-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-8.3.0/.build/liboctave/.libs/liboctave.so
clang-16: error: linker command failed with exit code 1 (use -v to see
invocation)
make[2]: *** [Makefile:15739: src/octave-cli] Error 1
make[2]: Leaving directory
'/data/data/com.termux/files/home/src/octave-8.3.0/.build'
make[1]: *** [Makefile:27671: all-recursive] Error 1
make[1]: Leaving directory
'/data/data/com.termux/files/home/src/octave-8.3.0/.build'
make: *** [Makefile:11061: all] Error 2


(file #55171, file #55172)

    _______________________________________________________

Additional Item Attachment:

File name: config.log                     Size:1829 KB
    <https://file.savannah.gnu.org/file/config.log?file_id=55171>

File name: config.h                       Size:114 KB
    <https://file.savannah.gnu.org/file/config.h?file_id=55172>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64709>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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