2 Replies Latest reply on Oct 5, 2010 7:51 PM by junghyun

    Compiling linux kernel.

    junghyun

      I found how to compile linux kernel in Programmer's guide.

       

      As it says, I run "bin/mk_all SCC"

       

      But some operations failed due to chown.

       

      It attempts to modify file's owner to root, but it is not possible to me.

       

      How can it be solved..?

       

      The output printed below.

       

      install -d -m 755 /home/junghyun/trunk/rckos/extract/usr/sbin
      install -m 755 dropbear /home/junghyun/trunk/rckos/extract/usr/sbin
      chown root /home/junghyun/trunk/rckos/extract/usr/sbin/dropbear
      chown: changing ownership of `/home/junghyun/trunk/rckos/extract/usr/sbin/dropbear': Operation not permitted
      make: [inst_dropbear] Error 1 (ignored)
      chgrp 0 /home/junghyun/trunk/rckos/extract/usr/sbin/dropbear
      chgrp: changing group of `/home/junghyun/trunk/rckos/extract/usr/sbin/dropbear': Operation not permitted
      make: [inst_dropbear] Error 1 (ignored)
      install -d -m 755 /home/junghyun/trunk/rckos/extract/usr/bin
      install -m 755 dbclient /home/junghyun/trunk/rckos/extract/usr/bin
      chown root /home/junghyun/trunk/rckos/extract/usr/bin/dbclient
      chown: changing ownership of `/home/junghyun/trunk/rckos/extract/usr/bin/dbclient': Operation not permitted
      make: [inst_dbclient] Error 1 (ignored)
      chgrp 0 /home/junghyun/trunk/rckos/extract/usr/bin/dbclient
      chgrp: changing group of `/home/junghyun/trunk/rckos/extract/usr/bin/dbclient': Operation not permitted
      make: [inst_dbclient] Error 1 (ignored)
      install -d -m 755 /home/junghyun/trunk/rckos/extract/usr/bin
      install -m 755 dropbearkey /home/junghyun/trunk/rckos/extract/usr/bin
      chown root /home/junghyun/trunk/rckos/extract/usr/bin/dropbearkey
      chown: changing ownership of `/home/junghyun/trunk/rckos/extract/usr/bin/dropbearkey': Operation not permitted
      make: [inst_dropbearkey] Error 1 (ignored)
      chgrp 0 /home/junghyun/trunk/rckos/extract/usr/bin/dropbearkey
      chgrp: changing group of `/home/junghyun/trunk/rckos/extract/usr/bin/dropbearkey': Operation not permitted
      make: [inst_dropbearkey] Error 1 (ignored)
      install -d -m 755 /home/junghyun/trunk/rckos/extract/usr/bin
      install -m 755 dropbearconvert /home/junghyun/trunk/rckos/extract/usr/bin
      chown root /home/junghyun/trunk/rckos/extract/usr/bin/dropbearconvert
      chown: changing ownership of `/home/junghyun/trunk/rckos/extract/usr/bin/dropbearconvert': Operation not permitted
      make: [inst_dropbearconvert] Error 1 (ignored)
      chgrp 0 /home/junghyun/trunk/rckos/extract/usr/bin/dropbearconvert
      chgrp: changing group of `/home/junghyun/trunk/rckos/extract/usr/bin/dropbearconvert': Operation not permitted
      make: [inst_dropbearconvert] Error 1 (ignored)

        • 1. Re: Compiling linux kernel.
          JanArneSobania

          I get the same errors when building rckos, but it doesn't seem to matter. The Linux image is still being created successfully.

           

          However, if you are using the code from the public subversion repository, you might run into another problem: when the script builds the actual image during a later stage, cp fails with a "stat" error on localversion.svnRev. That file is not created by the scripts in the public code (as we cannot access the internal development repository), but needs to be present. If you experience that error, issue this command (please adjust the path to match your installation first):

           

          touch ~/sandbox/linuxkernel/localversion.svnRev

          1 of 1 people found this helpful
          • 2. Re: Compiling linux kernel.
            junghyun

            Thanks for replying.

             

            I removed that sentence in Makefile.