Professional Web Applications Themes

Kernel 2.6 test4 compile error - Linux Setup, Configuration & Administration

I'm trying to compile the latest kernel, but I'm getting the following errors. Any idea how to fix this? drivers/block/ps2esdi.c:186: redefinition of `init_module' drivers/block/ps2esdi.c:172: `init_module' previously defined here drivers/block/ps2esdi.c: In function `init_module': drivers/block/ps2esdi.c:190: warning: initialization from incompatible pointer type drivers/block/ps2esdi.c:193: dereferencing pointer to incomplete type drivers/block/ps2esdi.c:193: dereferencing pointer to incomplete type drivers/block/ps2esdi.c:194: dereferencing pointer to incomplete type drivers/block/ps2esdi.c:197: dereferencing pointer to incomplete type drivers/block/ps2esdi.c:198: dereferencing pointer to incomplete type drivers/block/ps2esdi.c:200: dereferencing pointer to incomplete type drivers/block/ps2esdi.c: In function `cleanup_module': drivers/block/ps2esdi.c:208: warning: implicit declaration of function `mca_mark_as_unused' drivers/block/ps2esdi.c:216: `i' undeclared (first use in this function) drivers/block/ps2esdi.c:216: (Each undeclared identifier is reported ...

  1. #1

    Default Kernel 2.6 test4 compile error

    I'm trying to compile the latest kernel, but I'm getting the following
    errors. Any idea how to fix this?


    drivers/block/ps2esdi.c:186: redefinition of `init_module'
    drivers/block/ps2esdi.c:172: `init_module' previously defined here
    drivers/block/ps2esdi.c: In function `init_module':
    drivers/block/ps2esdi.c:190: warning: initialization from incompatible
    pointer type
    drivers/block/ps2esdi.c:193: dereferencing pointer to incomplete type
    drivers/block/ps2esdi.c:193: dereferencing pointer to incomplete type
    drivers/block/ps2esdi.c:194: dereferencing pointer to incomplete type
    drivers/block/ps2esdi.c:197: dereferencing pointer to incomplete type
    drivers/block/ps2esdi.c:198: dereferencing pointer to incomplete type
    drivers/block/ps2esdi.c:200: dereferencing pointer to incomplete type
    drivers/block/ps2esdi.c: In function `cleanup_module':
    drivers/block/ps2esdi.c:208: warning: implicit declaration of function
    `mca_mark_as_unused'
    drivers/block/ps2esdi.c:216: `i' undeclared (first use in this function)
    drivers/block/ps2esdi.c:216: (Each undeclared identifier is reported only
    once
    drivers/block/ps2esdi.c:216: for each function it appears in.)
    drivers/block/ps2esdi.c: In function `ps2esdi_geninit':
    drivers/block/ps2esdi.c:299: warning: implicit declaration of function
    `mca_find_adapter'
    drivers/block/ps2esdi.c:299: `MCA_NOTFOUND' undeclared (first use in this
    function)
    drivers/block/ps2esdi.c:310: warning: implicit declaration of function
    `mca_set_adapter_name'
    drivers/block/ps2esdi.c:316: warning: implicit declaration of function
    `mca_mark_as_used'
    drivers/block/ps2esdi.c:317: warning: passing arg 2 of
    `mca_set_adapter_procfn' from incompatible pointer type
    drivers/block/ps2esdi.c:334: warning: implicit declaration of function
    `mca_read_stored_pos'
    drivers/block/ps2esdi.c: In function `do_ps2esdi_request':
    drivers/block/ps2esdi.c:506: warning: long long unsigned int format,
    different type arg (arg 3)
    make[3]: *** [drivers/block/ps2esdi.o] Error 1
    make[2]: *** [drivers/block] Error 2
    make[1]: *** [drivers] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.0-test4'
    make: *** [stamp-build] Error 2
    Spaceboy Guest

  2. #2

    Default Re: Kernel 2.6 test4 compile error

    Spaceboy wrote:
    > I'm trying to compile the latest kernel, but I'm getting the following
    > errors. Any idea how to fix this?
    There are several modules in the 2.6.0 kernel that don't compile, at least
    not with gcc 3.2. Can you find out by which option the file got included ?
    If not needed, remove the option from the configuration. Otherwise, try gcc
    2.95.x

    Eggert
    Eggert Ehmke Guest

Similar Threads

  1. Kernel compile
    By Arron in forum Linux Setup, Configuration & Administration
    Replies: 1
    Last Post: July 26th, 07:01 PM
  2. Kernel compile error with make-kpkg
    By Esben Laursen in forum Debian
    Replies: 8
    Last Post: July 13th, 01:40 PM
  3. Replies: 0
    Last Post: July 7th, 09:08 AM
  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