Skip to content

Missing linux include headers #6

@dabao1955

Description

@dabao1955
2025-10-20T06:42:49.1962176Z ##[group]Run echo "=== Building SummerPockets.ko for KMI: android12-5.10 ==="
2025-10-20T06:42:49.1962734Z �[36;1mecho "=== Building SummerPockets.ko for KMI: android12-5.10 ==="�[0m
2025-10-20T06:42:49.1963079Z �[36;1m�[0m
2025-10-20T06:42:49.1963234Z �[36;1mcd .�[0m
2025-10-20T06:42:49.1963394Z �[36;1m�[0m
2025-10-20T06:42:49.1963543Z �[36;1mls -al�[0m
2025-10-20T06:42:49.1963746Z �[36;1mtest -f ci.mk && mv ci.mk Makefile�[0m
2025-10-20T06:42:49.1963979Z �[36;1m�[0m
2025-10-20T06:42:49.1965137Z �[36;1mmake KDIR=$KERNEL_SRC CONFIG_SUMMER_POCKETS=m CONFIG_CRYPTO_LZ4K=m CONFIG_CRYPTO_LZ4KD=m CONFIG_LZ4KD_COMPRESS=m CONFIG_LZ4KD_DECOMPRESS=m CONFIG_LZ4K_COMPRESS=m CONFIG_LZ4K_DECOMPRESS=m CONFIG_MQ_IOSCHED_ADIOS=m CONFIG_BBG=m CONFIG_REKERNEL=m CONFIG_LUNAR_SCHED_EXT=m CONFIG_MQ_IOSCHED_SSG=m CONFIG_MQ_IOSCHED_SSG_CGROUP=m CONFIG_TCP_CONG_BRUTAL=m CONFIG_TCP_CONG_PIXIE=m CONFIG_CRYPTO_ZSTDN=m�[0m
2025-10-20T06:42:49.1966383Z �[36;1m�[0m
2025-10-20T06:42:49.1966584Z �[36;1mecho "=== Build completed ==="�[0m
2025-10-20T06:42:49.1966805Z �[36;1m�[0m
2025-10-20T06:42:49.1966954Z �[36;1mls -al�[0m
2025-10-20T06:42:49.1967109Z �[36;1m�[0m
2025-10-20T06:42:49.1967310Z �[36;1m# Create output directory in GitHub workspace�[0m
2025-10-20T06:42:49.1967597Z �[36;1mmkdir -p /github/workspace/out�[0m
2025-10-20T06:42:49.1967818Z �[36;1m�[0m
2025-10-20T06:42:49.1967991Z �[36;1m# Copy with KMI-specific naming�[0m
2025-10-20T06:42:49.1968267Z �[36;1mOUTPUT_NAME="SummerPockets-android12-5.10"�[0m
2025-10-20T06:42:49.1968625Z �[36;1mcp "SummerPockets.ko" "/github/workspace/out/$OUTPUT_NAME.ko"�[0m
2025-10-20T06:42:49.1969390Z �[36;1m�[0m
2025-10-20T06:42:49.1969626Z �[36;1mecho "Copied to: /github/workspace/out/$OUTPUT_NAME.ko"�[0m
2025-10-20T06:42:49.1969941Z �[36;1mls -la "/github/workspace/out/"�[0m
2025-10-20T06:42:49.1970287Z �[36;1mecho "Size: $(du -h "/github/workspace/out/$OUTPUT_NAME.ko" | cut -f1)"�[0m
2025-10-20T06:42:49.1970808Z �[36;1mcp "/github/workspace/out/$OUTPUT_NAME.ko" "/github/workspace/out/$OUTPUT_NAME.stripped.ko"�[0m
2025-10-20T06:42:49.1971297Z �[36;1mllvm-strip -d "/github/workspace/out/$OUTPUT_NAME.stripped.ko"�[0m
2025-10-20T06:42:49.1971802Z �[36;1mecho "Size after stripping: $(du -h "/github/workspace/out/$OUTPUT_NAME.stripped.ko" | cut -f1)"�[0m
2025-10-20T06:42:49.1975929Z shell: sh -e {0}
2025-10-20T06:42:49.1976131Z ##[endgroup]
2025-10-20T06:42:49.2434192Z === Building SummerPockets.ko for KMI: android12-5.10 ===
2025-10-20T06:42:49.2449798Z total 132
2025-10-20T06:42:49.2450219Z drwxr-xr-x 15 1001 1001  4096 Oct 20 06:42 .
2025-10-20T06:42:49.2450709Z drwxr-xr-x  3 1001 1001  4096 Oct 20 06:41 ..
2025-10-20T06:42:49.2451210Z drwxr-xr-x  7 root root  4096 Oct 20 06:42 .git
2025-10-20T06:42:49.2451723Z drwxr-xr-x  3 root root  4096 Oct 20 06:42 .github
2025-10-20T06:42:49.2452207Z -rw-r--r--  1 root root  3166 Oct 20 06:42 1.sh
2025-10-20T06:42:49.2452547Z -rw-r--r--  1 root root  1097 Oct 20 06:42 Kconfig
2025-10-20T06:42:49.2452848Z -rw-r--r--  1 root root 18092 Oct 20 06:42 LICENSE
2025-10-20T06:42:49.2453127Z -rw-r--r--  1 root root   620 Oct 20 06:42 Makefile
2025-10-20T06:42:49.2453405Z -rw-r--r--  1 root root  9825 Oct 20 06:42 abi.c
2025-10-20T06:42:49.2453669Z drwxr-xr-x  2 root root  4096 Oct 20 06:42 adios
2025-10-20T06:42:49.2453950Z -rw-r--r--  1 root root  1210 Oct 20 06:42 apply.sh
2025-10-20T06:42:49.2454251Z drwxr-xr-x  2 root root  4096 Oct 20 06:42 baseguard
2025-10-20T06:42:49.2454605Z -rwxr-xr-x  1 root root  1057 Oct 20 06:42 check_changeid.py
2025-10-20T06:42:49.2454910Z -rw-r--r--  1 root root   962 Oct 20 06:42 ci.mk
2025-10-20T06:42:49.2455201Z -rwxr-xr-x  1 root root   345 Oct 20 06:42 envsetup.h
2025-10-20T06:42:49.2455510Z -rwxr-xr-x  1 root root  2889 Oct 20 06:42 generate_compdb.py
2025-10-20T06:42:49.2455842Z drwxr-xr-x  2 root root  4096 Oct 20 06:42 lz4k
2025-10-20T06:42:49.2456125Z -rw-r--r--  1 root root  2053 Oct 20 06:42 lz4k.c
2025-10-20T06:42:49.2456397Z drwxr-xr-x  2 root root  4096 Oct 20 06:42 lz4kd
2025-10-20T06:42:49.2456970Z -rw-r--r--  1 root root  3010 Oct 20 06:42 lz4kd.c
2025-10-20T06:42:49.2457403Z drwxr-xr-x  5 root root  4096 Oct 20 06:42 patch
2025-10-20T06:42:49.2457681Z drwxr-xr-x  2 root root  4096 Oct 20 06:42 rekernel
2025-10-20T06:42:49.2457966Z drwxr-xr-x  3 root root  4096 Oct 20 06:42 sched_ext
2025-10-20T06:42:49.2458240Z drwxr-xr-x  2 root root  4096 Oct 20 06:42 ssg
2025-10-20T06:42:49.2458524Z drwxr-xr-x  2 root root  4096 Oct 20 06:42 symbol_check
2025-10-20T06:42:49.2459474Z drwxr-xr-x  2 root root  4096 Oct 20 06:42 tcp
2025-10-20T06:42:49.2459796Z drwxr-xr-x  2 root root  4096 Oct 20 06:42 zstdn
2025-10-20T06:42:49.2480178Z -- KDIR: /opt/ddk/kdir/android12-5.10
2025-10-20T06:42:49.2480855Z -- MDIR: /__w/android_kernel_SummerPockets_core/android_kernel_SummerPockets_core
2025-10-20T06:42:49.2484694Z make -C /opt/ddk/kdir/android12-5.10 M=/__w/android_kernel_SummerPockets_core/android_kernel_SummerPockets_core modules
2025-10-20T06:42:50.5432542Z -- KDIR: /opt/ddk/kdir/android12-5.10
2025-10-20T06:42:50.5433352Z -- MDIR: /__w/android_kernel_SummerPockets_core/android_kernel_SummerPockets_core
2025-10-20T06:42:50.5518405Z   CC [M]  /__w/android_kernel_SummerPockets_core/android_kernel_SummerPockets_core/adios/adios.o
2025-10-20T06:42:50.8867935Z /__w/android_kernel_SummerPockets_core/android_kernel_SummerPockets_core/adios/adios.c:12:10: fatal error: 'linux/math.h' file not found
2025-10-20T06:42:50.8868676Z #include <linux/math.h>
2025-10-20T06:42:50.8869263Z          ^~~~~~~~~~~~~~
2025-10-20T06:42:50.9063297Z 1 error generated.
2025-10-20T06:42:50.9114247Z make[4]: *** [/opt/ddk/src/android12-5.10/scripts/Makefile.build:273: /__w/android_kernel_SummerPockets_core/android_kernel_SummerPockets_core/adios/adios.o] Error 1
2025-10-20T06:42:50.9117761Z make[3]: *** [/opt/ddk/src/android12-5.10/scripts/Makefile.build:516: /__w/android_kernel_SummerPockets_core/android_kernel_SummerPockets_core/adios] Error 2
2025-10-20T06:42:50.9120431Z make[2]: *** [/opt/ddk/src/android12-5.10/Makefile:1942: /__w/android_kernel_SummerPockets_core/android_kernel_SummerPockets_core] Error 2
2025-10-20T06:42:50.9123317Z make[1]: *** [/opt/ddk/src/android12-5.10/Makefile:192: __sub-make] Error 2
2025-10-20T06:42:50.9125348Z make: *** [Makefile:33: all] Error 2

failed kmi version: All

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions