Talk:DIY Fully working Alpine Linux for Allwinner and Other ARM SOCs: Difference between revisions

From Alpine Linux
(trying to implement the how to...)
 
mNo edit summary
Line 3: Line 3:
I'm cross compiling from a debian box.
I'm cross compiling from a debian box.
Compilation of kernel (linux-sunxi) fails with  
Compilation of kernel (linux-sunxi) fails with  
<nowiki>
 
$ make zImage
$ make zImage
  CHK    include/linux/version.h
  CHK    include/linux/version.h
  CHK    include/generated/utsrelease.h
  CHK    include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
make[1]: 'include/generated/mach-types.h' is up to date.
  CALL    scripts/checksyscalls.sh
  CALL    scripts/checksyscalls.sh
  CHK    include/generated/compile.h
  CHK    include/generated/compile.h
  GEN    .version
  GEN    .version
  CHK    include/generated/compile.h
  CHK    include/generated/compile.h
  UPD    include/generated/compile.h
  UPD    include/generated/compile.h
  CC      init/version.o
  CC      init/version.o
  LD      init/built-in.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
  LD      .tmp_vmlinux1
arm-linux-gnueabihf-ld: no machine record defined
arm-linux-gnueabihf-ld: no machine record defined
arch/arm/kernel/built-in.o: In function `kretprobe_trampoline':
arch/arm/kernel/built-in.o: In function `kretprobe_trampoline':
/srv/r_and_d/linux-sunxi/arch/arm/kernel/kprobes.c:379: undefined reference to `trampoline_handler'
/srv/r_and_d/linux-sunxi/arch/arm/kernel/kprobes.c:379: undefined reference to `trampoline_handler'
Makefile:875: recipe for target '.tmp_vmlinux1' failed
Makefile:875: recipe for target '.tmp_vmlinux1' failed
make: *** [.tmp_vmlinux1] Error 1
make: *** [.tmp_vmlinux1] Error 1
</nowiki> I'm trying to search any clue on the net to fix this but nothing so far :(
 
I'm trying to search any clue on the net to fix this but nothing so far :(
any idea?
any idea?
--[[User:Jchdel|Jchdel]] ([[User talk:Jchdel|talk]]) 07:03, 15 February 2020 (UTC)

Revision as of 07:03, 15 February 2020

Hi, I'm currently trying the procedure to install AL on orange-pi-pc. I'm cross compiling from a debian box. Compilation of kernel (linux-sunxi) fails with

$ make zImage
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
arm-linux-gnueabihf-ld: no machine record defined
arch/arm/kernel/built-in.o: In function `kretprobe_trampoline':
/srv/r_and_d/linux-sunxi/arch/arm/kernel/kprobes.c:379: undefined reference to `trampoline_handler'
Makefile:875: recipe for target '.tmp_vmlinux1' failed
make: *** [.tmp_vmlinux1] Error 1

I'm trying to search any clue on the net to fix this but nothing so far :( any idea? --Jchdel (talk) 07:03, 15 February 2020 (UTC)