Kernel 3.4 compile problem

Matthias Brugger matthias.bgg at googlemail.com
Tue Jun 19 09:23:22 EDT 2012


On 06/19/2012 02:43 PM, Kaan Akşit wrote:
> Lieber Matthias,
>
> Vielen dank für ihre email :) Here is the English version of the output:
>
>    DEPMOD  3.4.3
> DEBUG: return value for "make
> INSTALL_MOD_PATH=/var/pisi/kernel-3.4.3-163/install/ DEPMOD=/bin/true
> modules_install mod-fw=" is 0
> .....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
> 10229 blocks
> DEBUG: return value for "find . -path './include/*' -prune -o -path
> './scripts/*' -prune -o -path './Documentation/*' -prune -o -type f \(
> -name 'Makefile*' -o -name 'Kconfig*' -o -name 'Kbuild*' -o -name '*.sh'
> -o -name '*.pl' -o -name '*.lds' \) -print | cpio -pVd
> --preserve-modification-time
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3" is 0
> DEBUG: return value for "cp -a drivers/media/dvb/dvb-core/*.h
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/drivers/media/dvb/dvb-core"
> is 0
> DEBUG: return value for "cp -a drivers/media/dvb/frontends/*.h
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/drivers/media/dvb/frontends"
> is 0
> DEBUG: return value for "cp -a drivers/media/video/*.h
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/drivers/media/video"
> is 0
> DEBUG: return value for "cp -a include scripts Documentation
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3" is 0
> DEBUG: return value for "rm -rf
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/scripts/*.o"
> is 0
> DEBUG: return value for "rm -rf
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/scripts/*/*.o"
> is 0
> DEBUG: return value for "rm -rf
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/Documentation/DocBook"
> is 0
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/xtensa/include/asm/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/cris/include/asm/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/cris/include/arch-v32/arch/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/cris/include/arch-v32/arch/hwregs/iop/Makefile
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/cris/include/arch-v32/arch/hwregs/Makefile
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/cris/include/arch-v10/arch/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/parisc/include/asm/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/x86/include/asm/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/hexagon/include/asm/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/frv/include/asm/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/blackfin/include/asm/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/openrisc/include/asm/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/m32r/include/asm/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/sparc/include/asm/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/microblaze/include/asm/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/arm/include/asm/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/score/include/asm/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/mips/include/asm/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/avr32/include/asm/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/ia64/include/asm/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/s390/include/asm/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/alpha/include/asm/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/m68k/include/asm/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/c6x/include/asm/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/tile/include/asm/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/tile/include/arch/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/unicore32/include/asm/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/mn10300/include/asm/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/h8300/include/asm/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/sh/include/asm/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/um/include/asm/Kbuild
> not created: newer or same age version exists
> cpio:
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3/arch/powerpc/include/asm/Kbuild
> not created: newer or same age version exists
> 47168 blocks
> DEBUG: return value for "(find arch -name include -type d -print | xargs
> -n1 -i: find : -type f) | cpio -pd --preserve-modification-time
> /var/pisi/kernel-3.4.3-163/install/usr/src/linux-headers-3.4.3" is 0
> DEBUG: return value for "rm -rf
> /var/pisi/kernel-3.4.3-163/install/tmp-headers" is 0
>    GEN     /var/pisi/kernel-3.4.3-163/install/tmp-headers/Makefile
>    HOSTCC  scripts/basic/fixdep
>    HOSTCC  scripts/kconfig/conf.o
>    HOSTCC  scripts/kconfig/zconf.tab.o
>    HOSTLD  scripts/kconfig/conf
> *** Default configuration is based on 'x86_64_defconfig'
> #
> # configuration written to .config
> #
> DEBUG: return value for "make -j5
> O=/var/pisi/kernel-3.4.3-163/install/tmp-headers
> INSTALL_HDR_PATH=/var/pisi/kernel-3.4.3-163/install/tmp-headers/install
> defconfig" is 0
>    CHK     include/linux/version.h
>    UPD     include/linux/version.h
> make[2]: Nothing to be done for `all'.
>    HOSTCC  arch/x86/tools/relocs
>    HOSTCC  scripts/unifdef
>    INSTALL include/asm-generic (34 files)
>    INSTALL include/drm (15 files)
>    INSTALL include/linux/byteorder (2 files)
>    INSTALL include/linux/caif (2 files)
>    INSTALL include/linux/can (5 files)
>    INSTALL include/linux/dvb (8 files)
>    INSTALL include/linux/hdlc (1 file)
>    INSTALL include/linux/hsi (1 file)
>    INSTALL include/linux/isdn (1 file)
>    INSTALL include/linux/mmc (1 file)
>    INSTALL include/linux/netfilter/ipset (4 files)
>    INSTALL include/linux/netfilter (75 files)
>    INSTALL include/linux/netfilter_arp (2 files)
>    INSTALL include/linux/netfilter_bridge (18 files)
>    INSTALL include/linux/netfilter_ipv4 (12 files)
>    INSTALL include/linux/netfilter_ipv6 (11 files)
>    INSTALL include/linux/nfsd (5 files)
>    INSTALL include/linux/raid (2 files)
>    INSTALL include/linux/spi (1 file)
>    INSTALL include/linux/sunrpc (1 file)
>    INSTALL include/linux/tc_act (7 files)
>    INSTALL include/linux/tc_ematch (4 files)
>    INSTALL include/linux/usb (10 files)
>    INSTALL include/linux/wimax (1 file)
>    INSTALL include/linux (373 files)
>    INSTALL include/mtd (5 files)
>    INSTALL include/rdma (6 files)
>    INSTALL include/sound (10 files)
>    INSTALL include/video (3 files)
>    INSTALL include/xen (2 files)
>    INSTALL include (0 file)
> make[2]: *** No rule to make target
> `/var/pisi/kernel-3.4.3-163/install/tmp-headers/arch/x86/include/generated/asm/unistd_32.h',
> needed by
> `/var/pisi/kernel-3.4.3-163/install/tmp-headers/install/include/asm/.install'.
> Stop.
> make[1]: *** [headers_install] Error 2
> make: *** [sub-make] Error 2
> DEBUG: return value for "make
> O=/var/pisi/kernel-3.4.3-163/install/tmp-headers
> INSTALL_HDR_PATH=/var/pisi/kernel-3.4.3-163/install/tmp-headers/install
> headers_install" is 2
> Traceback (most recent call last):
>    File "/mnt/sda4/Kaan/Dökümanlarım/Özgür Çalışmalarım ve
> diğerleri/kaan.aksit/2011/kernel/default/kernel/actions.py", line 39, in
> install
>      kerneltools.installLibcHeaders()
>    File "/usr/lib/pardus/pisi/actionsapi/kerneltools.py", line 260, in
> installLibcHeaders
>      autotools.rawInstall(make_cmd, "headers_install")
>    File "/usr/lib/pardus/pisi/actionsapi/autotools.py", line 133, in
> rawInstall
>      if system('make %s %s' % (parameters, argument)):
>    File "/usr/lib/pardus/pisi/actionsapi/shelltools.py", line 255, in system
>      error(_("Command \"%s\" failed, return value was %d.") % (command,
> retValue))
>    File "/usr/lib/pardus/pisi/actionsapi/__init__.py", line 27, in error
>      raise Error(msg)
> pisi.actionsapi.Error: Command "make
> O=/var/pisi/kernel-3.4.3-163/install/tmp-headers
> INSTALL_HDR_PATH=/var/pisi/kernel-3.4.3-163/install/tmp-headers/install
> headers_install" failed, return value was 2.
> Action script error caught.
> *** 1 error(s), 1 warning(s)
> Program terminated.
> Please use 'pisi help' for general help.

I don't have a clue, but maybe because you didn't compile as root (sudo)?

>
> Best regards,
> Kaan



More information about the Kernelnewbies mailing list