I downloaded the source for wx 3.1.1 here:
Code: Select all
git clone --recurse-submodules https://github.com/audacity/wxWidgets/
../configure --with-gtk=2 --enable-cmdline --enable-monolithic --with-expat=builtin
...
Code: Select all
Configured wxWidgets 3.1.1 for `aarch64-unknown-linux-gnu'
Which GUI toolkit should wxWidgets use? GTK+ 2 with support for GTK+ printing libnotify
Should wxWidgets be compiled into single library? yes
Should wxWidgets be linked as a shared library? yes
Should wxWidgets support Unicode? yes (using wchar_t)
What level of wxWidgets compatibility should be enabled?
wxWidgets 2.8 no
wxWidgets 3.0 yes
Which libraries should wxWidgets use?
STL no
jpeg sys
png sys
regex builtin
tiff sys
zlib sys
expat builtin
libmspack no
sdl no
This time, the output of make -j8 install goes like this:
Code: Select all
In file included from ../src/common/string.cpp:39:
../include/wx/xlocale.h:251:18: error: use of undeclared identifier 'strtoul_l'
{ return wxCRT_Strtoul_lA(c, endptr, base, loc.Get()); }
^
../include/wx/xlocale.h:244:46: note: expanded from macro 'wxCRT_Strtoul_lA'
#define wxCRT_Strtoul_lA wxXLOCALE_IDENT(strtoul_l)
^
../include/wx/xlocale.h:305:22: error: use of undeclared identifier 'wcstod_l'; did you mean 'wcstold_l'?
{ return wxCRT_Strtod_lW(c, endptr, loc.Get()); }
^~~~~~~~~~~~~~~
wcstold_l
../include/wx/xlocale.h:300:49: note: expanded from macro 'wxCRT_Strtod_lW'
#define wxCRT_Strtod_lW wxXLOCALE_IDENT(wcstod_l)
^
../include/wx/xlocale.h:59:39: note: expanded from macro 'wxXLOCALE_IDENT'
#define wxXLOCALE_IDENT(name) name
^
/data/data/com.termux/files/usr/include/wchar.h:191:13: note: 'wcstold_l' declared here
long double wcstold_l(const wchar_t* __s, wchar_t** __end_ptr, locale_t __l) __INTRODUCED_IN(21);
^
In file included from ../src/common/string.cpp:39:
../include/wx/xlocale.h:307:22: error: use of undeclared identifier 'wcstol_l'; did you mean 'wcstoll_l'?
{ return wxCRT_Strtol_lW(c, endptr, base, loc.Get()); }
^~~~~~~~~~~~~~~
wcstoll_l
../include/wx/xlocale.h:301:49: note: expanded from macro 'wxCRT_Strtol_lW'
#define wxCRT_Strtol_lW wxXLOCALE_IDENT(wcstol_l)
^
../include/wx/xlocale.h:59:39: note: expanded from macro 'wxXLOCALE_IDENT'
#define wxXLOCALE_IDENT(name) name
^
/data/data/com.termux/files/usr/include/wchar.h:189:11: note: 'wcstoll_l' declared here
long long wcstoll_l(const wchar_t* __s, wchar_t** __end_ptr, int __base, locale_t __l) __INTRODUCED_IN(21);
^
In file included from ../src/common/string.cpp:39:
../include/wx/xlocale.h:309:22: error: use of undeclared identifier 'wcstoul_l'
{ return wxCRT_Strtoul_lW(c, endptr, base, loc.Get()); }
^
../include/wx/xlocale.h:302:50: note: expanded from macro 'wxCRT_Strtoul_lW'
#define wxCRT_Strtoul_lW wxXLOCALE_IDENT(wcstoul_l)
^
4 errors generated.
make: *** [Makefile:16191: monodll_string.o] Error 1
make: *** Waiting for unfinished jobs....
Code: Select all
$ uname -a
Linux localhost 4.4.141-perf+ #1 SMP PREEMPT Sun Jun 23 13:09:29 CST 2019 aarch64 Android
$ make --version
GNU Make 4.2.1
Built for aarch64-unknown-linux-android
Copyright (C) 1988-2016 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.
$ g++ --version
clang version 8.0.0 (tags/RELEASE_800/final)
Target: aarch64-unknown-linux-android
Thread model: posix
InstalledDir: /data/data/com.termux/files/usr/bin