Kernel modules build problem - Redhat

This is a discussion on Kernel modules build problem - Redhat ; Ok, after running make xconfig and turning on the stuff I need I do the following: 1) make clean 2) make dep 3) make bzImage 4) make modules At this point, the make modules bombs out with: /usr/src/linux-2.4.20-30.9/include/linux/netdevice.h:615: called object ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Kernel modules build problem

  1. Kernel modules build problem

    Ok, after running make xconfig and turning on the stuff I need I do the
    following:

    1) make clean
    2) make dep
    3) make bzImage
    4) make modules

    At this point, the make modules bombs out with:
    /usr/src/linux-2.4.20-30.9/include/linux/netdevice.h:615: called object
    is not a function
    dummy.c: In function `dummy_init':
    dummy.c:58: invalid suffix on integer constant
    dummy.c:58: called object is not a function
    dummy.c: In function `dummy_cleanup_module':
    dummy.c:117: invalid suffix on integer constant
    dummy.c:117: called object is not a function
    make[2]: *** [dummy.o] Error 1
    make[2]: Leaving directory `/usr/src/linux-2.4.20-30.9/drivers/net'
    make[1]: *** [_modsubdir_net] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.4.20-30.9/drivers'
    make: *** [_mod_drivers] Error 2


    ---------------------------------------------
    Andrew R. Falanga (a non-HP employee)
    Hewlett-Packard Company
    11311 Chinden Blvd.
    Boise, Idaho
    ---------------------------------------------
    Please note: The e-mail address is purposely
    mangled. I do not wish my account at HP to
    become a spam haven.

  2. Re: Kernel modules build problem


    "Andrew Falanga" wrote in message
    news:40d75367$1@usenet01.boi.hp.com...
    > Ok, after running make xconfig and turning on the stuff I need I do the
    > following:
    >
    > 1) make clean
    > 2) make dep
    > 3) make bzImage
    > 4) make modules


    Here is the step by step instructions on how to rebuild the kernel , these
    notes are from one of my linux classes and I have just quickly whacked them
    on a web site for you as a plain text document.

    The notes are written for RH 7.1 and they are for a college class that I was
    doing , but you should be able to follow the steps and rebuild the kernel
    without any problems.

    http://members.iinet.net.au/~stevera...nelRebuild.txt


    --
    Sandgroper
    ----------------------------------
    Remove KNICKERS to Email
    steveray@KNICKERSiinet.net.au



+ Reply to Thread