Kernel 2.6 test4 compile error

Ask a Question related to Linux Setup, Configuration & Administration, Design and Development.

  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. Similar Questions and Discussions

    1. Kernel compile
      Hello Im looking to make a 2.4.21 kernel compile with all the drivers as modules, as per most of the default kernels. I have not found one for...
    2. Kernel compile error with make-kpkg
      When I try to compile a 2.4.21 kernel with Debians make-kpkg tool, I get this error no matter what I try!! The command im useing is: make-kpkg...
    3. Question #2 - Different versions of kernel modules compile using vac
      Hi. I have on one of the AIX 4.3.3 VAC. installed (and working). In my company, we create a kernel modules (which is our product). Searching both...
    4. kernel compile the debian way
      Hello, I'm new to compiling kernels the debian way. This is how I do it: make menuconfig make dep make-kpkg clean fakeroot make-kpkg...
    5. Compile kernel
      I want to start compiling my own kernels because I am rolling my on linux system for my server. When you configure the kernel hardware setting how...
  3. #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

Posting Permissions

  • You may not post new threads
  • You may 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