Unable to build meta toolchain

Home Forums MIPS Insider Meta Insider Unable to build meta toolchain

This topic contains 8 replies, has 3 voices, and was last updated by  Sean 5 years ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #64846

    bmarshall
    Participant

    Another dumb one…
    While following the “Getting started” guide page 20 and following the instructions on building the meta linux toolchain and compiler I get this error message when configuring the buildroot makefiles

    benmarshall@ubuntu:~/Documents/minimorph/GPL/buildroot$ make comet_minimorph_defconfig
    make: /host/Users/Ben: Command not found
    make: *** No rule to make target `comet_minimorph_defconfig'. Stop.
    benmarshall@ubuntu:~/Documents/minimorph/GPL/buildroot$

    Any suggestions?

    #64854

    Sean
    Moderator

    Please could you let me know the output of ls -l configs/comet_minimorph_defconfig run from GPL/buildroot?

    I want to check if the file exists and what user you used to extract the file.

    Also, the output of make --version please.

    #64853

    bmarshall
    Participant

    Here you are
    benmarshall@ubuntu:~/Documents/minimorph/GPL/buildroot$ ls -l /configs/comet_minimorph_defconfig
    ls: cannot access /configs/comet_minimorph_defconfig: No such file or directory
    benmarshall@ubuntu:~/Documents/minimorph/GPL/buildroot$ make --version
    GNU Make 3.81
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
    PARTICULAR PURPOSE.

    This program built for x86_64-pc-linux-gnu
    benmarshall@ubuntu:~/Documents/minimorph/GPL/buildroot$

    I think I can guess what the problem is now..

    #64852

    bmarshall
    Participant

    apologies – here is the correct output…
    benmarshall@ubuntu:~/Documents/minimorph/GPL/buildroot$ ls -l configs/comet_minimorph_defconfig
    -rwxrwxrwx 1 root root 1827 May 23 2012 configs/comet_minimorph_defconfig
    benmarshall@ubuntu:~/Documents/minimorph/GPL/buildroot$ make --version
    GNU Make 3.81
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
    PARTICULAR PURPOSE.

    This program built for x86_64-pc-linux-gnu
    benmarshall@ubuntu:~/Documents/minimorph/GPL/buildroot$

    #64851

    Sean
    Moderator

    You put a slash in front of configs directory:
    ls -l /configs/comet_minimorph_defconfig
    instead of
    ls -l configs/comet_minimorph_defconfig

    Could you have another go please?

    #64850

    bmarshall
    Participant

    Yeah I noticed – it should be up there ^^

    #64849

    Sean
    Moderator

    Ah, unless you are still running as root, you may have an issue as you look to have extracted the .tar.gz packages as root user.

    If you use sudo or su before you run make, you’ll probably succeed.

    Long term, I would suggest not extracting the .tar.gz files as root.

    #64848

    bmarshall
    Participant

    Found the solution – as you suggested it was a permissions issue. Since I have installed ubuntu inside windows and not on a seprate partition it treats everything on the host drive as being owned by the root. Moving it into the virtual disk solved the problem!

    #64847

    alastair
    Moderator

    You said you’d installed ubuntu inside Windows. This would have lead to further problems as the Linux filesystem must be built on a case-sensitive filesystem.

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.