Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[device-port] [chagallwifi] Samsung Galaxy Tab S 10.5 #296

Open
1 of 16 tasks
WhiteD1978 opened this issue Jun 11, 2022 · 1 comment
Open
1 of 16 tasks

[device-port] [chagallwifi] Samsung Galaxy Tab S 10.5 #296

WhiteD1978 opened this issue Jun 11, 2022 · 1 comment

Comments

@WhiteD1978
Copy link

Tree: halium-7.1

  • Create manifest (https://github.com/exynos5420/android_build/manifests)
  • Boot image and system image build successfully
  • Device boots into rootfs, usb: Manufacturer: GNU/Linux Device appears in dmesg on host.
  • LXC container starts and does not crash
  • libhybris tests
    • test_gps
    • test_hwcomposer
    • test_lights
    • test_vibrator
    • test_wifi
    • test_sensors
    • test_audio
    • test_camera
    • test_input
    • test_nfc
    • test_recorder

./halium/halium-boot/check-kernel-config kernel/samsung/exynos5420/arch/arm/configs/lineageos_chagallwifi_defconfig

Config file checked, found 149 errors that I did not fix.

./halium/halium-boot/check-kernel-config kernel/samsung/exynos5420/arch/arm/configs/lineageos_chagallwifi_defconfig -w

Made 150 fixes

./halium/halium-boot/check-kernel-config kernel/samsung/exynos5420/arch/arm/configs/lineageos_chagallwifi_defconfig

Config file checked, found 3 errors that I did not fix.

./halium/halium-boot/check-kernel-config kernel/samsung/exynos5420/arch/arm/configs/lineageos_chagallwifi_defconfig -w

Config file checked, found no errors.

mka mkbootimg

Checking build tools versions...
build/core/executable.mk:87: external/gpg/Android.mk: No such file or directory
make: *** [build/core/ninja.mk:167: /home/rhino/halium-7.1/out/build-lineage_chagallwifi.ninja] Error 1
make: Leaving directory '/home/rhino/halium-7.1'

add line
to samsung_chagallwifi.xnl my fix No such file external/gpg/Android.mk

./halium/devices/setup chagallwifi

mka mkbootimg

build/core/base_rules.mk:183: *** external/gpg: MODULE.TARGET.STATIC_LIBRARIES.libdl already defined by bionic/libdl.
make: *** [build/core/ninja.mk:167: /home/rhino/halium-7.1/out/build-lineage_chagallwifi.ninja] Error 1
make: Leaving directory '/home/rhino/halium-7.1'

edited external/gpg/Android.mk # out include $(BUILD_PREBUILT)

mka mkbootimg

device/samsung/exynos5420-common/SamsungDoze/Android.mk:37: frameworks/base/packages/SettingsLib/common.mk: No such file or directory
make: *** [build/core/ninja.mk:167: /home/rhino/halium-7.1/out/build-lineage_chagallwifi.ninja] Error 1
make: Leaving directory '/home/rhino/halium-7.1'

my fix frameworks/base/packages/SettingsLib/common.mk: No such file
copied Android.mk AndroidManifest.xml common.mk form
https://github.com/LineageOS/android_frameworks_base/tree/cm-14.1/packages/SettingsLib
to frameworks/base/packages/SettingsLib/

mka mkbootimg

[100% 29/29] Install: /home/rhino/halium-7.1/out/host/linux-x86/bin/mkbootimg
make: Leaving directory '/home/rhino/halium-7.1'

make completed successfully (18 seconds)

export USE_HOST_LEX=yes

mka hybris-boot

make: Entering directory '/home/rhino/halium-7.1'

PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
LINEAGE_VERSION=14.1-20220611-UNOFFICIAL-chagallwifi
TARGET_PRODUCT=lineage_chagallwifi
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a15
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.13.0-48-generic-x86_64-with-glibc2.29
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NOF27B
OUT_DIR=/home/rhino/halium-7.1/out

Running kati to generate build-lineage_chagallwifi.ninja...
No need to regenerate ninja file
Starting build with ninja
ninja: Entering directory `.'
[ 30% 3/10] build /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/ROOT/hybris-boot_intermediates/init
Fixing mount-points for device chagallwifi
[ 40% 4/10] Making initramfs : /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/ROOT/hybris-boot_intermediates/boot-initramfs.gz
1924 blocks
[ 40% 4/10] Building Kernel Config
make: Entering directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420'
GEN /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/Makefile
arch/arm/configs/lineageos_chagallwifi_defconfig:3530:warning: override: reassigning to symbol DEFAULT_SECURITY
arch/arm/configs/lineageos_chagallwifi_defconfig:3696:warning: override: reassigning to symbol DEFAULT_SECURITY

configuration written to .config

make: Leaving directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420'
make: Entering directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420'
GEN /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --savedefconfig=defconfig Kconfig
make: Leaving directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420'
[ 50% 5/10] Building Kernel Headers
make: Entering directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420'
GEN /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/Makefile
arch/arm/configs/lineageos_chagallwifi_defconfig:3530:warning: override: reassigning to symbol DEFAULT_SECURITY
arch/arm/configs/lineageos_chagallwifi_defconfig:3696:warning: override: reassigning to symbol DEFAULT_SECURITY

configuration written to .config

make: Leaving directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420'
make: Entering directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420'
CHK include/linux/version.h
make: Leaving directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420'
[ 60% 6/10] Building Kernel
FAILED: /bin/bash -c "(make -j6 CFLAGS_MODULE="-fno-pic" -C kernel/samsung/exynos5420 O=/home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" arm-linux-androidkernel-" zImage ) && (if grep -q '^CONFIG_OF=y' /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/.config; then echo "Building DTBs"; make -j6 CFLAGS_MODULE="-fno-pic" -C kernel/samsung/exynos5420 O=/home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" arm-linux-androidkernel-" dtbs; fi ) && (if grep -q '^CONFIG_MODULES=y' /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/.config; then echo "Building Kernel Modules"; make -j6 CFLAGS_MODULE="-fno-pic" -C kernel/samsung/exynos5420 O=/home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" arm-linux-androidkernel-" modules; fi )"
make: Entering directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420'
GEN /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
GEN /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
Using /home/rhino/halium-7.1/kernel/samsung/exynos5420 as source for kernel
CHK include/generated/utsrelease.h
make[2]: 'include/generated/mach-types.h' is up to date.
CALL /home/rhino/halium-7.1/kernel/samsung/exynos5420/scripts/checksyscalls.sh
CHK include/generated/compile.h
CC security/apparmor/domain.o
In file included from /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/compiler.h:172:0,
from /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/stddef.h:4,
from /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/posix_types.h:4,
from /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/fdtable.h:8,
from /home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c:16:
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:23:9: error: unknown type name '__kernel_fd_set'
typedef __kernel_fd_set fd_set;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:25:9: error: unknown type name '__kernel_ino_t'
typedef __kernel_ino_t ino_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:26:9: error: unknown type name '__kernel_mode_t'
typedef __kernel_mode_t mode_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:28:9: error: unknown type name '__kernel_nlink_t'
typedef __kernel_nlink_t nlink_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:29:9: error: unknown type name '__kernel_off_t'
typedef __kernel_off_t off_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:30:9: error: unknown type name '__kernel_pid_t'
typedef __kernel_pid_t pid_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:31:9: error: unknown type name '__kernel_daddr_t'
typedef __kernel_daddr_t daddr_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:32:9: error: unknown type name '__kernel_key_t'
typedef __kernel_key_t key_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:33:9: error: unknown type name '__kernel_suseconds_t'
typedef __kernel_suseconds_t suseconds_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:34:9: error: unknown type name '__kernel_timer_t'
typedef __kernel_timer_t timer_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:35:9: error: unknown type name '__kernel_clockid_t'
typedef __kernel_clockid_t clockid_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:36:9: error: unknown type name '__kernel_mqd_t'
typedef __kernel_mqd_t mqd_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:40:9: error: unknown type name '__kernel_uid32_t'
typedef __kernel_uid32_t uid_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:41:9: error: unknown type name '__kernel_gid32_t'
typedef __kernel_gid32_t gid_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:42:9: error: unknown type name '__kernel_uid16_t'
typedef __kernel_uid16_t uid16_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:43:9: error: unknown type name '__kernel_gid16_t'
typedef __kernel_gid16_t gid16_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:49:9: error: unknown type name '__kernel_old_uid_t'
typedef __kernel_old_uid_t old_uid_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:50:9: error: unknown type name '__kernel_old_gid_t'
typedef __kernel_old_gid_t old_gid_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:54:9: error: unknown type name '__kernel_loff_t'
typedef __kernel_loff_t loff_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:63:9: error: unknown type name '__kernel_size_t'
typedef __kernel_size_t size_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:68:9: error: unknown type name '__kernel_ssize_t'
typedef __kernel_ssize_t ssize_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:73:9: error: unknown type name '__kernel_ptrdiff_t'
typedef __kernel_ptrdiff_t ptrdiff_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:78:9: error: unknown type name '__kernel_time_t'
typedef __kernel_time_t time_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:83:9: error: unknown type name '__kernel_clock_t'
typedef __kernel_clock_t clock_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:88:9: error: unknown type name '__kernel_caddr_t'
typedef __kernel_caddr_t caddr_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:242:2: error: unknown type name '__kernel_daddr_t'
__kernel_daddr_t f_tfree;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:243:2: error: unknown type name '__kernel_ino_t'
__kernel_ino_t f_tinode;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c: In function 'apparmor_bprm_set_creds':
/home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c:467:21: error: 'LSM_UNSAFE_NO_NEW_PRIVS' undeclared (first use in this function)
if (bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS) {
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c:467:21: note: each undeclared identifier is reported only once for each function it appears in
/home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c: In function 'aa_change_hat':
/home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c:632:13: error: 'struct task_struct' has no member named 'no_new_privs'
if (current->no_new_privs)
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c: In function 'aa_change_profile':
/home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c:783:13: error: 'struct task_struct' has no member named 'no_new_privs'
if (current->no_new_privs && !unconfined(profile)) {
^
make[3]: *** [/home/rhino/halium-7.1/kernel/samsung/exynos5420/scripts/Makefile.build:307: security/apparmor/domain.o] Error 1
make[2]: *** [/home/rhino/halium-7.1/kernel/samsung/exynos5420/scripts/Makefile.build:443: security/apparmor] Error 2
make[1]: *** [/home/rhino/halium-7.1/kernel/samsung/exynos5420/Makefile:977: security] Error 2
make[1]: *** Waiting for unfinished jobs....
GZIP kernel/config_data.gz
CHK kernel/config_data.h
make: *** [Makefile:130: sub-make] Error 2
make: Leaving directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420'
ninja: build stopped: subcommand failed.
make: *** [build/core/ninja.mk:152: ninja_wrapper] Error 1
make: Leaving directory '/home/rhino/halium-7.1'

make failed to build some targets (6 seconds)

make systemimage

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.1
LINEAGE_VERSION=14.1-20220611-UNOFFICIAL-chagallwifi
TARGET_PRODUCT=lineage_chagallwifi
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a15
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.13.0-48-generic-x86_64-with-glibc2.29
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NOF27B
OUT_DIR=/home/rhino/halium-7.1/out

Running kati to generate build-lineage_chagallwifi.ninja...
No need to regenerate ninja file
Starting build with ninja
ninja: Entering directory `.'
[ 0% 2/12256] Building Kernel Config
make: Entering directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420'
GEN /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/Makefile
arch/arm/configs/lineageos_chagallwifi_defconfig:3530:warning: override: reassigning to symbol DEFAULT_SECURITY
arch/arm/configs/lineageos_chagallwifi_defconfig:3696:warning: override: reassigning to symbol DEFAULT_SECURITY

configuration written to .config

make: Leaving directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420'
make: Entering directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420'
GEN /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --savedefconfig=defconfig Kconfig
make: Leaving directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420'
[ 0% 3/12256] Building Kernel Headers
make: Entering directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420'
GEN /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/Makefile
arch/arm/configs/lineageos_chagallwifi_defconfig:3530:warning: override: reassigning to symbol DEFAULT_SECURITY
arch/arm/configs/lineageos_chagallwifi_defconfig:3696:warning: override: reassigning to symbol DEFAULT_SECURITY

configuration written to .config

make: Leaving directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420'
make: Entering directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420'
CHK include/linux/version.h
make: Leaving directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420'
[ 0% 4/12256] Building Kernel
FAILED: /bin/bash -c "(make -j6 CFLAGS_MODULE="-fno-pic" -C kernel/samsung/exynos5420 O=/home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" arm-linux-androidkernel-" zImage ) && (if grep -q '^CONFIG_OF=y' /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/.config; then echo "Building DTBs"; make -j6 CFLAGS_MODULE="-fno-pic" -C kernel/samsung/exynos5420 O=/home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" arm-linux-androidkernel-" dtbs; fi ) && (if grep -q '^CONFIG_MODULES=y' /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/.config; then echo "Building Kernel Modules"; make -j6 CFLAGS_MODULE="-fno-pic" -C kernel/samsung/exynos5420 O=/home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" arm-linux-androidkernel-" modules; fi )"
make: Entering directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420'
GEN /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
GEN /home/rhino/halium-7.1/out/target/product/chagallwifi/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
Using /home/rhino/halium-7.1/kernel/samsung/exynos5420 as source for kernel
CHK include/generated/utsrelease.h
make[2]: 'include/generated/mach-types.h' is up to date.
CALL /home/rhino/halium-7.1/kernel/samsung/exynos5420/scripts/checksyscalls.sh
CHK include/generated/compile.h
CC security/apparmor/domain.o
In file included from /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/compiler.h:172:0,
from /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/stddef.h:4,
from /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/posix_types.h:4,
from /home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/fdtable.h:8,
from /home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c:16:
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:23:9: error: unknown type name '__kernel_fd_set'
typedef __kernel_fd_set fd_set;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:25:9: error: unknown type name '__kernel_ino_t'
typedef __kernel_ino_t ino_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:26:9: error: unknown type name '__kernel_mode_t'
typedef __kernel_mode_t mode_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:28:9: error: unknown type name '__kernel_nlink_t'
typedef __kernel_nlink_t nlink_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:29:9: error: unknown type name '__kernel_off_t'
typedef __kernel_off_t off_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:30:9: error: unknown type name '__kernel_pid_t'
typedef __kernel_pid_t pid_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:31:9: error: unknown type name '__kernel_daddr_t'
typedef __kernel_daddr_t daddr_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:32:9: error: unknown type name '__kernel_key_t'
typedef __kernel_key_t key_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:33:9: error: unknown type name '__kernel_suseconds_t'
typedef __kernel_suseconds_t suseconds_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:34:9: error: unknown type name '__kernel_timer_t'
typedef __kernel_timer_t timer_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:35:9: error: unknown type name '__kernel_clockid_t'
typedef __kernel_clockid_t clockid_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:36:9: error: unknown type name '__kernel_mqd_t'
typedef __kernel_mqd_t mqd_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:40:9: error: unknown type name '__kernel_uid32_t'
typedef __kernel_uid32_t uid_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:41:9: error: unknown type name '__kernel_gid32_t'
typedef __kernel_gid32_t gid_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:42:9: error: unknown type name '__kernel_uid16_t'
typedef __kernel_uid16_t uid16_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:43:9: error: unknown type name '__kernel_gid16_t'
typedef __kernel_gid16_t gid16_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:49:9: error: unknown type name '__kernel_old_uid_t'
typedef __kernel_old_uid_t old_uid_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:50:9: error: unknown type name '__kernel_old_gid_t'
typedef __kernel_old_gid_t old_gid_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:54:9: error: unknown type name '__kernel_loff_t'
typedef __kernel_loff_t loff_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:63:9: error: unknown type name '__kernel_size_t'
typedef __kernel_size_t size_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:68:9: error: unknown type name '__kernel_ssize_t'
typedef __kernel_ssize_t ssize_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:73:9: error: unknown type name '__kernel_ptrdiff_t'
typedef __kernel_ptrdiff_t ptrdiff_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:78:9: error: unknown type name '__kernel_time_t'
typedef __kernel_time_t time_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:83:9: error: unknown type name '__kernel_clock_t'
typedef __kernel_clock_t clock_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:88:9: error: unknown type name '__kernel_caddr_t'
typedef __kernel_caddr_t caddr_t;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:242:2: error: unknown type name '__kernel_daddr_t'
__kernel_daddr_t f_tfree;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/include/linux/types.h:243:2: error: unknown type name '__kernel_ino_t'
__kernel_ino_t f_tinode;
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c: In function 'apparmor_bprm_set_creds':
/home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c:467:21: error: 'LSM_UNSAFE_NO_NEW_PRIVS' undeclared (first use in this function)
if (bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS) {
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c:467:21: note: each undeclared identifier is reported only once for each function it appears in
/home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c: In function 'aa_change_hat':
/home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c:632:13: error: 'struct task_struct' has no member named 'no_new_privs'
if (current->no_new_privs)
^
/home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c: In function 'aa_change_profile':
/home/rhino/halium-7.1/kernel/samsung/exynos5420/security/apparmor/domain.c:783:13: error: 'struct task_struct' has no member named 'no_new_privs'
if (current->no_new_privs && !unconfined(profile)) {
^
make[3]: *** [/home/rhino/halium-7.1/kernel/samsung/exynos5420/scripts/Makefile.build:307: security/apparmor/domain.o] Error 1
make[2]: *** [/home/rhino/halium-7.1/kernel/samsung/exynos5420/scripts/Makefile.build:443: security/apparmor] Error 2
make[1]: *** [/home/rhino/halium-7.1/kernel/samsung/exynos5420/Makefile:977: security] Error 2
make[1]: *** Waiting for unfinished jobs....
GZIP kernel/config_data.gz
CHK kernel/config_data.h
make: *** [Makefile:130: sub-make] Error 2
make: Leaving directory '/home/rhino/halium-7.1/kernel/samsung/exynos5420'
ninja: build stopped: subcommand failed.
make: *** [build/core/ninja.mk:152: ninja_wrapper] Error 1

make failed to build some targets (6 seconds)

@4soobs
Copy link

4soobs commented Sep 23, 2022

good luck with this, i tried this port and it was pretty difficult, as the boot partition is very, very little.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants