Professional Web Applications Themes

Kernel 2.6.0 - build using O= gives permissions error during compile - Linux Setup, Configuration & Administration

I am building a kernel 2.6.0. The kernel source is in a read only directory /u1/dev01/kernel/linux-2.6.0 The build directory is /u1/build/kernel Using: make O=/u1/build/kernel bzImage The compile runs for about 20 minutes, then stops during build of the AGP drivers: CC drivers/char/agp/isoch.o gcc: /u1/dev01/kernel/linux-2.6.0/drivers/char/agp/isoch.c: Permission denied gcc: No input files make[4]: *** [drivers/char/agp/isoch.o] Error 1 make[3]: *** [drivers/char/agp] Error 2 make[2]: *** [drivers/char] Error 2 make[1]: *** [drivers] Error 2 make: *** [bzImage] Error 2 Is there a fix for this ? Thanks in advance to anyone who can help....

  1. #1

    Default Kernel 2.6.0 - build using O= gives permissions error during compile

    I am building a kernel 2.6.0.

    The kernel source is in a read only directory

    /u1/dev01/kernel/linux-2.6.0

    The build directory is /u1/build/kernel

    Using:

    make O=/u1/build/kernel bzImage

    The compile runs for about 20 minutes, then stops during build of the
    AGP drivers:

    CC drivers/char/agp/isoch.o
    gcc: /u1/dev01/kernel/linux-2.6.0/drivers/char/agp/isoch.c: Permission
    denied
    gcc: No input files
    make[4]: *** [drivers/char/agp/isoch.o] Error 1
    make[3]: *** [drivers/char/agp] Error 2
    make[2]: *** [drivers/char] Error 2
    make[1]: *** [drivers] Error 2
    make: *** [bzImage] Error 2

    Is there a fix for this ?

    Thanks in advance to anyone who can help.
    Mark Guest

  2. #2

    Default Re: Kernel 2.6.0 - build using O= gives permissions error during compile

    Mark Hobley wrote:
     

    try chmod'ing the file isoch.c so that you have Read access to it, and
    ensuring that you have eXecute access to all the directories above it
    (/u1/dev01/kernel/linux-2.6.0/drivers/char/agp).

    Robert Guest

  3. #3

    Default Re: Kernel 2.6.0 - build using O= gives permissions error during compile

    On Sun, 04 Jan 2004 12:26:52 GMT, Robert Newson
    <co.fsnet.bullet3> wrote:

    Duhh !!! What a donkey ! I should have looked !

    The file in question actually did not have read permission.

    All the other files do.

    This one must have the incorrect attribute in the source tarball.

    I've used chmod and I'm recompiling.

    Cheers.
    Mark Guest

Similar Threads

  1. Kernel Compile Problems
    By L'Administrateur in forum Linux Setup, Configuration & Administration
    Replies: 2
    Last Post: October 30th, 02:21 AM
  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 error with make-kpkg
    By Esben Laursen in forum Debian
    Replies: 8
    Last Post: July 13th, 01:40 PM
  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