cydhaselton / mono-android

Mono patched to run under Termux on Android
Other
27 stars 4 forks source link

error: linker command failed #2

Open GuzioMG opened 4 years ago

GuzioMG commented 4 years ago

After running make, I got an error saying:

CCLD     test-eglib
/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld: ../src/.libs/libeglib.a(libeglib_la-gunicode.o): in function `monoeg_g_get_charset':
/data/data/com.termux/files/home/cSharp/sources/eglib/src/gunicode.c:240: undefined reference to `locale_charset'
clang-9: error: linker command failed with exit code 1 (use -v to see invocation)

Steps to reproduce:

./autogen.sh make get-monolite-latest make

Error code returned by make:

2 (Or at least, fiSh terminal said that)

After running make -v (as suggested by make):

GNU Make 4.3
Built for aarch64-unknown-linux-android
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Full output/log/errorlog:


**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.

Running libtoolize...
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
Running aclocal -I m4 -I .  ...
Running autoheader...
Running automake --gnu  ...
configure.ac:375: installing './compile'
configure.ac:17: installing './missing'
ikvm-native/Makefile.am: installing './depcomp'
Running autoconf ...
Running libgc/autogen.sh ...
./autogen.sh: line 126: ./autogen.sh: No such file or directory
Done running libgc/autogen.sh ...
Running eglib/autogen.sh ...
Running libtoolize...
libtoolize: putting auxiliary files in '..'.
libtoolize: copying file '../ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
Running aclocal -I m4  ...
Running autoheader...
Running automake --gnu  ...
configure.ac:18: installing '../compile'
configure.ac:12: installing '../missing'
src/Makefile.am: installing '../depcomp'
Running autoconf ...
Skipping configure process.
Done running eglib/autogen.sh ...
Running ./configure --enable-maintainer-mode --enable-compile-warnings ...
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking target system type... aarch64-unknown-linux-gnu
checking for a BSD-compatible install... /data/data/com.termux/files/usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /data/data/com.termux/files/usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '10307' is supported by ustar format... yes
checking whether GID '10307' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether ln -s works... yes
checking whether make supports nested variables... (cached) yes
checking host platform characteristics... ok
checking for gcc... gcc
checking for gcc... (cached) gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking dependency style of gcc... gcc3
checking for gawk... (cached) gawk
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /data/data/com.termux/files/usr/bin/grep
checking for egrep... /data/data/com.termux/files/usr/bin/grep -E
checking for ANSI C header files... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /data/data/com.termux/files/usr/bin/sed
checking for fgrep... /data/data/com.termux/files/usr/bin/grep -F
checking for ld used by gcc... /data/data/com.termux/files/usr/bin/aarch64-linux-android-ld
checking if the linker (/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /data/data/com.termux/files/usr/bin/nm -B
checking the name lister (/data/data/com.termux/files/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 32768
checking how to convert aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert aarch64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /data/data/com.termux/files/usr/bin/aarch64-linux-android-ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /data/data/com.termux/files/usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /data/data/com.termux/files/usr/bin/dd
checking how to truncate binary pipes... /data/data/com.termux/files/usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /data/data/com.termux/files/usr/bin/aarch64-linux-android-ld
checking if the linker (/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld) is GNU ld... yes
checking whether the g++ linker (/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for bash... /data/data/com.termux/files/usr/bin/bash
checking if dolt supports this host... yes, replacing libtool
checking for ld used by gcc... (cached) /data/data/com.termux/files/usr/bin/aarch64-linux-android-ld
checking if the linker (/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld) is GNU ld... (cached) yes
checking for ld used by GCC... /data/data/com.termux/files/usr/bin/aarch64-linux-android-ld
checking if the linker (/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... -liconv
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking linux/rtc.h usability... yes
checking linux/rtc.h presence... yes
checking for linux/rtc.h... yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/sysctl.h usability... no
checking sys/sysctl.h presence... no
checking for sys/sysctl.h... no
checking libproc.h usability... no
checking libproc.h presence... no
checking for libproc.h... no
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking for sys/param.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for unistd.h... (cached) yes
checking for sys/types.h... (cached) yes
checking link.h usability... yes
checking link.h presence... yes
checking for link.h... yes
checking asm/sigcontext.h usability... yes
checking asm/sigcontext.h presence... yes
checking for asm/sigcontext.h... yes
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking complex.h usability... yes
checking complex.h presence... yes
checking for complex.h... yes
checking unwind.h usability... yes
checking unwind.h presence... yes
checking for unwind.h... yes
checking for linux/netlink.h... yes
checking for linux/rtnetlink.h... yes
checking for sys/user.h... yes
checking linux/serial.h usability... yes
checking linux/serial.h presence... yes
checking for linux/serial.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
Using system zlib
checking elf.h usability... yes
checking elf.h presence... yes
checking for elf.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking for isinf... yes
checking for _finite... no
checking for _finite in math.h... no
checking linux/magic.h usability... yes
checking linux/magic.h presence... yes
checking for linux/magic.h... yes
checking size of void *... 8
checking for clang... yes
checking for -Wno-unused-but-set-variable option to gcc... no
checking whether NLS is requested... profile_default
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for pkg-config... no
yes
checking for visibility __attribute__... yes
checking whether gcc supports zero length arrays... yes
checking nacl/nacl_dyncode.h usability... no
checking nacl/nacl_dyncode.h presence... no
checking for nacl/nacl_dyncode.h... no
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for sigaction... yes
checking for kill... yes
checking for signal... yes
checking for library containing clock_gettime... none required
checking for clock_nanosleep... yes
checking for dlopen... yes
checking for preceeding underscore in symbols... no
checking for dlerror... yes
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
checking sys/auxv.h usability... yes
checking sys/auxv.h presence... yes
checking for sys/auxv.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for getgrgid_r... yes
checking for getgrnam_r... yes
checking for getpwnam_r... yes
checking for getpwuid_r... yes
checking for getresuid... yes
checking for setresuid... yes
checking for kqueue... no
checking for backtrace_symbols... no
checking for mkstemp... yes
checking for mmap... yes
checking for madvise... yes
checking for getrusage... yes
checking for getpriority... yes
checking for setpriority... yes
checking for dl_iterate_phdr... yes
checking for dladdr... yes
checking for sysconf... yes
checking for getrlimit... yes
checking for prctl... yes
checking for sched_getaffinity... yes
checking for sched_setaffinity... yes
checking for sched_getcpu... yes
checking for sched_setaffinity from glibc < 2.3.4... no
checking if off_t is 64 bits wide... ok
checking for socket in -lsocket... no
checking for MSG_NOSIGNAL... yes
checking for IPPROTO_IP... yes
checking for IPPROTO_IPV6... yes
checking for IPPROTO_TCP... yes
checking for SOL_IP... yes
checking for SOL_IPV6... yes
checking for SOL_TCP... yes
checking for IP_PKTINFO... yes
checking for IPV6_PKTINFO... no
checking for IP_DONTFRAG... no
checking for IP_DONTFRAGMENT... no
checking for IP_MTU_DISCOVER... yes
checking for IP_PMTUDISC_DO... yes
checking for struct ip_mreqn... yes
checking for getaddrinfo... yes
checking for gethostbyname2_r... yes
checking for gethostbyname2... yes
checking for gethostbyname... yes
checking for getprotobyname... yes
checking for getnameinfo... yes
checking for inet_ntop... yes
checking for gethostbyaddr... yes
checking for inet_pton... yes
checking for inet_aton... yes
checking for main in -lpthread... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking pthread_np.h usability... no
checking pthread_np.h presence... no
checking for pthread_np.h... no
checking for pthread_mutex_timedlock... yes
checking for pthread_getattr_np... yes
checking for pthread_attr_get_np... no
checking for pthread_setname_np... yes
checking for pthread_kill... yes
checking for PTHREAD_MUTEX_RECURSIVE... ok
checking for pthread_attr_setstacksize... yes
checking for pthread_attr_getstack... yes
checking for pthread_attr_getstacksize... yes
checking for pthread_get_stacksize_np... no
checking for pthread_get_stackaddr_np... no
checking for mincore... yes
checking for working __thread... yes
checking for working sigaltstack... yes
checking for library containing sem_init... none required
checking for library containing shm_open... no
checking for shm_open... no
checking for tm_gmtoff in struct tm... yes
checking for library containing sqrtf... -lm
checking for finite... yes
checking for isfinite... yes
checking for poll... yes
checking for signbit... yes
checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes
checking for epoll_ctl... yes
checking sys/event.h usability... no
checking sys/event.h presence... no
checking for sys/event.h... no
checking for kqueue... (cached) no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for net/if.h... yes
checking for ifreq... yes
checking for sockaddr_in.sin_len... no
checking for sockaddr_in6.sin6_len... no
checking for getifaddrs... yes
checking for if_nametoindex... yes
checking checklist.h usability... no
checking checklist.h presence... no
checking for checklist.h... no
checking pathconf.h usability... no
checking pathconf.h presence... no
checking for pathconf.h... no
checking fstab.h usability... no
checking fstab.h presence... no
checking for fstab.h... no
checking attr/xattr.h usability... no
checking attr/xattr.h presence... no
checking for attr/xattr.h... no
checking sys/extattr.h usability... no
checking sys/extattr.h presence... no
checking for sys/extattr.h... no
checking sys/sendfile.h usability... yes
checking sys/sendfile.h presence... yes
checking for sys/sendfile.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/vfstab.h usability... no
checking sys/vfstab.h presence... no
checking for sys/vfstab.h... no
checking sys/xattr.h usability... yes
checking sys/xattr.h presence... yes
checking for sys/xattr.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/param.h... (cached) yes
checking for sys/mount.h... yes
checking for sys/mount.h... (cached) yes
checking for confstr... no
checking for seekdir... yes
checking for telldir... yes
checking for getdomainname... yes
checking for setdomainname... yes
checking for endgrent... yes
checking for getgrent... yes
checking for fgetgrent... no
checking for setgrent... yes
checking for setgroups... yes
checking for endpwent... yes
checking for getpwent... yes
checking for fgetpwent... no
checking for setpwent... yes
checking for getfsstat... no
checking for lutimes... yes
checking for futimes... yes
checking for mremap... yes
checking for remap_file_pages... no
checking for posix_fadvise... yes
checking for posix_fallocate... yes
checking for posix_madvise... yes
checking for vsnprintf... yes
checking for sendfile... yes
checking for gethostid... no
checking for sethostid... no
checking for sethostname... yes
checking for statfs... yes
checking for fstatfs... yes
checking for statvfs... yes
checking for fstatvfs... yes
checking for stime... no
checking for strerror_r... yes
checking for ttyname_r... yes
checking for psignal... yes
checking for getlogin_r... yes
checking for lockf... yes
checking for swab... yes
checking for setusershell... no
checking for endusershell... no
checking for futimens... yes
checking for utimensat... yes
checking for fstatat... yes
checking for mknodat... yes
checking for readlinkat... yes
checking for readv... yes
checking for writev... yes
checking for preadv... yes
checking for pwritev... yes
checking for setpgid... yes
checking for system... yes
checking for fork... yes
checking for execv... yes
checking for execve... yes
checking for accept4... yes
checking size of size_t... 8
checking for blksize_t... yes
checking for blkcnt_t... yes
checking for suseconds_t... yes
checking for struct cmsghdr... yes
checking for struct flock... yes
checking for struct iovec... yes
checking for struct linger... yes
checking for struct pollfd... yes
checking for struct sockaddr... yes
checking for struct sockaddr_storage... yes
checking for struct sockaddr_in... yes
checking for struct sockaddr_in6... yes
checking for struct sockaddr_un... yes
checking for struct stat... yes
checking for struct timespec... yes
checking for struct timeval... yes
checking for struct timezone... yes
checking for struct utimbuf... yes
checking for struct dirent.d_off... yes
checking for struct dirent.d_reclen... yes
checking for struct dirent.d_type... yes
checking for struct passwd.pw_gecos... yes
checking for struct statfs.f_flags... yes
checking for struct stat.st_atim... yes
checking for struct stat.st_mtim... yes
checking for struct stat.st_ctim... yes
checking for lsetxattr... yes
checking for struct kinfo_proc.kp_proc... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/param.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking CommonCrypto/CommonDigest.h usability... no
checking CommonCrypto/CommonDigest.h presence... no
checking for CommonCrypto/CommonDigest.h... no
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking for term.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for socklen_t... yes
checking for array element initializer support... yes
checking for trunc... yes
checking for aintl in -lsunmath... no
checking for execvp... yes
checking if usage of random device is requested... yes
checking for random device... yes
checking if big-arrays are to be enabled... no
checking for X... no
checking for the soname of libX11.so... configure: WARNING: Could not find libX11.so. Do you have X.org or XFree86 installed? Assuming libX11.so.6...
checking if the tls_model attribute is supported... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating po/mcs/Makefile.in
config.status: creating runtime/mono-wrapper
config.status: creating runtime/monodis-wrapper
config.status: creating Makefile
config.status: creating mono-uninstalled.pc
config.status: creating acceptance-tests/Makefile
config.status: creating llvm/Makefile
config.status: creating scripts/mono-find-provides
config.status: creating scripts/mono-find-requires
config.status: creating mono/Makefile
config.status: creating mono/btls/Makefile
config.status: creating mono/utils/Makefile
config.status: creating mono/metadata/Makefile
config.status: creating mono/dis/Makefile
config.status: creating mono/cil/Makefile
config.status: creating mono/arch/Makefile
config.status: creating mono/arch/x86/Makefile
config.status: creating mono/arch/amd64/Makefile
config.status: creating mono/arch/ppc/Makefile
config.status: creating mono/arch/sparc/Makefile
config.status: creating mono/arch/s390x/Makefile
config.status: creating mono/arch/arm/Makefile
config.status: creating mono/arch/arm64/Makefile
config.status: creating mono/arch/ia64/Makefile
config.status: creating mono/arch/mips/Makefile
config.status: creating mono/sgen/Makefile
config.status: creating mono/tests/Makefile
config.status: creating mono/tests/tests-config
config.status: creating mono/tests/assemblyresolve/Makefile
config.status: creating mono/tests/gc-descriptors/Makefile
config.status: creating mono/unit-tests/Makefile
config.status: creating mono/benchmark/Makefile
config.status: creating mono/io-layer/Makefile
config.status: creating mono/mini/Makefile
config.status: creating mono/profiler/Makefile
config.status: creating m4/Makefile
config.status: creating ikvm-native/Makefile
config.status: creating scripts/Makefile
config.status: creating man/Makefile
config.status: creating docs/Makefile
config.status: creating data/Makefile
config.status: creating data/net_2_0/Makefile
config.status: creating data/net_4_0/Makefile
config.status: creating data/net_4_5/Makefile
config.status: creating data/net_2_0/Browsers/Makefile
config.status: creating data/net_4_0/Browsers/Makefile
config.status: creating data/net_4_5/Browsers/Makefile
config.status: creating data/mint.pc
config.status: creating data/mono-2.pc
config.status: creating data/monosgen-2.pc
config.status: creating data/mono.pc
config.status: creating data/mono-cairo.pc
config.status: creating data/mono-nunit.pc
config.status: creating data/mono-options.pc
config.status: creating data/mono-lineeditor.pc
config.status: creating data/monodoc.pc
config.status: creating data/dotnet.pc
config.status: creating data/dotnet35.pc
config.status: creating data/wcf.pc
config.status: creating data/cecil.pc
config.status: creating data/system.web.extensions_1.0.pc
config.status: creating data/system.web.extensions.design_1.0.pc
config.status: creating data/system.web.mvc.pc
config.status: creating data/system.web.mvc2.pc
config.status: creating data/system.web.mvc3.pc
config.status: creating data/aspnetwebstack.pc
config.status: creating data/reactive.pc
config.status: creating samples/Makefile
config.status: creating support/Makefile
config.status: creating data/config
config.status: creating tools/Makefile
config.status: creating tools/locale-builder/Makefile
config.status: creating tools/sgen/Makefile
config.status: creating tools/monograph/Makefile
config.status: creating tools/pedump/Makefile
config.status: creating runtime/Makefile
config.status: creating msvc/Makefile
config.status: creating po/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/mcs/POTFILES
config.status: creating po/mcs/Makefile
config.status: executing runtime/etc/mono/1.0/machine.config commands
config.status: executing runtime/etc/mono/2.0/machine.config commands
config.status: executing runtime/etc/mono/2.0/web.config commands
config.status: executing runtime/etc/mono/browscap.ini commands
config.status: executing runtime/etc/mono/2.0/Browsers/Compat.browser commands
config.status: executing runtime/etc/mono/4.0/Browsers/Compat.browser commands
config.status: executing runtime/etc/mono/4.5/Browsers/Compat.browser commands
config.status: executing runtime/etc/mono/4.0/machine.config commands
config.status: executing runtime/etc/mono/4.0/web.config commands
config.status: executing runtime/etc/mono/4.5/machine.config commands
config.status: executing runtime/etc/mono/4.5/web.config commands
config.status: executing quiet-libtool commands
config.status: executing nolock-libtool commands
=== configuring in eglib (/data/data/com.termux/files/home/cSharp/sources/eglib)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local'  '--enable-maintainer-mode' '--enable-compile-warnings' 'CPPFLAGS_FOR_EGLIB=' 'CFLAGS_FOR_EGLIB= -fvisibility=hidden' '--disable-embed-check' '--with-libgc-threads=pthreads' 'CPPFLAGS_FOR_LIBGC=-DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings -Wno-switch -Wno-switch-enum -Wno-unused-value -Wno-attributes -Qunused-arguments -Wno-unused-function -Wno-tautological-compare -Wno-parentheses-equality -Wno-self-assign -Wno-return-stack-address -Wno-constant-logical-operand -DUSE_COMPILER_TLS' 'CFLAGS_FOR_LIBGC= -Wno-deprecated-declarations -g' --cache-file=/dev/null --srcdir=.
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking target system type... aarch64-unknown-linux-gnu
checking for a BSD-compatible install... /data/data/com.termux/files/usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /data/data/com.termux/files/usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '10307' is supported by ustar format... yes
checking whether GID '10307' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o                                   checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed                   checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3                                   checking how to print strings... printf
checking for a sed that does not truncate output... /data/data/com.termux/files/usr/bin/sed
checking for grep that handles long lines and -e... /data/data/com.termux/files/usr/bin/grep
checking for egrep... /data/data/com.termux/files/usr/bin/grep -E
checking for fgrep... /data/data/com.termux/files/usr/bin/grep -F          checking for ld used by gcc... /data/data/com.termux/files/usr/bin/aarch64-linux-android-ld                                                           checking if the linker (/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /data/data/com.termux/files/usr/bin/nm -B
checking the name lister (/data/data/com.termux/files/usr/bin/nm -B) interface... BSD nm                                                              checking whether ln -s works... yes
checking the maximum length of command line arguments... 32768
checking how to convert aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert aarch64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop                                            checking for /data/data/com.termux/files/usr/bin/aarch64-linux-android-ld option to reload object files... -r
checking for objdump... objdump                                            checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n        checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip                                                checking for ranlib... ranlib
checking command to parse /data/data/com.termux/files/usr/bin/nm -B output from gcc object... ok                                                      checking for sysroot... no
checking for a working dd... /data/data/com.termux/files/usr/bin/dd        checking how to truncate binary pipes... /data/data/com.termux/files/usr/bin/dd bs=4096 count=1                                                       checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E                           checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes                                             checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes                                               checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes                                               checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes                  checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no                            checking if gcc supports -c -o file.o... yes                               checking if gcc supports -c -o file.o... (cached) yes                      checking whether the gcc linker (/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld) supports shared libraries... yes                       checking whether -lc should be explicitly linked in... no                  checking dynamic linker characteristics... GNU/Linux ld.so                 checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes                    checking if libtool supports shared libraries... yes                       checking whether to build shared libraries... yes                          checking whether to build static libraries... yes
checking for bash... /data/data/com.termux/files/usr/bin/bash              checking if dolt supports this host... yes, replacing libtool
checking whether byte ordering is bigendian... no
checking size of int... 4
checking size of void *... 8
checking size of long... 8
checking size of long long... 8
checking for strlcpy... yes
checking for stpcpy... yes
checking for strtok_r... yes
checking for rewinddir... yes
checking for vasprintf... yes
checking for getrlimit... yes                                              checking for fork... yes
checking for execv... yes
checking for execve... yes
configure: Overridable allocator support disabled
checking for strndup... yes                                                checking for getpwuid_r... yes
checking for ld used by GCC... /data/data/com.termux/files/usr/bin/aarch64-linux-android-ld                                                           checking if the linker (/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld) is GNU ld... yes
checking for shared library run path origin... done                        checking for iconv... yes
checking for working iconv... yes                                          checking how to link with libiconv... -liconv
checking for iconv declaration...                                                   extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for library containing sqrtf... -lm                               checking for library containing nanosleep... none required
checking for library containing dlopen... none required                    checking for varargs macros... no
checking getopt.h usability... yes
checking getopt.h presence... yes                                          checking for getopt.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes                                      checking for sys/select.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes                                        checking for sys/time.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes                                        checking for sys/wait.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes                                             checking for pwd.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes                                           checking for iconv.h... yes
checking localcharset.h usability... yes
checking localcharset.h presence... yes                                    checking for localcharset.h... yes
checking for sys/types.h... (cached) yes
checking sys/resource.h usability... yes                                   checking sys/resource.h presence... yes
checking for sys/resource.h... yes                                         checking for locale_charset in -liconv... no
checking for locale_charset in -lcharset... yes                            ./configure: 14521: ./configure: LIBS+=-liconv -lcharset: not found
checking alloca.h usability... yes
checking alloca.h presence... yes                                          checking for alloca.h... yes
checking for pkg-config... no
checking that generated files are newer than configure... done             configure: creating ./config.status
config.status: creating Makefile
config.status: creating m4/Makefile                                        config.status: creating src/Makefile
config.status: creating src/eglib-config.h
config.status: creating test/Makefile                                      config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
Git submodules updated successfully

        mcs source:    mcs                                                 
   Engine:
        Host:          aarch64-unknown-linux-gnu
        Target:        aarch64-unknown-linux-gnu
        GC:            sgen
        TLS:           __thread
        SIGALTSTACK:   yes
        Engine:        Building and using the JIT                                  BigArrays:     no
        DTrace:        no
        LLVM Back End: no (dynamically loaded: no)

   Libraries:
        .NET 4.x:        yes
        Xamarin.Android: no
        Xamarin.iOS:     no
        Xamarin.WatchOS: no
        Xamarin.TVOS:    no
        Xamarin.Mac:     no
        mobile_static:   no
        JNI support:     IKVM Native
        libgdiplus:      assumed to be installed
        zlib:            system zlib
        BTLS:            no

Now type `make' to compile

u0_a307@localhost ~/cSharp/sources
(master) [127]> make get-monolite-latest

rm -fr /data/data/com.termux/files/home/cSharp/sources/mcs/class/lib/monolite-*
mkdir -p /data/data/com.termux/files/home/cSharp/sources/mcs/class/lib     test ! -d /data/data/com.termux/files/home/cSharp/sources/mcs/class/lib/monolite || test ! -d /data/data/com.termux/files/home/cSharp/sources/mcs/class/lib/monolite.old || rm -fr /data/data/com.termux/files/home/cSharp/sources/mcs/class/lib/monolite.old
test ! -d /data/data/com.termux/files/home/cSharp/sources/mcs/class/lib/monolite || mv -f /data/data/com.termux/files/home/cSharp/sources/mcs/class/lib/monolite /data/data/com.termux/files/home/cSharp/sources/mcs/class/lib/monolite.old                                                                 cd /data/data/com.termux/files/home/cSharp/sources/mcs/class/lib && { (wget -O- http://download.mono-project.com/monolite/monolite-158-latest.tar.gz || curl http://download.mono-project.com/monolite/monolite-158-latest.tar.gz) | gzip -d | tar xf - ; }
--2020-05-03 18:50:02--  http://download.mono-project.com/monolite/monolite-158-latest.tar.gz
Resolving download.mono-project.com... 152.199.19.161
Connecting to download.mono-project.com|152.199.19.161|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4694147 (4.5M) [application/x-gzip]
Saving to: ‘STDOUT’

-                  100%[===============>]   4.48M  1.25MB/s    in 3.6s

2020-05-03 18:50:06 (1.25 MB/s) - written to stdout [4694147/4694147]

cd /data/data/com.termux/files/home/cSharp/sources/mcs/class/lib && mv -f monolite-* monolite

u0_a307@localhost ~/cSharp/sources (master)> make

(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /data/data/com.termux/files/home/cSharp/sources/missing autoheader)                                    rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
Git submodules updated successfully
make  all-recursive
make[1]: Entering directory '/data/data/com.termux/files/home/cSharp/sources'
Making all in po
make[2]: Entering directory '/data/data/com.termux/files/home/cSharp/sources/po'
Making all in mcs
make[3]: Entering directory '/data/data/com.termux/files/home/cSharp/sources/po/mcs'
make[3]: Leaving directory '/data/data/com.termux/files/home/cSharp/sources/po/mcs'
make[3]: Entering directory '/data/data/com.termux/files/home/cSharp/sources/po'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/data/data/com.termux/files/home/cSharp/sources/po'
make[2]: Leaving directory '/data/data/com.termux/files/home/cSharp/sources/po'
Making all in eglib
make[2]: Entering directory '/data/data/com.termux/files/home/cSharp/sources/eglib'
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /data/data/com.termux/files/home/cSharp/sources/missing autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[3]: Entering directory '/data/data/com.termux/files/home/cSharp/sources/eglib'
Making all in m4
make[4]: Entering directory '/data/data/com.termux/files/home/cSharp/sources/eglib/m4'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/data/data/com.termux/files/home/cSharp/sources/eglib/m4'
Making all in src
make[4]: Entering directory '/data/data/com.termux/files/home/cSharp/sources/eglib/src'
  CC       libeglib_la-garray.lo
  CC       libeglib_la-gbytearray.lo
  CC       libeglib_la-gerror.lo
  CC       libeglib_la-ghashtable.lo
  CC       libeglib_la-giconv.lo
  CC       libeglib_la-gmem.lo                                               CC       libeglib_la-goutput.lo
  CC       libeglib_la-gqsort.lo
  CC       libeglib_la-gstr.lo                                               CC       libeglib_la-gslist.lo
  CC       libeglib_la-gstring.lo
  CC       libeglib_la-gptrarray.lo
  CC       libeglib_la-glist.lo
  CC       libeglib_la-gqueue.lo
  CC       libeglib_la-gpath.lo
  CC       libeglib_la-gshell.lo
  CC       libeglib_la-gspawn.lo
  CC       libeglib_la-gfile.lo
  CC       libeglib_la-gfile-posix.lo
  CC       libeglib_la-gpattern.lo
  CC       libeglib_la-gmarkup.lo
  CC       libeglib_la-gutf8.lo
  CC       libeglib_la-gunicode.lo
  CC       libeglib_la-gdate-unix.lo
  CC       libeglib_la-gdir-unix.lo
  CC       libeglib_la-gfile-unix.lo
  CC       libeglib_la-gmisc-unix.lo
  CC       libeglib_la-gmodule-unix.lo
  CC       libeglib_la-gtimer-unix.lo
  CCLD     libeglib.la
make[4]: Leaving directory '/data/data/com.termux/files/home/cSharp/sources/eglib/src'
Making all in test
make[4]: Entering directory '/data/data/com.termux/files/home/cSharp/sources/eglib/test'
  CC       test_eglib-test.o
  CC       test_eglib-driver.o
  CC       test_eglib-hashtable.o
  CC       test_eglib-string-util.o
  CC       test_eglib-string.o
  CC       test_eglib-slist.o                                                CC       test_eglib-sizes.o
  CC       test_eglib-ptrarray.o
  CC       test_eglib-list.o
  CC       test_eglib-array.o
  CC       test_eglib-fake.o                                                 CC       test_eglib-path.o
  CC       test_eglib-queue.o
  CC       test_eglib-shell.o                                                CC       test_eglib-spawn.o
  CC       test_eglib-timer.o                                                CC       test_eglib-file.o
  CC       test_eglib-pattern.o                                              CC       test_eglib-dir.o
  CC       test_eglib-markup.o                                               CC       test_eglib-unicode.o
  CC       test_eglib-utf8.o
  CC       test_eglib-endian.o                                               CC       test_eglib-module.o
  CC       test_eglib-memory.o                                               CCLD     test-eglib
/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld: ../src/.libs/libeglib.a(libeglib_la-gunicode.o): in function `monoeg_g_get_charset':
/data/data/com.termux/files/home/cSharp/sources/eglib/src/gunicode.c:240: undefined reference to `locale_charset'
clang-9: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [Makefile:440: test-eglib] Error 1
make[4]: Leaving directory '/data/data/com.termux/files/home/cSharp/sources/eglib/test'
make[3]: *** [Makefile:438: all-recursive] Error 1
make[3]: Leaving directory '/data/data/com.termux/files/home/cSharp/sources/eglib'
make[2]: *** [Makefile:370: all] Error 2
make[2]: Leaving directory '/data/data/com.termux/files/home/cSharp/sources/eglib'                                                                    make[1]: *** [Makefile:535: all-recursive] Error 1
make[1]: Leaving directory '/data/data/com.termux/files/home/cSharp/sources'
make: *** [Makefile:465: all] Error 2

u0_a307@localhost ~/c/sources (master) [2]> make -v

GNU Make 4.3
Built for aarch64-unknown-linux-android
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.