|
发表于 2004-12-31 22:00:43
|
显示全部楼层
楼主,我准备了半天,结果编译内核的时候就出错了。我用的是2.4.26内核,打了所需要的两个补丁,查看patch.log,并没有文档提到的错误。可是编译内核的时候就是出错了。
错误如下:
make[1]: Leaving directory `/usr/src/linux-win4lin/arch/i386/mki'
ld -m elf_i386 -T /usr/src/linux-win4lin/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o init/do_mounts.o \
--start-group \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o arch/i386/mki/mki.o \
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/char/agp/agp.o drivers/char/drm/drm.o drivers/ide/idedriver.o drivers/cdrom/driver.o drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/pcmcia/pcmcia.o drivers/net/pcmcia/pcmcia_net.o drivers/video/video.o drivers/usb/usbdrv.o drivers/media/media.o drivers/isdn/vmlinux-obj.o \
net/network.o \
/usr/src/linux-win4lin/arch/i386/lib/lib.a /usr/src/linux-win4lin/lib/lib.a /usr/src/linux-win4lin/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
arch/i386/mki/mki.o(.kstrtab+0x4b): multiple definition of `__kstrtab_init_tss'
arch/i386/kernel/kernel.o(.kstrtab+0x3d9): first defined here
arch/i386/mki/mki.o(__ksymtab+0x28): multiple definition of `__ksymtab_init_tss'
arch/i386/kernel/kernel.o(__ksymtab+0x228): first defined here
make: *** [vmlinux] 错误 1
就找不到那里出问题了,对照步骤是没有错的。实在不解。网站提供的patch应该是经过测试的吧 |
|