Compiling SDL Error

Subforum for discussion and help with ScummVM's Android port

Moderator: ScummVM Team

Cirno
Posts: 25
Joined: Tue Mar 17, 2009 6:19 pm

Re: Compiling SDL Error

Post by Cirno »

No luck so far.
I guess I will put this on hold for now until the devs had a look at it.

Danke dir mim2011
mac_es
Posts: 145
Joined: Mon Oct 31, 2005 9:37 am

Re: Compiling SDL Error

Post by mac_es »

Try getting into project/jni/iconv/src and running ./build.sh

Maybe you will get an error compiling icu http://bugs.icu-project.org/trac/ticket/13385
Then you should modify for including locale.h and not xlocale.h in i18n/digitlst.cpp

When it finish, you should run again in ~/androidsdl/changeAppSettings.sh
mac_es
Posts: 145
Joined: Mon Oct 31, 2005 9:37 am

Re: Compiling SDL Error

Post by mac_es »

As I got installed WSL in a win10 machine I decided to try an updated build environment. All worked except that I have to update gradlew to get a complete release apk.

Though the new apk doesn't load themes. Games work and in the log say it has loaded vkeyb file correctly. Also translations work, so the assets are ok.

The log say that it can find scummmodern theme and falls back to runtime theme.

If I expand (flawless) the scummmodern zip file I got an extra line in the log about corrupted THEMERC

I will give a try with the 2.0 release branch.
mac_es
Posts: 145
Joined: Mon Oct 31, 2005 9:37 am

Re: Compiling SDL Error

Post by mac_es »

Theresa is something wrong with the apk. The assets don't get updated. If I update them manually in (data) all works great.

So I will need to look deeper into the gradlew update
mac_es
Posts: 145
Joined: Mon Oct 31, 2005 9:37 am

Re: Compiling SDL Error

Post by mac_es »

The apk is ok. The problem is that the themes, engine files are packed as assets and there is no action for upgrading. So they were the old versions. If I clear the data they are rebuild correctly and everything works ok.

For automatically update they should be packed as resources or declare an aciton for upgrde and update it programtically. As there are advantages for being asset and not resource (they are editable by the user)

The good news is that the GUI is working with extended characteres instead of crashing... I'm going to update the bug report right now


Cheers
Cirno
Posts: 25
Joined: Tue Mar 17, 2009 6:19 pm

Re: Compiling SDL Error

Post by Cirno »

I end up with the same errors as before.
What else can I be missing here?

I also tried a Fedora VM next to the Ubuntu VM. Same errors
mac_es
Posts: 145
Joined: Mon Oct 31, 2005 9:37 am

Re: Compiling SDL Error

Post by mac_es »

Do you got the iconv, icu, harfbuff libraries compiled?

Have you checked the the correct androidsdl version?

git checkout d378ee692f2e380a0ab0635c1df2eb6941b5bf58

Also I need to checkout the scummvm source code as 'real path' if I made a link it doesn't work...
Cirno
Posts: 25
Joined: Tue Mar 17, 2009 6:19 pm

Re: Compiling SDL Error

Post by Cirno »

These are my steps.
I just followed the guide and used both ndk 15c and ndk 19b.
Cirno wrote: Tue Feb 19, 2019 2:58 pm
  • Download scummvm from github and rename the folder from "scummvm-master" to "scummvm"
  • Download Android Studio and extract the folder to /home/user/Android.
  • Download APIs 25 to latest, SDK Tools, SDK Build-Tools, SDK Platform Tools, Support Repository (except for the APIs those are default anyway)
  • Download NDK r15c and extract the folder to /home/user/Android
  • Install Open JDK 8
  • Install make, git-core (build-essentials, automake, autoconf also installed just to be sure)
  • Set the environment export ANDROID_HOME=~/Android/Sdk
    export ANDROID_NDK_HOME=~/Android/android-ndk-r15c
    export PATH=$ANDROID_NDK_HOME:$ANDROID_HOME/tools:$PATH
    check with printenv to make sure
  • cd into /home/user/scummvm/dists/androidsdl and start with ./build.sh
To answer your questions.....I can't answer them properly :-)
It is probably above my Linux knowledge so any help is appreciated
mac_es
Posts: 145
Joined: Mon Oct 31, 2005 9:37 am

Re: Compiling SDL Error

Post by mac_es »

The build.sh is not initializaing androidsdl git submodules.

Go into
~/androidsdl/
And execute
git submodule update --init project/jni/iconv/src

After that, depending of your sdk version or iconv submodule version you will need to modify icu source to compile. digitlst.cpp needs to include locale.h and not xlocale.h (in recent versions)

The most simple way is to modify the tar ~/androidsdl/project/jni/iconv/src/icu4c-59_1-src.tgz because the script unpacks it when is running
Cirno
Posts: 25
Joined: Tue Mar 17, 2009 6:19 pm

Re: Compiling SDL Error

Post by Cirno »

Ok, same procedure as my last post except me using ndk 19b

This is the complete output
https://file.io/hzNnCh


From what I can see I fail at icu?
git submodule update --init project/jni/iconv/src tells me I up to date.
I only have icu4c-62_1-src.tgz without any digitlist.cpp inside.
mac_es
Posts: 145
Joined: Mon Oct 31, 2005 9:37 am

Re: Compiling SDL Error

Post by mac_es »

Hello,

I can't see the log. But you must use ndk r15c.

Cheers
Cirno
Posts: 25
Joined: Tue Mar 17, 2009 6:19 pm

Re: Compiling SDL Error

Post by Cirno »

Ok, here is the log for now again with the v19 just in case there is somtehing interesting for you to see

https://drive.google.com/file/d/1iGXLuj ... sp=sharing

I will try with v15 again

EDIT:

And this is the v15 result

https://drive.google.com/file/d/1DDUwy5 ... sp=sharing
mac_es
Posts: 145
Joined: Mon Oct 31, 2005 9:37 am

Re: Compiling SDL Error

Post by mac_es »

You need to build iconv... for some reason is not building

Go into /home/scumm/androidsdl/project/jni/iconv/src/ and run ./build.sh there you should get a clue
Cirno
Posts: 25
Joined: Tue Mar 17, 2009 6:19 pm

Re: Compiling SDL Error

Post by Cirno »

No arm64 support in ndk15?

Code: Select all

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by libiconv configure 1.15, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --host=aarch64-linux-android --prefix=/home/scumm/androidsdl/project/jni/iconv/src/arm64-v8a/libiconv-1.15/.. --enable-static --enable-shared

## --------- ##
## Platform. ##
## --------- ##

hostname = scumm
uname -m = x86_64
uname -r = 4.18.0-16-generic
uname -s = Linux
uname -v = #17~18.04.1-Ubuntu SMP Tue Feb 12 13:35:51 UTC 2019

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /home/scumm/Android/android-ndk-r15c/
PATH: /home/scumm/Android/Sdk/tools
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:3195: checking for a BSD-compatible install
configure:3263: result: /usr/bin/install -c
configure:3274: checking whether build environment is sane
configure:3329: result: yes
configure:3388: checking for aarch64-linux-android-strip
configure:3415: result: /home/scumm/Android/android-ndk-r15c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-strip
configure:3480: checking for a thread-safe mkdir -p
configure:3519: result: /bin/mkdir -p
configure:3526: checking for gawk
configure:3542: found /usr/bin/gawk
configure:3553: result: gawk
configure:3564: checking whether make sets $(MAKE)
configure:3586: result: yes
configure:3615: checking whether make supports nested variables
configure:3632: result: yes
configure:3760: checking whether make sets $(MAKE)
configure:3782: result: yes
configure:3801: checking for aarch64-linux-android-gcc
configure:3828: result: /home/scumm/Android/android-ndk-r15c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang
configure:4097: checking for C compiler version
configure:4106: /home/scumm/Android/android-ndk-r15c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang --version >&5
./configure: line 4108: /home/scumm/Android/android-ndk-r15c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang: No such file or directory
configure:4117: $? = 127
configure:4106: /home/scumm/Android/android-ndk-r15c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang -v >&5
./configure: line 4108: /home/scumm/Android/android-ndk-r15c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang: No such file or directory
configure:4117: $? = 127
configure:4106: /home/scumm/Android/android-ndk-r15c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang -V >&5
./configure: line 4108: /home/scumm/Android/android-ndk-r15c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang: No such file or directory
configure:4117: $? = 127
configure:4106: /home/scumm/Android/android-ndk-r15c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang -qversion >&5
./configure: line 4108: /home/scumm/Android/android-ndk-r15c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang: No such file or directory
configure:4117: $? = 127
configure:4137: checking whether the C compiler works
configure:4159: /home/scumm/Android/android-ndk-r15c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang -g -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wformat -Werror=format-security -Oz -DNDEBUG -fPIC -D_IO_getc=getc   -fPIC -g -ffunction-sections -fdata-sections -Wl,--gc-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Oz -Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--no-undefined -Wl,-z,noexecstack -Qunused-arguments -Wl,-z,relro -Wl,-z,now -shared -landroid -llog -latomic -lm -L/home/scumm/androidsdl/project/jni/iconv/src/arm64-v8a  conftest.c  >&5
./configure: line 4161: /home/scumm/Android/android-ndk-r15c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang: No such file or directory
configure:4163: $? = 127
configure:4201: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libiconv"
| #define PACKAGE_TARNAME "libiconv"
| #define PACKAGE_VERSION "1.15"
| #define PACKAGE_STRING "libiconv 1.15"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "libiconv"
| #define VERSION "1.15"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:4206: error: in `/home/scumm/androidsdl/project/jni/iconv/src/arm64-v8a/libiconv-1.15':
configure:4208: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set=set
ac_cv_env_CC_value=/home/scumm/Android/android-ndk-r15c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-g -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wformat -Werror=format-security -Oz -DNDEBUG -fPIC -D_IO_getc=getc '
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=set
ac_cv_env_CPP_value='/home/scumm/Android/android-ndk-r15c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang -E -g -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wformat -Werror=format-security -Oz -DNDEBUG -fPIC -D_IO_getc=getc '
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-fPIC -g -ffunction-sections -fdata-sections -Wl,--gc-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Oz -Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--no-undefined -Wl,-z,noexecstack -Qunused-arguments -Wl,-z,relro -Wl,-z,now -shared -landroid -llog -latomic -lm -L/home/scumm/androidsdl/project/jni/iconv/src/arm64-v8a '
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=aarch64-linux-android
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=/home/scumm/Android/android-ndk-r15c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang
ac_cv_prog_STRIP=/home/scumm/Android/android-ndk-r15c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-strip
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/scumm/androidsdl/project/jni/iconv/src/arm64-v8a/libiconv-1.15/build-aux/missing aclocal-1.15'
ALLOCA=''
ALLOCA_H=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
APPLE_UNIVERSAL_BUILD=''
AR='/home/scumm/Android/android-ndk-r15c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-ar'
ARFLAGS=''
AS='/home/scumm/Android/android-ndk-r15c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-as'
ASM_SYMBOL_PREFIX=''
AUTOCONF='${SHELL} /home/scumm/androidsdl/project/jni/iconv/src/arm64-v8a/libiconv-1.15/build-aux/missing autoconf'
AUTOHEADER='${SHELL} /home/scumm/androidsdl/project/jni/iconv/src/arm64-v8a/libiconv-1.15/build-aux/missing autoheader'
AUTOMAKE='${SHELL} /home/scumm/androidsdl/project/jni/iconv/src/arm64-v8a/libiconv-1.15/build-aux/missing automake-1.15'
AWK='gawk'
BITSIZEOF_PTRDIFF_T=''
BITSIZEOF_SIG_ATOMIC_T=''
BITSIZEOF_SIZE_T=''
BITSIZEOF_WCHAR_T=''
BITSIZEOF_WINT_T=''
BROKEN_WCHAR_H=''
CC='/home/scumm/Android/android-ndk-r15c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang'
CCDEPMODE=''
CFLAGS='-g -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wformat -Werror=format-security -Oz -DNDEBUG -fPIC -D_IO_getc=getc '
CFLAG_VISIBILITY=''
CP=''
CPP='/home/scumm/Android/android-ndk-r15c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang -E -g -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wformat -Werror=format-security -Oz -DNDEBUG -fPIC -D_IO_getc=getc '
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DLLTOOL=''
DLL_VARIABLE=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EILSEQ=''
EMULTIHOP_HIDDEN=''
EMULTIHOP_VALUE=''
ENOLINK_HIDDEN=''
ENOLINK_VALUE=''
EOVERFLOW_HIDDEN=''
EOVERFLOW_VALUE=''
ERRNO_H=''
EXEEXT=''
FGREP=''
GETTEXT_MACRO_VERSION=''
GL_COND_LIBTOOL_FALSE=''
GL_COND_LIBTOOL_TRUE=''
GL_GENERATE_ALLOCA_H_FALSE=''
GL_GENERATE_ALLOCA_H_TRUE=''
GL_GENERATE_ERRNO_H_FALSE=''
GL_GENERATE_ERRNO_H_TRUE=''
GL_GENERATE_LIMITS_H_FALSE=''
GL_GENERATE_LIMITS_H_TRUE=''
GL_GENERATE_STDBOOL_H_FALSE=''
GL_GENERATE_STDBOOL_H_TRUE=''
GL_GENERATE_STDDEF_H_FALSE=''
GL_GENERATE_STDDEF_H_TRUE=''
GL_GENERATE_STDINT_H_FALSE=''
GL_GENERATE_STDINT_H_TRUE=''
GMSGFMT=''
GMSGFMT_015=''
GNULIB_ATOLL=''
GNULIB_CALLOC_POSIX=''
GNULIB_CANONICALIZE_FILE_NAME=''
GNULIB_CHDIR=''
GNULIB_CHOWN=''
GNULIB_CLOSE=''
GNULIB_DPRINTF=''
GNULIB_DUP2=''
GNULIB_DUP3=''
GNULIB_DUP=''
GNULIB_ENVIRON=''
GNULIB_EUIDACCESS=''
GNULIB_FACCESSAT=''
GNULIB_FCHDIR=''
GNULIB_FCHMODAT=''
GNULIB_FCHOWNAT=''
GNULIB_FCLOSE=''
GNULIB_FCNTL=''
GNULIB_FDATASYNC=''
GNULIB_FDOPEN=''
GNULIB_FFLUSH=''
GNULIB_FFSL=''
GNULIB_FFSLL=''
GNULIB_FGETC=''
GNULIB_FGETS=''
GNULIB_FOPEN=''
GNULIB_FPRINTF=''
GNULIB_FPRINTF_POSIX=''
GNULIB_FPURGE=''
GNULIB_FPUTC=''
GNULIB_FPUTS=''
GNULIB_FREAD=''
GNULIB_FREOPEN=''
GNULIB_FSCANF=''
GNULIB_FSEEK=''
GNULIB_FSEEKO=''
GNULIB_FSTAT=''
GNULIB_FSTATAT=''
GNULIB_FSYNC=''
GNULIB_FTELL=''
GNULIB_FTELLO=''
GNULIB_FTRUNCATE=''
GNULIB_FUTIMENS=''
GNULIB_FWRITE=''
GNULIB_GETC=''
GNULIB_GETCHAR=''
GNULIB_GETCWD=''
GNULIB_GETDELIM=''
GNULIB_GETDOMAINNAME=''
GNULIB_GETDTABLESIZE=''
GNULIB_GETGROUPS=''
GNULIB_GETHOSTNAME=''
GNULIB_GETLINE=''
GNULIB_GETLOADAVG=''
GNULIB_GETLOGIN=''
GNULIB_GETLOGIN_R=''
GNULIB_GETPAGESIZE=''
GNULIB_GETSUBOPT=''
GNULIB_GETTIMEOFDAY=''
GNULIB_GETUSERSHELL=''
GNULIB_GRANTPT=''
GNULIB_GROUP_MEMBER=''
GNULIB_ISATTY=''
GNULIB_LCHMOD=''
GNULIB_LCHOWN=''
GNULIB_LINK=''
GNULIB_LINKAT=''
GNULIB_LSEEK=''
GNULIB_LSTAT=''
GNULIB_MALLOC_POSIX=''
GNULIB_MBSCASECMP=''
GNULIB_MBSCASESTR=''
GNULIB_MBSCHR=''
GNULIB_MBSCSPN=''
GNULIB_MBSLEN=''
GNULIB_MBSNCASECMP=''
GNULIB_MBSNLEN=''
GNULIB_MBSPBRK=''
GNULIB_MBSPCASECMP=''
GNULIB_MBSRCHR=''
GNULIB_MBSSEP=''
GNULIB_MBSSPN=''
GNULIB_MBSSTR=''
GNULIB_MBSTOK_R=''
GNULIB_MBTOWC=''
GNULIB_MEMCHR=''
GNULIB_MEMMEM=''
GNULIB_MEMPCPY=''
GNULIB_MEMRCHR=''
GNULIB_MKDIRAT=''
GNULIB_MKDTEMP=''
GNULIB_MKFIFO=''
GNULIB_MKFIFOAT=''
GNULIB_MKNOD=''
GNULIB_MKNODAT=''
GNULIB_MKOSTEMP=''
GNULIB_MKOSTEMPS=''
GNULIB_MKSTEMP=''
GNULIB_MKSTEMPS=''
GNULIB_MKTIME=''
GNULIB_NANOSLEEP=''
GNULIB_NONBLOCKING=''
GNULIB_OBSTACK_PRINTF=''
GNULIB_OBSTACK_PRINTF_POSIX=''
GNULIB_OPEN=''
GNULIB_OPENAT=''
GNULIB_OVERRIDES_WINT_T=''
GNULIB_PCLOSE=''
GNULIB_PERROR=''
GNULIB_PIPE2=''
GNULIB_PIPE=''
GNULIB_POPEN=''
GNULIB_POSIX_OPENPT=''
GNULIB_PREAD=''
GNULIB_PRINTF=''
GNULIB_PRINTF_POSIX=''
GNULIB_PTHREAD_SIGMASK=''
GNULIB_PTSNAME=''
GNULIB_PTSNAME_R=''
GNULIB_PUTC=''
GNULIB_PUTCHAR=''
GNULIB_PUTENV=''
GNULIB_PUTS=''
GNULIB_PWRITE=''
GNULIB_QSORT_R=''
GNULIB_RAISE=''
GNULIB_RANDOM=''
GNULIB_RANDOM_R=''
GNULIB_RAWMEMCHR=''
GNULIB_READ=''
GNULIB_READLINK=''
GNULIB_READLINKAT=''
GNULIB_REALLOC_POSIX=''
GNULIB_REALPATH=''
GNULIB_REMOVE=''
GNULIB_RENAME=''
GNULIB_RENAMEAT=''
GNULIB_RMDIR=''
GNULIB_RPMATCH=''
GNULIB_SCANF=''
GNULIB_SECURE_GETENV=''
GNULIB_SETENV=''
GNULIB_SETHOSTNAME=''
GNULIB_SIGACTION=''
GNULIB_SIGNAL_H_SIGPIPE=''
GNULIB_SIGPROCMASK=''
GNULIB_SLEEP=''
GNULIB_SNPRINTF=''
GNULIB_SPRINTF_POSIX=''
GNULIB_STAT=''
GNULIB_STDIO_H_NONBLOCKING=''
GNULIB_STDIO_H_SIGPIPE=''
GNULIB_STPCPY=''
GNULIB_STPNCPY=''
GNULIB_STRCASESTR=''
GNULIB_STRCHRNUL=''
GNULIB_STRDUP=''
GNULIB_STRERROR=''
GNULIB_STRERROR_R=''
GNULIB_STRNCAT=''
GNULIB_STRNDUP=''
GNULIB_STRNLEN=''
GNULIB_STRPBRK=''
GNULIB_STRPTIME=''
GNULIB_STRSEP=''
GNULIB_STRSIGNAL=''
GNULIB_STRSTR=''
GNULIB_STRTOD=''
GNULIB_STRTOK_R=''
GNULIB_STRTOLL=''
GNULIB_STRTOULL=''
GNULIB_STRVERSCMP=''
GNULIB_SYMLINK=''
GNULIB_SYMLINKAT=''
GNULIB_SYSTEM_POSIX=''
GNULIB_TIMEGM=''
GNULIB_TIME_R=''
GNULIB_TIME_RZ=''
GNULIB_TMPFILE=''
GNULIB_TTYNAME_R=''
GNULIB_UNISTD_H_NONBLOCKING=''
GNULIB_UNISTD_H_SIGPIPE=''
GNULIB_UNLINK=''
GNULIB_UNLINKAT=''
GNULIB_UNLOCKPT=''
GNULIB_UNSETENV=''
GNULIB_USLEEP=''
GNULIB_UTIMENSAT=''
GNULIB_VASPRINTF=''
GNULIB_VDPRINTF=''
GNULIB_VFPRINTF=''
GNULIB_VFPRINTF_POSIX=''
GNULIB_VFSCANF=''
GNULIB_VPRINTF=''
GNULIB_VPRINTF_POSIX=''
GNULIB_VSCANF=''
GNULIB_VSNPRINTF=''
GNULIB_VSPRINTF_POSIX=''
GNULIB_WCTOMB=''
GNULIB_WRITE=''
GNULIB__EXIT=''
GREP=''
HAVE_ATOLL=''
HAVE_C99_STDINT_H=''
HAVE_CANONICALIZE_FILE_NAME=''
HAVE_CHOWN=''
HAVE_DECL_ENVIRON=''
HAVE_DECL_FCHDIR=''
HAVE_DECL_FDATASYNC=''
HAVE_DECL_FPURGE=''
HAVE_DECL_FSEEKO=''
HAVE_DECL_FTELLO=''
HAVE_DECL_GETDELIM=''
HAVE_DECL_GETDOMAINNAME=''
HAVE_DECL_GETLINE=''
HAVE_DECL_GETLOADAVG=''
HAVE_DECL_GETLOGIN=''
HAVE_DECL_GETLOGIN_R=''
HAVE_DECL_GETPAGESIZE=''
HAVE_DECL_GETUSERSHELL=''
HAVE_DECL_LOCALTIME_R=''
HAVE_DECL_MEMMEM=''
HAVE_DECL_MEMRCHR=''
HAVE_DECL_OBSTACK_PRINTF=''
HAVE_DECL_SETENV=''
HAVE_DECL_SETHOSTNAME=''
HAVE_DECL_SNPRINTF=''
HAVE_DECL_STRDUP=''
HAVE_DECL_STRERROR_R=''
HAVE_DECL_STRNDUP=''
HAVE_DECL_STRNLEN=''
HAVE_DECL_STRSIGNAL=''
HAVE_DECL_STRTOK_R=''
HAVE_DECL_TTYNAME_R=''
HAVE_DECL_UNSETENV=''
HAVE_DECL_VSNPRINTF=''
HAVE_DPRINTF=''
HAVE_DUP2=''
HAVE_DUP3=''
HAVE_EUIDACCESS=''
HAVE_FACCESSAT=''
HAVE_FCHDIR=''
HAVE_FCHMODAT=''
HAVE_FCHOWNAT=''
HAVE_FCNTL=''
HAVE_FDATASYNC=''
HAVE_FFSL=''
HAVE_FFSLL=''
HAVE_FSEEKO=''
HAVE_FSTATAT=''
HAVE_FSYNC=''
HAVE_FTELLO=''
HAVE_FTRUNCATE=''
HAVE_FUTIMENS=''
HAVE_GETDTABLESIZE=''
HAVE_GETGROUPS=''
HAVE_GETHOSTNAME=''
HAVE_GETLOGIN=''
HAVE_GETPAGESIZE=''
HAVE_GETSUBOPT=''
HAVE_GETTIMEOFDAY=''
HAVE_GRANTPT=''
HAVE_GROUP_MEMBER=''
HAVE_INTTYPES_H=''
HAVE_LCHMOD=''
HAVE_LCHOWN=''
HAVE_LINK=''
HAVE_LINKAT=''
HAVE_LONG_LONG_INT=''
HAVE_LSTAT=''
HAVE_MAX_ALIGN_T=''
HAVE_MBSLEN=''
HAVE_MEMCHR=''
HAVE_MEMPCPY=''
HAVE_MKDIRAT=''
HAVE_MKDTEMP=''
HAVE_MKFIFO=''
HAVE_MKFIFOAT=''
HAVE_MKNOD=''
HAVE_MKNODAT=''
HAVE_MKOSTEMP=''
HAVE_MKOSTEMPS=''
HAVE_MKSTEMP=''
HAVE_MKSTEMPS=''
HAVE_MSVC_INVALID_PARAMETER_HANDLER=''
HAVE_NANOSLEEP=''
HAVE_OPENAT=''
HAVE_OS_H=''
HAVE_PCLOSE=''
HAVE_PIPE2=''
HAVE_PIPE=''
HAVE_POPEN=''
HAVE_POSIX_OPENPT=''
HAVE_POSIX_SIGNALBLOCKING=''
HAVE_PREAD=''
HAVE_PTHREAD_SIGMASK=''
HAVE_PTSNAME=''
HAVE_PTSNAME_R=''
HAVE_PWRITE=''
HAVE_QSORT_R=''
HAVE_RAISE=''
HAVE_RANDOM=''
HAVE_RANDOM_H=''
HAVE_RANDOM_R=''
HAVE_RAWMEMCHR=''
HAVE_READLINK=''
HAVE_READLINKAT=''
HAVE_REALPATH=''
HAVE_RENAMEAT=''
HAVE_RPMATCH=''
HAVE_SECURE_GETENV=''
HAVE_SETENV=''
HAVE_SETHOSTNAME=''
HAVE_SIGACTION=''
HAVE_SIGHANDLER_T=''
HAVE_SIGINFO_T=''
HAVE_SIGNED_SIG_ATOMIC_T=''
HAVE_SIGNED_WCHAR_T=''
HAVE_SIGNED_WINT_T=''
HAVE_SIGSET_T=''
HAVE_SLEEP=''
HAVE_STDINT_H=''
HAVE_STPCPY=''
HAVE_STPNCPY=''
HAVE_STRCASESTR=''
HAVE_STRCHRNUL=''
HAVE_STRPBRK=''
HAVE_STRPTIME=''
HAVE_STRSEP=''
HAVE_STRTOD=''
HAVE_STRTOLL=''
HAVE_STRTOULL=''
HAVE_STRUCT_RANDOM_DATA=''
HAVE_STRUCT_SIGACTION_SA_SIGACTION=''
HAVE_STRUCT_TIMEVAL=''
HAVE_STRVERSCMP=''
HAVE_SYMLINK=''
HAVE_SYMLINKAT=''
HAVE_SYS_BITYPES_H=''
HAVE_SYS_INTTYPES_H=''
HAVE_SYS_LOADAVG_H=''
HAVE_SYS_PARAM_H=''
HAVE_SYS_TIME_H=''
HAVE_SYS_TYPES_H=''
HAVE_TIMEGM=''
HAVE_TIMEZONE_T=''
HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=''
HAVE_UNISTD_H=''
HAVE_UNLINKAT=''
HAVE_UNLOCKPT=''
HAVE_UNSIGNED_LONG_LONG_INT=''
HAVE_USLEEP=''
HAVE_UTIMENSAT=''
HAVE_VASPRINTF=''
HAVE_VDPRINTF=''
HAVE_VISIBILITY=''
HAVE_WCHAR_H=''
HAVE_WCHAR_T=''
HAVE_WINSOCK2_H=''
HAVE__BOOL=''
HAVE__EXIT=''
ICONV_CONST=''
INCLUDE_NEXT=''
INCLUDE_NEXT_AS_FIRST_DIRECTIVE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_PROGRAM_ENV=''
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INTLLIBS=''
INTL_MACOSX_LIBS=''
LD='/home/scumm/Android/android-ndk-r15c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang++'
LDFLAGS='-fPIC -g -ffunction-sections -fdata-sections -Wl,--gc-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Oz -Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--no-undefined -Wl,-z,noexecstack -Qunused-arguments -Wl,-z,relro -Wl,-z,now -shared -landroid -llog -latomic -lm -L/home/scumm/androidsdl/project/jni/iconv/src/arm64-v8a '
LIBICONV=''
LIBICRT_LIBDEPS=''
LIBICRT_LTLIBDEPS=''
LIBINTL=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE=''
LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE=''
LIBUNISTRING_UNITYPES_H=''
LIBUNISTRING_UNIWIDTH_H=''
LIMITS_H=''
LIPO=''
LN=''
LN_S=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAKEINFO='${SHELL} /home/scumm/androidsdl/project/jni/iconv/src/arm64-v8a/libiconv-1.15/build-aux/missing makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
MSGFMT=''
MSGFMT_015=''
MSGMERGE=''
NEXT_AS_FIRST_DIRECTIVE_ERRNO_H=''
NEXT_AS_FIRST_DIRECTIVE_FCNTL_H=''
NEXT_AS_FIRST_DIRECTIVE_LIMITS_H=''
NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H=''
NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=''
NEXT_AS_FIRST_DIRECTIVE_STDINT_H=''
NEXT_AS_FIRST_DIRECTIVE_STDIO_H=''
NEXT_AS_FIRST_DIRECTIVE_STDLIB_H=''
NEXT_AS_FIRST_DIRECTIVE_STRING_H=''
NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H=''
NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H=''
NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H=''
NEXT_AS_FIRST_DIRECTIVE_TIME_H=''
NEXT_AS_FIRST_DIRECTIVE_UNISTD_H=''
NEXT_ERRNO_H=''
NEXT_FCNTL_H=''
NEXT_LIMITS_H=''
NEXT_SIGNAL_H=''
NEXT_STDDEF_H=''
NEXT_STDINT_H=''
NEXT_STDIO_H=''
NEXT_STDLIB_H=''
NEXT_STRING_H=''
NEXT_SYS_STAT_H=''
NEXT_SYS_TIME_H=''
NEXT_SYS_TYPES_H=''
NEXT_TIME_H=''
NEXT_UNISTD_H=''
NM='/home/scumm/Android/android-ndk-r15c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-nm'
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='libiconv'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='libiconv'
PACKAGE_STRING='libiconv 1.15'
PACKAGE_TARNAME='libiconv'
PACKAGE_URL=''
PACKAGE_VERSION='1.15'
PATH_SEPARATOR=':'
POSUB=''
PRAGMA_COLUMNS=''
PRAGMA_SYSTEM_HEADER=''
PTHREAD_H_DEFINES_STRUCT_TIMESPEC=''
PTRDIFF_T_SUFFIX=''
RANLIB='/home/scumm/Android/android-ndk-r15c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-ranlib'
RC=''
RELOCATABLE=''
RELOCATABLE_BUILD_DIR=''
RELOCATABLE_CONFIG_H_DIR=''
RELOCATABLE_LDFLAGS=''
RELOCATABLE_LIBRARY_PATH=''
RELOCATABLE_SRC_DIR=''
RELOCATABLE_STRIP=''
RELOCATABLE_VIA_LD_FALSE=''
RELOCATABLE_VIA_LD_TRUE=''
RELOCATABLE_VIA_WRAPPER_FALSE=''
RELOCATABLE_VIA_WRAPPER_TRUE=''
REPLACE_CALLOC=''
REPLACE_CANONICALIZE_FILE_NAME=''
REPLACE_CHOWN=''
REPLACE_CLOSE=''
REPLACE_DPRINTF=''
REPLACE_DUP2=''
REPLACE_DUP=''
REPLACE_FCHOWNAT=''
REPLACE_FCLOSE=''
REPLACE_FCNTL=''
REPLACE_FDOPEN=''
REPLACE_FFLUSH=''
REPLACE_FOPEN=''
REPLACE_FPRINTF=''
REPLACE_FPURGE=''
REPLACE_FREOPEN=''
REPLACE_FSEEK=''
REPLACE_FSEEKO=''
REPLACE_FSTAT=''
REPLACE_FSTATAT=''
REPLACE_FTELL=''
REPLACE_FTELLO=''
REPLACE_FTRUNCATE=''
REPLACE_FUTIMENS=''
REPLACE_GETCWD=''
REPLACE_GETDELIM=''
REPLACE_GETDOMAINNAME=''
REPLACE_GETDTABLESIZE=''
REPLACE_GETGROUPS=''
REPLACE_GETLINE=''
REPLACE_GETLOGIN_R=''
REPLACE_GETPAGESIZE=''
REPLACE_GETTIMEOFDAY=''
REPLACE_GMTIME=''
REPLACE_ISATTY=''
REPLACE_LCHOWN=''
REPLACE_LINK=''
REPLACE_LINKAT=''
REPLACE_LOCALTIME=''
REPLACE_LOCALTIME_R=''
REPLACE_LSEEK=''
REPLACE_LSTAT=''
REPLACE_MALLOC=''
REPLACE_MBTOWC=''
REPLACE_MEMCHR=''
REPLACE_MEMMEM=''
REPLACE_MKDIR=''
REPLACE_MKFIFO=''
REPLACE_MKNOD=''
REPLACE_MKSTEMP=''
REPLACE_MKTIME=''
REPLACE_NANOSLEEP=''
REPLACE_NULL=''
REPLACE_OBSTACK_PRINTF=''
REPLACE_OPEN=''
REPLACE_OPENAT=''
REPLACE_PERROR=''
REPLACE_POPEN=''
REPLACE_PREAD=''
REPLACE_PRINTF=''
REPLACE_PTHREAD_SIGMASK=''
REPLACE_PTSNAME=''
REPLACE_PTSNAME_R=''
REPLACE_PUTENV=''
REPLACE_PWRITE=''
REPLACE_QSORT_R=''
REPLACE_RAISE=''
REPLACE_RANDOM_R=''
REPLACE_READ=''
REPLACE_READLINK=''
REPLACE_READLINKAT=''
REPLACE_REALLOC=''
REPLACE_REALPATH=''
REPLACE_REMOVE=''
REPLACE_RENAME=''
REPLACE_RENAMEAT=''
REPLACE_RMDIR=''
REPLACE_SETENV=''
REPLACE_SLEEP=''
REPLACE_SNPRINTF=''
REPLACE_SPRINTF=''
REPLACE_STAT=''
REPLACE_STDIO_READ_FUNCS=''
REPLACE_STDIO_WRITE_FUNCS=''
REPLACE_STPNCPY=''
REPLACE_STRCASESTR=''
REPLACE_STRCHRNUL=''
REPLACE_STRDUP=''
REPLACE_STRERROR=''
REPLACE_STRERROR_R=''
REPLACE_STRNCAT=''
REPLACE_STRNDUP=''
REPLACE_STRNLEN=''
REPLACE_STRSIGNAL=''
REPLACE_STRSTR=''
REPLACE_STRTOD=''
REPLACE_STRTOK_R=''
REPLACE_STRUCT_TIMEVAL=''
REPLACE_SYMLINK=''
REPLACE_SYMLINKAT=''
REPLACE_TIMEGM=''
REPLACE_TMPFILE=''
REPLACE_TTYNAME_R=''
REPLACE_UNLINK=''
REPLACE_UNLINKAT=''
REPLACE_UNSETENV=''
REPLACE_USLEEP=''
REPLACE_UTIMENSAT=''
REPLACE_VASPRINTF=''
REPLACE_VDPRINTF=''
REPLACE_VFPRINTF=''
REPLACE_VPRINTF=''
REPLACE_VSNPRINTF=''
REPLACE_VSPRINTF=''
REPLACE_WCTOMB=''
REPLACE_WRITE=''
SED=''
SET_MAKE=''
SHELL='/bin/bash'
SIG_ATOMIC_T_SUFFIX=''
SIZE_T_SUFFIX=''
SRCLIBOBJS=''
STDBOOL_H=''
STDDEF_H=''
STDINT_H=''
STRIP='/home/scumm/Android/android-ndk-r15c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-strip'
SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=''
TIME_H_DEFINES_STRUCT_TIMESPEC=''
UNDEFINE_STRTOK_R=''
UNISTD_H_DEFINES_STRUCT_TIMESPEC=''
UNISTD_H_HAVE_WINSOCK2_H=''
UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=''
USE_EXTRA_ENCODINGS=''
USE_MBSTATE_T=''
USE_NLS=''
VERSION='1.15'
WCHAR_T_SUFFIX=''
WINDOWS_64_BIT_OFF_T=''
WINDOWS_64_BIT_ST_SIZE=''
WINDRES=''
WINT_T_SUFFIX=''
WOE32=''
WOE32DLL=''
XGETTEXT=''
XGETTEXT_015=''
XGETTEXT_EXTRA_OPTIONS=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
gl_LIBOBJS=''
gl_LTLIBOBJS=''
gltests_LIBOBJS=''
gltests_LTLIBOBJS=''
gltests_WITNESS=''
host='aarch64-linux-android'
host_alias='aarch64-linux-android'
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/scumm/androidsdl/project/jni/iconv/src/arm64-v8a/libiconv-1.15/build-aux/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/home/scumm/androidsdl/project/jni/iconv/src/arm64-v8a/libiconv-1.15/..'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "libiconv"
#define PACKAGE_TARNAME "libiconv"
#define PACKAGE_VERSION "1.15"
#define PACKAGE_STRING "libiconv 1.15"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "libiconv"
#define VERSION "1.15"

configure: exit 77
mac_es
Posts: 145
Joined: Mon Oct 31, 2005 9:37 am

Re: Compiling SDL Error

Post by mac_es »

My NDK got the arch64 compiler in

~/android/android-ndk-r15c/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64

It is weird, but try to copy the directory where it expects....
Post Reply