'make modules' compiling errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to recompile 2.4.20-31.9, using the ".i586.config" provided
in the distro, and taking out support for some advanced support that
this workstation won't have or can't provided or handle (i.e.: firewire,
token-ring, bluetooth, XT drive, etc.). The workstation in question is
an AMD K6-2/333. If I understand correclty, the RH 9 distro kernels are
'386 compiled. I wanted to see if there was any improvement in
recompiling with '586 support and AMD CPU instead of Intel. This is an
exercise for me in recompiling a kernel. more than anything else. None
of this *has* to be done.

Here are the steps I am taking, based on what I have seen posted on
other RH-oriented lists:

# cd /usr/src/linux-2.4.20-31.9/
# make mrproper
# cp /usr/src/linux-2.4.20-31.9/configs/kernel-2.4.20-i586.config
.config
# vi Makefile [remove 'custom' from end of new kernel name and replaced
with PMB]
# make oldconfig
# make xconfig [btw, I am 'su -' in an xterm window]
# make dep
# make clean
# make bzImage
# make modules
# make modules_install
# make install

I started with all the 'make' commands on one command-line string, but
went to individual commands to try and find where the problem was in not
seeing a final result: a new kernel wasn't being made. Before going any
further, I wanted to ask someone if they saw this first batch of error
messages as my problem. The follow was the ending results of my 'make
modules':

...
{standard input}: Assembler messages:
{standard input}:10554: Error: value of -141 too large for field of 1
bytes at 27023
make[3]: *** [skgepnmi.o] Error 1
make[3]: Leaving directory
`/usr/src/linux-2.4.20-31.9/drivers/net/sk98lin'
make[2]: *** [_modsubdir_sk98lin] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20-31.9/drivers/net'
make[1]: *** [_modsubdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-31.9/drivers'
make: *** [_mod_drivers] Error 2

I have no idea why it's choking on the network drivers. I am using a
Realtek 8139, so does this really matter to me? Is this even a staring
point for why I am not compiling a new kernel successfully, or should
this be ignored and I continue on?

Any advice or direction, greatly appreciated.

Paul


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux