Problems compiling Buildroots

  • Hi there,


    Im having some problems when I try to compile Buildroots v2.1.


    I'm using the standard buildroots configuration: fsimx6_std_defconfig


    And when I do "make" it starts to compile the entire system. But, a few, minutes later an error stops the process:


    Code
    1. >>> linux localdir Extracting
    2. linux/localdir_cp "/home/admin/Escritorio/Buildroots/buildroot-2015.05-fsimx6-V2.1/../linux-fsimx6" /home/admin/Escritorio/Buildroots/buildroot-2015.05-fsimx6-V2.1/output/build/linux-localdir && PATH="/home/admin/Escritorio/Buildroots/buildroot-2015.05-fsimx6-V2.1/output/host/bin:/home/admin/Escritorio/Buildroots/buildroot-2015.05-fsimx6-V2.1/output/host/sbin:/home/admin/Escritorio/Buildroots/buildroot-2015.05-fsimx6-V2.1/output/host/usr/bin:/home/admin/Escritorio/Buildroots/buildroot-2015.05-fsimx6-V2.1/output/host/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/admin/.local/bin:/home/admin/bin:/usr/local/arm/fs-toolchain-4.7.2-corexa5-neonvfpv4/bin" /usr/bin/make -j1 HOSTCC="/home/admin/Escritorio/Buildroots/buildroot-2015.05-fsimx6-V2.1/output/host/usr/bin/ccache /usr/bin/gcc" HOSTCFLAGS="" ARCH=arm INSTALL_MOD_PATH=/home/admin/Escritorio/Buildroots/buildroot-2015.05-fsimx6-V2.1/output/target CROSS_COMPILE="/home/admin/Escritorio/Buildroots/buildroot-2015.05-fsimx6-V2.1/output/host/usr/bin/ccache /home/admin/Escritorio/Buildroots/buildroot-2015.05-fsimx6-V2.1/output/host/usr/bin/arm-linux-" DEPMOD=/home/admin/Escritorio/Buildroots/buildroot-2015.05-fsimx6-V2.1/output/host/sbin/depmod -C /home/admin/Escritorio/Buildroots/buildroot-2015.05-fsimx6-V2.1/output/build/linux-localdir distclean
    3. package/pkg-generic.mk:88: recipe for target '/home/admin/Escritorio/Buildroots/buildroot-2015.05-fsimx6-V2.1/output/build/linux-localdir/.stamp_extracted' failed
    4. make: *** [/home/admin/Escritorio/Buildroots/buildroot-2015.05-fsimx6-V2.1/output/build/linux-localdir/.stamp_extracted] Error 1


    I'm using Fedora virtual machine to compile this with the default crosscompile like Linux First Steps says.
    I hope u can help.
    Thanks a lot :thumbsup::thumbsup:

  • Umm, I think I found the solution.


    The problem was that I must have the kernel sources in the upper directory, but the name of the folder what contains the kernel sources must be "linux-fsimx6"


    I still compilling... ill report :-P

  • Hi,


    Yes, the default path that is configured looks at ../linux-fsimx6 for the kernel. And it is using the fsimx6_defconfig.
    You can change settings to your needs.
    Therefore when you type make menuconfig in your Buildroot directory go to the menu item called 'Kernel'.
    Here you can change the 'Local Directory to use' and the 'Defconfig name' too.


    Your F&S Support Team

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.