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

MI MIX 3 5G (andromeda-p-oss) make failed #27786

Open
Redfern89 opened this issue Aug 15, 2024 · 0 comments
Open

MI MIX 3 5G (andromeda-p-oss) make failed #27786

Redfern89 opened this issue Aug 15, 2024 · 0 comments

Comments

@Redfern89
Copy link

Redfern89 commented Aug 15, 2024

My env:

System: Debian 12 Bookworm

ARCH=arm64
SUBARCH=arm64
CROSS_COMPILE=/home/fck/dev/andromeda-p-oss/toolchain/bin/aarch64-linux-android-

try make

$ make O=out andromeda_user_defconfig

make O=out andromeda_user_defconfig
make[1]: Entering directory '/home/fck/dev/andromeda-p-oss/out'
  GEN     ./Makefile
#
# configuration written to .config
#
make[1]: Leaving directory '/home/fck/dev/andromeda-p-oss/out'

$ make O=out 2>&1 | tee kernel.log

make[1]: Entering directory '/home/fck/dev/andromeda-p-oss/out'
  CHK     include/config/kernel.release
  Using .. as source for kernel
  GEN     ./Makefile
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/bounds.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/asm-offsets.h
  CALL    ../scripts/checksyscalls.sh
  CHK     scripts/mod/devicetable-offsets.h
  CHK     include/generated/compile.h
  CC      arch/arm64/mm/fault.o
../arch/arm64/mm/fault.c: In function 'mem_abort_decode':
../arch/arm64/mm/fault.c:127:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'unsigned int' [-Wformat=]
error, forbidden warning: fault.c:127
make[2]: *** [../scripts/Makefile.build:364: arch/arm64/mm/fault.o] Error 1
make[1]: *** [/home/fck/dev/andromeda-p-oss/Makefile:1135: arch/arm64/mm] Error 2
make[1]: Leaving directory '/home/fck/dev/andromeda-p-oss/out'
make: *** [Makefile:146: sub-make] Error 2

UPD (in Ubuntu 18.04)

$ make O=out 2>&1 | tee kernel.log

make[1]: Entering directory '/home/fck/Mi_Kernel/andromeda-p-oss/out'
  CHK     include/config/kernel.release
  Using .. as source for kernel
  GEN     ./Makefile
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/bounds.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/asm-offsets.h
  CALL    ../scripts/checksyscalls.sh
  CHK     scripts/mod/devicetable-offsets.h
  CHK     include/generated/compile.h
  CC      arch/arm64/mm/fault.o
../arch/arm64/mm/fault.c: In function 'mem_abort_decode':
../arch/arm64/mm/fault.c:127:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'unsigned int' [-Wformat=]
error, forbidden warning: fault.c:127
../scripts/Makefile.build:363: recipe for target 'arch/arm64/mm/fault.o' failed
make[2]: *** [arch/arm64/mm/fault.o] Error 1
/home/fck/Mi_Kernel/andromeda-p-oss/Makefile:1135: recipe for target 'arch/arm64/mm' failed
make[1]: *** [arch/arm64/mm] Error 2
make[1]: Leaving directory '/home/fck/Mi_Kernel/andromeda-p-oss/out'
Makefile:146: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
@Redfern89 Redfern89 changed the title MI MIX 3 5G (andromeda-p-oss) MI MIX 3 5G (andromeda-p-oss) make failed Aug 15, 2024
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

1 participant