当前位置: 技术问答>linux和unix
移植linux2.6.24.7,在编译时遇到该问题是什么原因造成的?
来源: 互联网 发布时间:2016-06-15
本文导语: AS arch/arm/boot/compressed/piggy.o CC arch/arm/boot/compressed/misc.o include/asm/string.h:16: warning: 'memcpy' declared inline after being called include/asm/string.h:16: warning: previous declaration of 'memcpy' was here LD ...
AS arch/arm/boot/compressed/piggy.o
CC arch/arm/boot/compressed/misc.o
include/asm/string.h:16: warning: 'memcpy' declared inline after being called
include/asm/string.h:16: warning: previous declaration of 'memcpy' was here
LD arch/arm/boot/compressed/vmlinux
arch/arm/boot/compressed/misc.o: In function `valid_user_regs':
misc.c:(.text+0xaf0): undefined reference to `elf_hwcap'
arch/arm/boot/compressed/misc.o: In function `console_silent':
misc.c:(.text+0xfb0): undefined reference to `console_printk'
arch/arm/boot/compressed/misc.o: In function `console_verbose':
misc.c:(.text+0xfe8): undefined reference to `console_printk'
arch/arm/boot/compressed/misc.o: In function `ntp_synced':
misc.c:(.text+0x1ecc): undefined reference to `time_status'
arch/arm/boot/compressed/misc.o: In function `init_waitqueue_entry':
misc.c:(.text+0x208c): undefined reference to `default_wake_function'
arch/arm/boot/compressed/misc.o: In function `down':
misc.c:(.text+0x2218): undefined reference to `__down_failed'
arch/arm/boot/compressed/misc.o: In function `down_interruptible':
misc.c:(.text+0x2250): undefined reference to `__down_interruptible_failed'
arch/arm/boot/compressed/misc.o: In function `down_trylock':
穷人一个,没办法了!
CC arch/arm/boot/compressed/misc.o
include/asm/string.h:16: warning: 'memcpy' declared inline after being called
include/asm/string.h:16: warning: previous declaration of 'memcpy' was here
LD arch/arm/boot/compressed/vmlinux
arch/arm/boot/compressed/misc.o: In function `valid_user_regs':
misc.c:(.text+0xaf0): undefined reference to `elf_hwcap'
arch/arm/boot/compressed/misc.o: In function `console_silent':
misc.c:(.text+0xfb0): undefined reference to `console_printk'
arch/arm/boot/compressed/misc.o: In function `console_verbose':
misc.c:(.text+0xfe8): undefined reference to `console_printk'
arch/arm/boot/compressed/misc.o: In function `ntp_synced':
misc.c:(.text+0x1ecc): undefined reference to `time_status'
arch/arm/boot/compressed/misc.o: In function `init_waitqueue_entry':
misc.c:(.text+0x208c): undefined reference to `default_wake_function'
arch/arm/boot/compressed/misc.o: In function `down':
misc.c:(.text+0x2218): undefined reference to `__down_failed'
arch/arm/boot/compressed/misc.o: In function `down_interruptible':
misc.c:(.text+0x2250): undefined reference to `__down_interruptible_failed'
arch/arm/boot/compressed/misc.o: In function `down_trylock':
穷人一个,没办法了!
|
可能是config有问题, 先make menuconfig 看看。。
|
config的问题。拿到内核先用:
make clean
make distclean
清除一下,
再用make menuconfig
make
make clean
make distclean
清除一下,
再用make menuconfig
make
|
是不是内核解压的时候有问题,有些库函数链接错误