aUmbrella 发表于 2008-4-14 06:44:39

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

你好!我在s3c2410_kernel_2.4.18文件夾下# make bzImage
...
...
省略
...
...
make: Entering directory `/home/tja/Desktop/s3c2410_kernel2.4.18_r1.1/arch/arm/fastfpe'
make all_targets
make: Entering directory `/home/tja/Desktop/s3c2410_kernel2.4.18_r1.1/arch/arm/fastfpe'
make: Nothing to be done for `all_targets'.
make: Leaving directory `/home/tja/Desktop/s3c2410_kernel2.4.18_r1.1/arch/arm/fastfpe'
make: 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+0x448): undefined reference to `s3c2410_register_uart'
arch/arm/mach-s3c2410/s3c2410.o(.text.init+0x4d8): undefined reference to `s3c2410_register_uart'
make: *** Error 1

請教各位先進我該如何解決這個問題?感激不盡~

ksh 发表于 2008-4-14 10:57:33

Did you apply any arm patch from www.arm.linux.org.uk??

aUmbrella 发表于 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!

ksh 发表于 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.
页: [1]
查看完整版本: #make(image),/mach-s3c2410/s3c2410.o: function `smdk_map_io',[vmlinux] Error 1.