VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 123[4] ]
Subject: flash disk drivers in kernel - error in kernel compile


Author:
Pete G
[ Next Thread | Previous Thread | Next Message | Previous Message ]
Date Posted: 17:25:18 05/29/03 Thu

I followed the directions to Install the flash disk drivers into the kernel tree. The kernel config options were based off the example .config. The make bzImage command gave the following error:

make[1]: Entering directory `/usr/src/linux-2.4.18-14'
ld -m elf_i386 -T /usr/src/linux-2.4.18-14/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 drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/net/fc/fc.o drivers/net/tokenring/tr.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/pcmcia/pcmcia.o drivers/net/pcmcia/pcmcia_net.o drivers/video/video.o drivers/usb/usbdrv.o drivers/input/inputdrv.o net/network.o crypto/crypto.o abi/abi.o /usr/src/linux-2.4.18-14/arch/i386/lib/lib.a /usr/src/linux-2.4.18-14/lib/lib.a /usr/src/linux-2.4.18-14/arch/i386/lib/lib.a --end-group -o vmlinux
drivers/block/block.o: In function `nor_flash_init':
drivers/block/block.o(.text.init+0x1da): undefined reference to `gendisk_head'
drivers/block/block.o(.text.init+0x1f5): undefined reference to `gendisk_head'
drivers/block/block.o: In function `nand_flash_init':
drivers/block/block.o(.text.init+0x314): undefined reference to `gendisk_head'
drivers/block/block.o(.text.init+0x32f): undefined reference to `gendisk_head'
make[1]: *** [kallsyms] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.18-14'
make: *** [vmlinux] Error 2


system stats:
redhat 8.0
kernel 2.4.18-14
gcc 3.2

thanks.

[ Next Thread | Previous Thread | Next Message | Previous Message ]

Replies:
Subject Author Date
Re: flash disk drivers in kernel - error in kernel compileKevin B10:48:59 05/31/03 Sat
Re: flash disk drivers in kernel - error in kernel compileKevin Campbell22:58:45 06/10/03 Tue
NOR flash disk drivers in kernel - error in kernel compileAlex Pasihov00:20:45 07/14/04 Wed
NOR flash disk drivers in kernel - error in kernel compileAlex Pasihov00:22:03 07/14/04 Wed
blackjackblackjack04:01:24 06/10/05 Fri
gmac mortgagegmac mortgage13:53:38 06/10/05 Fri


[ Contact Forum Admin ]


Forum timezone: GMT-8
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.