linux-sunxi - faz referências falhadas, indefinidas clk_ *

1

Eu tento construir uImage para linux-sunxi em uma caixa Debian, que é preparada assim (< a href="http://rhombus-tech.net/allwinner_a10/hacking_the_mele_a1000/Building_Debian_From_Source_Code_for_Mele/"> Como construir Debian a partir do código-fonte para Mele ):

apt-get install emdebian-archive-keyring
apt-get install gcc-4.4-arm-linux-gnueabi
apt-get build-essential git
apt-get uboot-mkimage
apt-get libusb-1.0-0-dev

Estou seguindo o guia em FirstSteps e fiz todas as instruções sem erros.

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- defconfig funciona, mas make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j5 uImage falha:

  LD      .tmp_vmlinux1
arch/arm/common/built-in.o: In function 'sp804_get_clock_rate':
timer-sp.c:(.init.text+0x31c): undefined reference to 'clk_get_sys'
timer-sp.c:(.init.text+0x364): undefined reference to 'clk_put'
timer-sp.c:(.init.text+0x398): undefined reference to 'clk_put'
arch/arm/mach-versatile/built-in.o: In function 'versatile_init_early':
versatile_ab.c:(.init.text+0x134): undefined reference to 'clkdev_add_table'
drivers/built-in.o: In function 'clcdfb_remove':
hid-input.c:(.text+0xd790): undefined reference to 'clk_put'
drivers/built-in.o: In function 'clcdfb_probe':
hid-input.c:(.text+0xdc70): undefined reference to 'clk_get'
hid-input.c:(.text+0xde04): undefined reference to 'clk_put'
drivers/built-in.o: In function 'amba_get_enable_pclk':
hid-input.c:(.text+0xe448): undefined reference to 'clk_get'
hid-input.c:(.text+0xe470): undefined reference to 'clk_put'
drivers/built-in.o: In function 'amba_put_disable_pclk':
hid-input.c:(.text+0xe49c): undefined reference to 'clk_put'
drivers/built-in.o: In function 'pl011_remove':
hid-input.c:(.text+0x2b6c4): undefined reference to 'clk_put'
drivers/built-in.o: In function 'pl011_probe':
hid-input.c:(.text+0x2c234): undefined reference to 'clk_get'
hid-input.c:(.text+0x2c318): undefined reference to 'clk_put'
drivers/built-in.o: In function 'enable_clock':
hid-input.c:(.text+0x3a004): undefined reference to 'clk_get'
hid-input.c:(.text+0x3a01c): undefined reference to 'clk_put'
drivers/built-in.o: In function 'disable_clock':
hid-input.c:(.text+0x3a044): undefined reference to 'clk_get'
hid-input.c:(.text+0x3a05c): undefined reference to 'clk_put'
drivers/built-in.o: In function '__pm_clk_remove':
hid-input.c:(.text+0x3a1b8): undefined reference to 'clk_put'
drivers/built-in.o: In function 'pm_clk_add':
hid-input.c:(.text+0x3a424): undefined reference to 'clk_get'
drivers/built-in.o: In function 'mmc_io_rw_extended':
hid-input.c:(.text+0x6d9ac): undefined reference to 'sunximmc_check_r1_ready'
drivers/built-in.o: In function 'amba_kmi_probe':
hid-input.c:(.devinit.text+0x8bc): undefined reference to 'clk_get'
drivers/built-in.o: In function 'amba_kmi_remove':
hid-input.c:(.devexit.text+0xd4): undefined reference to 'clk_put'
make: *** [.tmp_vmlinux1] Fel 1

Aqui está uma cópia completa: link

Eu tentei google os códigos de erros, mas não consigo encontrar nada sobre as várias referências a clk_* , quais são essas funções e como instalá-las no Debian?

    
por madr 09.11.2012 / 17:15

1 resposta

1

Acontece que recebi esses erros executando alvos incorretos: make defconfig deve ser make sun4i_defconfig .

    
por 10.11.2012 / 01:37