QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1925|回复: 3

#make(image),/mach-s3c2410/s3c2410.o: function `smdk_map_io',[vmlinux] Error 1.

[复制链接]
发表于 2008-4-14 06:44:39 | 显示全部楼层 |阅读模式
你好!我在s3c2410_kernel_2.4.18文件夾下# make bzImage
...
...
省略
...
...
make[1]: Entering directory `/home/tja/Desktop/s3c2410_kernel2.4.18_r1.1/arch/arm/fastfpe'
make all_targets
make[2]: Entering directory `/home/tja/Desktop/s3c2410_kernel2.4.18_r1.1/arch/arm/fastfpe'
make[2]: Nothing to be done for `all_targets'.
make[2]: Leaving directory `/home/tja/Desktop/s3c2410_kernel2.4.18_r1.1/arch/arm/fastfpe'
make[1]: Leaving directory `/home/tja/Desktop/s3c2410_kernel2.4.18_r1.1/arch/arm/fastfpe'
/usr/local/arm/2.95.3/bin/arm-linux-ld -p -X -T arch/arm/vmlinux.lds arch/arm/kernel/head-armv.o arch/arm/kernel/init_task.o init/main.o init/version.o \
                --start-group \
                arch/arm/kernel/kernel.o arch/arm/mm/mm.o arch/arm/mach-s3c2410/s3c2410.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
                 drivers/serial/serial.o drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/sound/sounddrivers.o drivers/mtd/mtdlink.o drivers/video/video.o \
                net/network.o \
                arch/arm/lib/lib.a /home/tja/Desktop/s3c2410_kernel2.4.18_r1.1/lib/lib.a \
                --end-group \
                -o vmlinux
arch/arm/mach-s3c2410/s3c2410.o: In function `smdk_map_io':
arch/arm/mach-s3c2410/s3c2410.o(.text.init+0x43c): undefined reference to `s3c2410_register_uart'
arch/arm/mach-s3c2410/s3c2410.o(.text.init+0x44: undefined reference to `s3c2410_register_uart'
arch/arm/mach-s3c2410/s3c2410.o(.text.init+0x4d: undefined reference to `s3c2410_register_uart'
make: *** [vmlinux] Error 1

請教各位先進我該如何解決這個問題?感激不盡~
发表于 2008-4-14 10:57:33 | 显示全部楼层
Did you apply any arm patch from www.arm.linux.org.uk??
回复

使用道具 举报

 楼主| 发表于 2008-4-15 04:29:36 | 显示全部楼层
Ahh..i don't know any patch about arm, but i'll read it.
Anyway, i resolved my problem :
#make smdk2410_config (i didn't execute it before.)
#make menuconfig
#make dep
#make clean
#make doneImage
I can find doneImage file in /s3c2410_kernel2.4.18/arch/arm/boot directory now.

Thx u a lot!
回复

使用道具 举报

发表于 2008-4-15 09:40:04 | 显示全部楼层
You can refer to http://skyeye.wiki.sourceforge.net/mizi
I think at least you should apply some rmk , pxa patches on the kernel source of linux-2.4.18.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 10:22 , Processed in 0.048370 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表