linux-sunxi - make 失败,未定义的引用 clk_*

linux-sunxi - make 失败,未定义的引用 clk_*

我尝试构建 uImagelinux-sunxi在 Debian 盒子上,准备如下(如何从 Mele 源代码构建 Debian):

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

我正在按照指南进行操作第一步并已完成所有指示,没有错误。

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- defconfig有效,但make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j5 uImage失败:

  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

这是一个完整的转储:http://pastie.org/5351582

我尝试用 google 搜索错误代码,但我找不到任何关于 的信息clk_*,这些功能是什么以及如何在 Debian 上安装它们?

答案1

事实证明,我通过运行错误的 make Targets: make defconfigshould be得到了这个错误make sun4i_defconfig

相关内容