Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A13 => Topic started by: xxjohn on February 01, 2013, 11:28:31 AM

Title: undefined reference to `standby_type' when building A13 kernel
Post by: xxjohn on February 01, 2013, 11:28:31 AM
I try to build A13 kernel.
lichee$ ./build.sh -p a13
show next error,  can someone tell me how to change it?     thks.
and I use A13-OlimexXino-WIFI board,  How is the common process for android4.0?

thks!


make:离开目录"/Work/A13/lichee/linux-3.0/arch/arm/mach-sun5i/pm/standby"
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
make[1]: "include/generated/mach-types.h"是最新的。
  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
drivers/built-in.o: In function `disp_resume':
/Work/A13/lichee/linux-3.0/drivers/video/sun5i/disp/dev_disp.c:700: undefined reference to `standby_type'
/Work/A13/lichee/linux-3.0/drivers/video/sun5i/disp/dev_disp.c:700: undefined reference to `standby_type'
drivers/built-in.o: In function `disp_suspend':
/Work/A13/lichee/linux-3.0/drivers/video/sun5i/disp/dev_disp.c:667: undefined reference to `standby_type'
/Work/A13/lichee/linux-3.0/drivers/video/sun5i/disp/dev_disp.c:667: undefined reference to `standby_type'
sound/built-in.o: In function `snd_sun5i_codec_resume':
/Work/A13/lichee/linux-3.0/sound/soc/sun5i/sun5i-codec.c:1525: undefined reference to `standby_type'
sound/built-in.o:/Work/A13/lichee/linux-3.0/sound/soc/sun5i/sun5i-codec.c:1525: more undefined references to `standby_type' follow
make: *** [.tmp_vmlinux1] 错误 1
Title: Re: undefined reference to `standby_type' when building A13 kernel
Post by: vinifr on February 01, 2013, 12:05:11 PM
Hi,

You should use sunxi-3.0. Type:

git clone https://github.com/linux-sunxi/linux-sunxi.git
cd linux-sunxi


Follow the instructions from this site: https://www.olimex.com/wiki/Build_Bootable_SD_Card_with_Debian (https://www.olimex.com/wiki/Build_Bootable_SD_Card_with_Debian)