Recompiling the 2.4.18-3 RedHat kernel.

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

 



Hello all.

I sent a message a week or so ago asking for assistance.  Thank you to all
who gave advise, and to those who considered it.  I did try all the angles
advised, but still there is a problem.  I then tried following the Red Hat
RH300 training manual, but still no success.

I am attempting to build a kernel without PCMCIA support so I can then build
one with PCMCIA support, using the latest standalone pcmcia-cs-3.2.1
package.  This is on an old Acer Extensa 367T laptop (200 Mhz Pentium MMX
processor).

These are the steps I followed, but I stopped at the point where I saw
problems, as I know this is a lengthy process, and no use persuing if I
can't confirm that the steps where successful.

# rpm -q   glibc-kernheaders
                dev86
                make
                glibc-devel
                cpp
                ncurses-devel
                binutils
                gcc
                kernel-source

all above packages were verified as being installed.

# cd /usr/src/linux-2.4
# vi Makefile
    change line     EXTRAVERSION=-3custom
        to               EXTRAVERSION=-noPCMCIA
# make mrproper
# cp -p configs/kernel-2.4.18-i386.config .config
# make oldconfig
( I ignored the suggestion to 'make dep' for now as advised in the manual )
 # make config
I said no to:  network support
                    hotplug support
                    telephony support
                    IrDA support
                    I2O support
                    ISDN support
                    IEEE support
                    SCSI support
I noticed I wasn't asked about PCMCIA support in the .config was commented
out and I wasn't asked about it during the make config step, this is most
probably because of all the previous attempts which I said no to PCMCIA
support.

#make dep bzImage 2>errors
    after this step I read the errors file and saw at the end:

make[2]:  ***  [socket.o] Error 1
make[1]:  ***  [first_rule] Error 2
make:  ***  [_dir_net] Error 2

As advised in the manual, I checked
    # ls -l System.map            (no such file there)
    # ls -l arch/i386/boot/bzImage            (no such file there either)

This is where I stopped.  Please could you advise me.

Thanks,
Trevor.





_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@redhat.com
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux