Re: [Cooker] Kernel 2.2.14-1 compile failure: help, please

1999-12-05 Thread Mike Fieschko

>>> "Axalon" == Axalon Bloodstone <[EMAIL PROTECTED]> writes:

Axalon> On Sun, 5 Dec 1999, Mike Fieschko wrote:
>> I have had two problems in compiling the kernel from
>> kernel-source-2.2.14-1mdk.  Kernel-headers-2.2.14-1mdk is
>> installed.
>> 
>> I got past the first problem by editing
>> /usr/src/linux-2.2.14-1/include/linux/modversions.h
>> 
>> I edited by cutting the following from modversions.h

[snip]

Axalon> Don't hand edit the file it's machine generated, recreate
Axalon> it..

rm modversions.h ; mv modversions.h0 modversions.h
 
>> However, 'make bzImage' or 'make zImage' fail with the
>> following:

[snip]

Axalon> make mrproper

make mrproper ; make menuconfig ; make dep ; make clean ; make bzImage 

completes with a kernel, if I select all defaults in menuconfig.

If I

make mrproper ; make menuconfig ; make dep ; make clean ; make bzImage 

and make my selections, I continue to get the same error.  I suspect
the fellow at the keyboard.

-- 
Mike Fieschko, West Orange, NJ, USA
X-Mailer: XEmacs 21.1, VM 6.75 and random-sig.el
Kernel 2.2.14-1mdk
http://www.viconet.com/fieschko/home.htm
Dec 5 Second Sunday in Advent
"Men invent new ideals because they dare not attempt old ideals. They
look forward with enthusiasm, because they are afraid to look back." -
[G.K. Chesterton, in What's Wrong With The World, 1910]



Re: [Cooker] Kernel 2.2.14-1 compile failure: help, please

1999-12-05 Thread Axalon Bloodstone

On Sun, 5 Dec 1999, Mike Fieschko wrote:

> I have had two problems in compiling the kernel from
> kernel-source-2.2.14-1mdk.  Kernel-headers-2.2.14-1mdk is installed.
> 
> I got past the first problem by editing
> /usr/src/linux-2.2.14-1/include/linux/modversions.h 
> 
> I edited by cutting the following from modversions.h
> 
> #ifndef __rh_kernel_modversions_h__
> #define __rh_kernel_modversions_h__
> 
> Which lines appear beginning on line 5 of the original modversion.h
> 
> After making this cut, doing 'make dep ; make clean' complete without
> error.

Don't hand edit the file it's machine generated, recreate it..
 
> However, 'make bzImage' or 'make zImage' fail with the following:
> 
> make[1]: Leaving directory `/usr/src/linux-2.2.14/arch/i386/lib'
> gcc -E -C -P -I/usr/src/linux-2.2.14/include -imacros 
>/usr/src/linux-2.2.14/include/asm-i386/page_offset.h -Ui386 arch/i386/vmlinux.lds.S 
>>arch/i386/vmlinux.lds
> ld -m elf_i386 -T /usr/src/linux-2.2.14/arch/i386/vmlinux.lds -e stext 
>arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.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 \
> fs/filesystems.a \
> net/network.a \
> drivers/block/block.a drivers/char/char.a drivers/misc/misc.a 
>drivers/net/net.a drivers/scsi/scsi.a drivers/cdrom/cdrom.a drivers/pci/pci.a 
>drivers/pnp/pnp.a drivers/video/video.a \
> /usr/src/linux-2.2.14/arch/i386/lib/lib.a /usr/src/linux-2.2.14/lib/lib.a 
>/usr/src/linux-2.2.14/arch/i386/lib/lib.a \
> --end-group \
> -o vmlinux
> drivers/scsi/scsi.a(sd.o): In function `cdrom_mediactl':
> sd.o(.text+0x2e5b): undefined reference to `sr_template'
> make: *** [vmlinux] Error 1
> 
> I have fiddled with scsi settings in menuconfig, but always fail at
> this point and with this error.

make mrproper

> I have not done anything to scsi.a or sd.o (AFAIK), except to view the 
> files using less or mc.
> 
> Guidance is appreciated.
> 
> 

--
MandrakeSoft  http://www.mandrakesoft.com/
--Axalon