Professional Web Applications Themes

Kernel Compile Problems - Linux Setup, Configuration & Administration

I'm trying to compile the kernel to get basic functionality on a USB printer, namely an HP Officejet G85xi. When compiling modules, I get all sorts of problems with failures. This time I get the following which seems to indicate the Dummy net driver is failing. If I remove this, I get some other problem... nothing seems to work. Can anyone help? Thanks Below are the last from dummy.c:34: /usr/src/linux-2.4.20-20.9/include/asm/processor.h:268:1: warning: "EISA_bus" redefined In file included from /usr/src/linux-2.4.20-20.9/include/linux/modversions.h:133, from <command line>:1: /usr/src/linux-2.4.20-20.9/include/linux/modules/i386_ksyms.ver:101:1: warning: this is the location of the previous definition /usr/src/linux-2.4.20-20.9/include/asm/processor.h:270: warning: parameter names (without types) in function declaration ...

  1. #1

    Default Kernel Compile Problems

    I'm trying to compile the kernel to get basic functionality on a USB
    printer, namely an HP Officejet G85xi.

    When compiling modules, I get all sorts of problems with failures. This
    time I get the following which seems to indicate the Dummy net driver is
    failing. If I remove this, I get some other problem... nothing seems to
    work. Can anyone help?

    Thanks

    Below are the last from dummy.c:34:
    /usr/src/linux-2.4.20-20.9/include/asm/processor.h:268:1: warning:
    "EISA_bus" redefined In file included from
    /usr/src/linux-2.4.20-20.9/include/linux/modversions.h:133,
    from <command line>:1:
    /usr/src/linux-2.4.20-20.9/include/linux/modules/i386_ksyms.ver:101:1:
    warning: this is the location of the previous definition
    /usr/src/linux-2.4.20-20.9/include/asm/processor.h:270: warning: parameter
    names (without types) in function declaration In file included from
    dummy.c:34:
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:183: invalid suffix on
    integer constant /usr/src/linux-2.4.20-20.9/include/linux/module.h:183:
    p error before numeric constant
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:183:
    `inter_module_register_R_ver_str' declared as function returning a
    function /usr/src/linux-2.4.20-20.9/include/linux/module.h:183: warning:
    function declaration isn't a prototype
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:184: invalid suffix on
    integer constant /usr/src/linux-2.4.20-20.9/include/linux/module.h:184:
    p error before numeric constant
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:184:
    `inter_module_unregister_R_ver_str' declared as function returning a
    function /usr/src/linux-2.4.20-20.9/include/linux/module.h:184: warning:
    function declaration isn't a prototype
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:185:
    `inter_module_get_R_ver_str' declared as function returning a function
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:185: warning: parameter
    names (without types) in function declaration
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:186:
    `inter_module_get_request_R_ver_str' declared as function returning a
    function /usr/src/linux-2.4.20-20.9/include/linux/module.h:186: warning:
    parameter names (without types) in function declaration
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:187: invalid suffix on
    integer constant /usr/src/linux-2.4.20-20.9/include/linux/module.h:187:
    p error before numeric constant
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:187:
    `inter_module_put_R_ver_str' declared as function returning a function
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:187: warning: function
    declaration isn't a prototype
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:196:
    `try_inc_mod_count_R_ver_str' declared as function returning a function
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:196: warning: parameter
    names (without types) in function declaration make[2]: *** [dummy.o] Error
    1
    make[2]: Leaving directory `/usr/src/linux-2.4.20-20.9/drivers/net'
    make[1]: *** [_modsubdir_net] Error 2 make[1]: Leaving directory
    `/usr/src/linux-2.4.20-20.9/drivers' make: *** [_mod_drivers] Error 2
    [rootskagit linux-2.4]# from dummy.c:34:
    /usr/src/linux-2.4.20-20.9/include/asm/processor.h:268:1: warning:
    "EISA_bus" redefined In file included from
    /usr/src/linux-2.4.20-20.9/include/linux/modversions.h:133,
    from <command line>:1:
    /usr/src/linux-2.4.20-20.9/include/linux/modules/i386_ksyms.ver:101:1:
    warning: this is the location of the previous definition
    /usr/src/linux-2.4.20-20.9/include/asm/processor.h:270: warning: parameter
    names (without types) in function declaration In file included from
    dummy.c:34:
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:183: invalid suffix on
    integer constant /usr/src/linux-2.4.20-20.9/include/linux/module.h:183:
    p error before numeric constant
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:183:
    `inter_module_register_R_ver_str' declared as function returning a
    function /usr/src/linux-2.4.20-20.9/include/linux/module.h:183: warning:
    function declaration isn't a prototype
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:184: invalid suffix on
    integer constant /usr/src/linux-2.4.20-20.9/include/linux/module.h:184:
    p error before numeric constant
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:184:
    `inter_module_unregister_R_ver_str' declared as function returning a
    function /usr/src/linux-2.4.20-20.9/include/linux/module.h:184: warning:
    function declaration isn't a prototype
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:185:
    `inter_module_get_R_ver_str' declared as function returning a function
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:185: warning: parameter
    names (without types) in function declaration
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:186:
    `inter_module_get_request_R_ver_str' declared as function returning a
    function /usr/src/linux-2.4.20-20.9/include/linux/module.h:186: warning:
    parameter names (without types) in function declaration
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:187: invalid suffix on
    integer constant /usr/src/linux-2.4.20-20.9/include/linux/module.h:187:
    p error before numeric constant
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:187:
    `inter_module_put_R_ver_str' declared as function returning a function
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:187: warning: function
    declaration isn't a prototype
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:196:
    `try_inc_mod_count_R_ver_str' declared as function returning a function
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:196: warning: parameter
    names (without types) in function declaration make[2]: *** [dummy.o] Error
    1
    make[2]: Leaving directory `/usr/src/linux-2.4.20-20.9/drivers/net'
    make[1]: *** [_modsubdir_net] Error 2 make[1]: Leaving directory
    `/usr/src/linux-2.4.20-20.9/drivers' make: *** [_mod_drivers] Error 2
    [rootskagit linux-2.4]#lines of the "make modules" output
    __________________________________________________ ____________

    from dummy.c:34:
    /usr/src/linux-2.4.20-20.9/include/asm/processor.h:268:1: warning:
    "EISA_bus" redefined In file included from
    /usr/src/linux-2.4.20-20.9/include/linux/modversions.h:133,
    from <command line>:1:
    /usr/src/linux-2.4.20-20.9/include/linux/modules/i386_ksyms.ver:101:1:
    warning: this is the location of the previous definition
    /usr/src/linux-2.4.20-20.9/include/asm/processor.h:270: warning: parameter
    names (without types) in function declaration In file included from
    dummy.c:34:
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:183: invalid suffix on
    integer constant /usr/src/linux-2.4.20-20.9/include/linux/module.h:183:
    p error before numeric constant
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:183:
    `inter_module_register_R_ver_str' declared as function returning a
    function /usr/src/linux-2.4.20-20.9/include/linux/module.h:183: warning:
    function declaration isn't a prototype
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:184: invalid suffix on
    integer constant /usr/src/linux-2.4.20-20.9/include/linux/module.h:184:
    p error before numeric constant
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:184:
    `inter_module_unregister_R_ver_str' declared as function returning a
    function /usr/src/linux-2.4.20-20.9/include/linux/module.h:184: warning:
    function declaration isn't a prototype
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:185:
    `inter_module_get_R_ver_str' declared as function returning a function
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:185: warning: parameter
    names (without types) in function declaration
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:186:
    `inter_module_get_request_R_ver_str' declared as function returning a
    function /usr/src/linux-2.4.20-20.9/include/linux/module.h:186: warning:
    parameter names (without types) in function declaration
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:187: invalid suffix on
    integer constant /usr/src/linux-2.4.20-20.9/include/linux/module.h:187:
    p error before numeric constant
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:187:
    `inter_module_put_R_ver_str' declared as function returning a function
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:187: warning: function
    declaration isn't a prototype
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:196:
    `try_inc_mod_count_R_ver_str' declared as function returning a function
    /usr/src/linux-2.4.20-20.9/include/linux/module.h:196: warning: parameter
    names (without types) in function declaration make[2]: *** [dummy.o] Error
    1
    make[2]: Leaving directory `/usr/src/linux-2.4.20-20.9/drivers/net'
    make[1]: *** [_modsubdir_net] Error 2 make[1]: Leaving directory
    `/usr/src/linux-2.4.20-20.9/drivers' make: *** [_mod_drivers] Error 2
    [rootskagit linux-2.4]#
    L'Administrateur Guest

  2. #2

    Default Re: Kernel Compile Problems

    make mrproper

    no... I don't see a reference to this in the "for the impatient" section
    of the Kernel-HOWTO. I now see it in the detailed area.

    Thanks for the tip.
    Can anyone explain what this does?
    The how-to is poorly formatted and this doesn't explain.

    Thanks

    On Wed, 29 Oct 2003 23:09:28 -0500, Michael Davis wrote:
     
    Angela Guest

  3. #3

    Default Re: Kernel Compile Problems

    Hi,

    Did you do 'make mrproper' first?

    Michael

    L'Administrateur wrote:
     

    --
    Michael Davis
    Toronto

    Michael Guest

Similar Threads

  1. Howto compile a kernel from scratch
    By Jost in forum Linux Setup, Configuration & Administration
    Replies: 9
    Last Post: October 7th, 04:28 PM
  2. Kernel 2.6 test4 compile error
    By Spaceboy in forum Linux Setup, Configuration & Administration
    Replies: 1
    Last Post: September 2nd, 01:00 PM
  3. Kernel compile
    By Arron in forum Linux Setup, Configuration & Administration
    Replies: 1
    Last Post: July 26th, 07:01 PM
  4. kernel compile the debian way
    By Rudy Gevaert in forum Debian
    Replies: 2
    Last Post: July 6th, 10:00 AM
  5. Compile kernel
    By Baho Utot in forum Linux Setup, Configuration & Administration
    Replies: 6
    Last Post: July 1st, 08:04 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139