Open djmacross opened 1 week ago
could you attach the whole logs?
build openssl libraries:
./ndk-pkg install openssl-dev --target=android-21-arm64-v8a
build dynamically linked openssl executable
./ndk-pkg install openssl --target=android-35-arm64-v8a
build fully statically linked openssl executable
./ndk-pkg install openssl --target=android-35-arm64-v8a --static
djmacross@MACROSSLENOVO:~$ ./ndk-pkg install android-21-arm64-v8a,armeabi-v7a,x86_64,x86/openssl-dev --profile=release ==> /mnt/d/ndk-pkg/core/uppm is-installed android-ndk-r27c
Installation android-21-arm64-v8a/openssl-dev start
=>> STEP 1 : load formula
=>> STEP 2 : create and change to the working directory ==> install -d /mnt/d/ndk-pkg/run/618861/android-21-arm64-v8a/openssl-dev ==> cd /mnt/d/ndk-pkg/run/618861/android-21-arm64-v8a/openssl-dev ==> install -d src/_ fix res bin lib include
=>> STEP 3 : locate C/C++ toolchain for native build
=>> STEP 4 : install needed packages via uppm ==> /mnt/d/ndk-pkg/core/uppm about uppm.version : 0.15.4 uppm.homedir : /mnt/d/ndk-pkg/uppm uppm.exepath : /mnt/d/ndk-pkg/core/uppm uppm.website : https://github.com/leleliu008/uppm
uppm.build.utctime: 2024-07-14 16:34:04 uppm.build.libyaml: 0.2.5 uppm.build.libcurl: 8.7.1 uppm.build.libgit2: 1.7.2 uppm.build.openssl: 3.3.0 uppm.build.jansson: 2.14 uppm.build.archive: 3.7.4 uppm.build.zlib: 1.3.1 ==> /mnt/d/ndk-pkg/core/uppm update ==> Updating formula repo name: official-core path: /mnt/d/ndk-pkg/uppm/repos.d/official-core url: https://github.com/leleliu008/uppm-formula-repository-linux-x86_64 branch: master pinned: no enabled: yes created: 2024-11-19 07:42:33-05:00 updated: 2024-11-23 20:14:23-05:00 Already up to date. ==> /mnt/d/ndk-pkg/core/uppm install curl uppm package 'curl' already has been installed. ==> /mnt/d/ndk-pkg/core/uppm install bsdtar uppm package 'bsdtar' already has been installed. ==> /mnt/d/ndk-pkg/core/uppm install gmake uppm package 'gmake' already has been installed. ==> /mnt/d/ndk-pkg/core/uppm install pkg-config uppm package 'pkg-config' already has been installed. ==> /mnt/d/ndk-pkg/core/uppm install patchelf uppm package 'patchelf' already has been installed. ==> /mnt/d/ndk-pkg/core/uppm install tree uppm package 'tree' already has been installed. ==> /mnt/d/ndk-pkg/core/uppm install gmake uppm package 'gmake' already has been installed. ==> curl --cacert /mnt/d/ndk-pkg/core/cacert.pem --fail --retry 20 --retry-delay 30 --location -o '/mnt/d/ndk-pkg/run/618861/xbuilder' 'https://raw.githubusercontent.com/leleliu008/ppkg/refs/heads/master/xbuilder' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 42531 100 42531 0 0 115k 0 --:--:-- --:--:-- --:--:-- 115k ==> sh /mnt/d/ndk-pkg/run/618861/xbuilder install perl --prefix=/mnt/d/ndk-pkg/native --download-dir=/mnt/d/ndk-pkg/downloads --session-dir=/mnt/d/ndk-pkg/run/618861/native
=>> xbuilder: install package : perl [✔] /mnt/d/ndk-pkg/downloads/d91115e90b896520e83d4de6b52f8254ef2b70a8d545ffab33200ea9f1cf29e8.txz already have been fetched. ==> install -d /mnt/d/ndk-pkg/run/618861/native/perl/src ==> cd /mnt/d/ndk-pkg/run/618861/native/perl/src ==> bsdtar xf /mnt/d/ndk-pkg/downloads/d91115e90b896520e83d4de6b52f8254ef2b70a8d545ffab33200ea9f1cf29e8.txz --strip-components=1 --no-same-owner ==> ./Configure -Dprefix=/mnt/d/ndk-pkg/native/dbf90a6949efb4e21d41eecea00980b0fee52548da7a612471e2c309621b9451 -Dman1dir=none -Dman3dir=none -des -Dmake=gmake -Duselargefiles -Duseshrplib -Dusethreads -Dusenm=false -Dusedl=true First let's make sure your kit is complete. Checking... Locating common programs... Checking compatibility between /mnt/d/ndk-pkg/uppm/installed/coreutils/bin/echo and builtin echo (if any)... Symbolic links are supported. Checking how to test for symbolic links... You can test for symbolic links with 'test -h'. Checking for cross-compile No targethost for running compiler tests against defined, running locally Good, your tr supports [:lower:] and [:upper:] to convert case. Using [:upper:] and [:lower:] to convert case. aix dragonfly irix_4 netbsd sco_2_3_4 aix_3 dynix irix_5 newsos4 solaris_2 aix_4 dynixptx irix_6 nonstopux stellar altos486 epix irix_6_0 openbsd sunos_4_0 amigaos esix4 irix_6_1 opus sunos_4_1 atheos fps isc os2 super-ux aux_3 freebsd isc_2 os390 svr4 bitrig freemint linux-android os400 svr5 bsdos gnu linux posix-bc ti1500 catamount gnukfreebsd lynxos qnx umips convexos gnuknetbsd midnightbsd riscos unicos cxux greenhills minix sco unicosmk cygwin haiku mips sco_2_3_0 unisysdynix darwin hpux mirbsd sco_2_3_1 utekv dcosx i386 mpc sco_2_3_2 vos dec_osf interix ncr_tower sco_2_3_3 Which of these apply, if any? [linux] Operating system name? [linux] Operating system version? [5.15.167.4-microsoft-standard-wsl2] Installation prefix to use? (~name ok) [/mnt/d/ndk-pkg/native/dbf90a6949efb4e21d41eecea00980b0fee52548da7a612471e2c309621b9451] Directory /mnt/d/ndk-pkg/native/dbf90a6949efb4e21d41eecea00980b0fee52548da7a612471e2c309621b9451 doesn't exist. Use that name anyway? [y] AFS does not seem to be running... What installation prefix should I use for installing files? (~name ok) [/mnt/d/ndk-pkg/native/dbf90a6949efb4e21d41eecea00980b0fee52548da7a612471e2c309621b9451] Directory /mnt/d/ndk-pkg/native/dbf90a6949efb4e21d41eecea00980b0fee52548da7a612471e2c309621b9451 doesn't exist. Use that name anyway? [y] Build a threading Perl? [y] Use which C compiler? [cc] Checking for GNU cc in disguise and/or its version number... Now, how can we feed standard input to your C preprocessor... Directories to use for library searches? [/mnt/d/ndk-pkg/core/sysroot/lib /usr/local/lib /usr/lib/x86_64-linux-gnu /usr/lib /usr/lib64] What is the file extension used for shared libraries? [so] Make shared library basenames unique? [n] Build Perl for SOCKS? [n] Try to use long doubles if available? [n] Checking for optional libraries... What libraries to use? [-lpthread -ldl -lm -lutil -lc] What optimizer/debugger flag should be used? [-O2] Checking if your compiler accepts -fno-strict-aliasing Yes, it does. Checking if your compiler accepts -pipe Yes, it does. Checking if your compiler accepts -fstack-protector-strong Yes, it does. Any additional cc flags? [-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include] Let me guess what the preprocessor flags are... Any additional ld flags (NOT including libraries)? [ -fstack-protector-strong -L/usr/local/lib] Checking your choice of C compiler and flags for coherency... Checking to see how big your integers are... Checking to see if you have long long... Checking to see how big your long longs are... Computing filename position in cpp output for #include directives...
It seems that you are running ndk-pkg in WSL. You could run export GITHUB_ACTIONS=true
and try again. it will result in ndk-pkg to install aux tools by fetching prebuild binaries rather than building them locally.
Hi, any tips in how to compile openssl I'm getting this error
gmake: *** no targets specified and no makefile found. stop.