make moduels failed on linux-2.4.21-15.EL

From: Yasushi Okubo (yasushi_at_cabm.rutgers.edu)
Date: 05/25/04

  • Next message: Jake Johnson: "Re: Decrypt Passwords"
    Date: Tue, 25 May 2004 12:11:20 -0400
    To: General Red Hat Linux discussion list <redhat-list@redhat.com>
    
    

    I just applied patches to our WS3.0 machines through up2date and got
    kernel-source too. However, it failed to compile kernel.
    The following is the steps I took. Please advise me how to get rid of
    errors.

    1. I opened make menuconfig/xconfig
    2. Turn on IEEE1394 option
    3. save & exit
    4. make dep <-- it looked okay
    5. make modules failed with many "implicit declaration of function" errors

    So, after make clean, I turned off IEEE1394 option and saved it, but it
    looks like it still produced the same errors with make modules. It
    looks like kenern-source for linux-2.4.21-15.EL never be able to be
    compiled due to anomalities in many libraries.

    Here is the example of output:

    /usr/src/linux-2.4.21-15.EL/include/linux/mm.h:142: syntax error before
    numeric constant
    /usr/src/linux-2.4.21-15.EL/include/linux/mm.h:142: warning: function
    declaration isn't a prototype
    /usr/src/linux-2.4.21-15.EL/include/linux/mm.h:143: warning: parameter
    names (without types) in function declaration
    /usr/src/linux-2.4.21-15.EL/include/linux/mm.h:545: invalid suffix on
    integer constant
    /usr/src/linux-2.4.21-15.EL/include/linux/mm.h:545: syntax error before
    numeric constant
    /usr/src/linux-2.4.21-15.EL/include/linux/mm.h:545:
    `free_pages_R_ver_str' declared as function returning a function
    /usr/src/linux-2.4.21-15.EL/include/linux/mm.h:545: warning: function
    declaration isn't a prototype
    /usr/src/linux-2.4.21-15.EL/include/linux/mm.h:641: syntax error before
    numeric constant
    /usr/src/linux-2.4.21-15.EL/include/linux/mm.h:641:
    `__get_free_pages_R_ver_str' declared as function returning a function
    /usr/src/linux-2.4.21-15.EL/include/linux/mm.h:641: warning: function
    declaration isn't a prototype
    /usr/src/linux-2.4.21-15.EL/include/linux/mm.h:642: invalid suffix on
    integer constant
    .....
    ......
    ...
    /usr/src/linux-2.4.21-15.EL/include/net/sock.h:1361: warning: implicit
    declaration of function `put_cmsg_Rsmp_f39bf4d9'
    /usr/src/linux-2.4.21-15.EL/include/linux/skbuff.h: In function
    `kunmap_skb_frag':
    /usr/src/linux-2.4.21-15.EL/include/linux/skbuff.h:1152: warning: asm
    operand 1 probably doesn't match constraints
    make[3]: *** [module.o] Error 1
    make[3]: Leaving directory `/usr/src/linux-2.4.21-15.EL/drivers/addon/cipe'
    make[2]: *** [_modsubdir_cipe] Error 2
    make[2]: Leaving directory `/usr/src/linux-2.4.21-15.EL/drivers/addon'
    make[1]: *** [_modsubdir_addon] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.4.21-15.EL/drivers'
    make: *** [_mod_drivers] Error 2

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Jake Johnson: "Re: Decrypt Passwords"