Re: Error trying to compile 1.3.9 kernel

William M. Perkins (bill@grnwood.cais.com)
Sun, 16 Jul 1995 11:46:39 -0400 (EDT)


> I received the following kerenl compilation error while trying to
> compile the 1.3.9 version. I normally compile the kernel to use
> only the ncr53c810 scsi disk driver. However, this kernel required
> that I compile in one of the ide disk drivers before it would
> produce a zImage file.
>
> >...... much deleted compiler output

Much more deleted compiler output

> > ld -qmagic -Ttext 0xfffe0 arch/i386/kernel/head.o init/main.o init/version.o \
> > arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o net/network.a \
> > fs/filesystems.a \
> > drivers/block/block.a drivers/char/char.a drivers/net/net.a drivers/scsi/scsi.a drivers/sound/sound.a drivers/pci/pci.a \
> > /usr/src/linux-1.3.9/arch/i386/lib/lib.a /usr/src/linux-1.3.9/lib/lib.a /usr/src/linux-1.3.9/arch/i386/lib/lib.a -o vmlinux
> > genhd.o(.text+0x2ee): undefined reference to `ide_xlate_1024'
> > genhd.o(.text+0x32c): undefined reference to `ide_xlate_1024'
> > make: *** [vmlinux] Error 1
>
> I checked the ./drivers/block/genhd.c file and compared it againist the
> original same file used in 1.3.8 and found some new code for a 'Disk
> Manager'. This code included a few lines simular to the following:
>
> > ide_xlate_1024(dev); /* harmless if not an IDE drive */
>
> Harmless, maybe, but it would not compile for my configuration.
> So, I added the IDE driver to my configuration, and it compiled just
> fine.
>
> Bill

The 1.3.10 kernel patch appears to fix this problem. I patched and recompiled
and now the IDE driver is not required.

Bill

-- 
William M. Perkins              Internet - bill@cais.cais.com
The Greenwood                      or    - bill@grnwood.cais.com
Commodore is dead.  Long lives the Amiga!  (AmigaOS/Linux/NetBSD)