build error

Discuss the technical details of Gargoyle and ongoing development

Moderator: Moderators

Post Reply
lost1
Posts: 5
Joined: Mon May 30, 2016 1:27 pm

build error

Post by lost1 »

I'm trying to build Gargoyle from git according to the developer documentation but I'm not successful.

This is the log:
http://pastebin.com/5t3g4Vt9

and here the last lines:

Code: Select all

Makefile:3583: recipe for target 's-attrtab' failed
make[6]: *** [s-attrtab] Killed
make[6]: Leaving directory '/root/gargoyle/ar71xx-src/build_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04-minimal/gcc'
Makefile:3892: recipe for target 'all-gcc' failed
make[5]: *** [all-gcc] Error 2
make[5]: Leaving directory '/root/gargoyle/ar71xx-src/build_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04-minimal'
Makefile:46: recipe for target '/root/gargoyle/ar71xx-src/build_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04-minimal/.built' failed
make[4]: *** [/root/gargoyle/ar71xx-src/build_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04-minimal/.built] Error 2
make[4]: Target 'compile' not remade because of errors.
make[4]: Leaving directory '/root/gargoyle/ar71xx-src/toolchain/gcc/minimal'
toolchain/Makefile:81: recipe for target 'toolchain/gcc/minimal/compile' failed
make[3]: *** [toolchain/gcc/minimal/compile] Error 2
make[4]: Entering directory '/root/gargoyle/ar71xx-src/toolchain/kernel-headers'
make[4]: Nothing to be done for 'prepare'.
make[4]: Leaving directory '/root/gargoyle/ar71xx-src/toolchain/kernel-headers'
make[4]: Entering directory '/root/gargoyle/ar71xx-src/toolchain/kernel-headers'
make[4]: Nothing to be done for 'compile'.
make[4]: Leaving directory '/root/gargoyle/ar71xx-src/toolchain/kernel-headers'
make[4]: Entering directory '/root/gargoyle/ar71xx-src/toolchain/uClibc/headers'
make[4]: Nothing to be done for 'prepare'.
make[4]: Leaving directory '/root/gargoyle/ar71xx-src/toolchain/uClibc/headers'
make[4]: Entering directory '/root/gargoyle/ar71xx-src/toolchain/gcc/initial'
make[4]: Nothing to be done for 'prepare'.
make[4]: Leaving directory '/root/gargoyle/ar71xx-src/toolchain/gcc/initial'
make[4]: Entering directory '/root/gargoyle/ar71xx-src/toolchain/uClibc'
bash: mips-openwrt-linux-uclibc-gcc: command not found
bash: mips-openwrt-linux-uclibc-gcc: command not found
make[4]: Nothing to be done for 'prepare'.
make[4]: Leaving directory '/root/gargoyle/ar71xx-src/toolchain/uClibc'
make[4]: Entering directory '/root/gargoyle/ar71xx-src/toolchain/gcc/final'
make[4]: Nothing to be done for 'prepare'.
make[4]: Leaving directory '/root/gargoyle/ar71xx-src/toolchain/gcc/final'
make[4]: Entering directory '/root/gargoyle/ar71xx-src/toolchain/uClibc/utils'
bash: mips-openwrt-linux-uclibc-gcc: command not found
make[4]: Nothing to be done for 'prepare'.
make[4]: Leaving directory '/root/gargoyle/ar71xx-src/toolchain/uClibc/utils'
make[3]: Target 'toolchain/install' not remade because of errors.
make[3]: Leaving directory '/root/gargoyle/ar71xx-src'
toolchain/Makefile:80: recipe for target '/root/gargoyle/ar71xx-src/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/stamp/.toolchain_install' failed
make[2]: *** [/root/gargoyle/ar71xx-src/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/stamp/.toolchain_install] Error 2
make[3]: Entering directory '/root/gargoyle/ar71xx-src'
rm -rf /root/gargoyle/ar71xx-src/staging_dir/target-mips_34kc_uClibc-0.9.33.2/root-ar71xx
make[3]: Leaving directory '/root/gargoyle/ar71xx-src'
make[2]: Target 'world' not remade because of errors.
make[2]: Leaving directory '/root/gargoyle/ar71xx-src'
/root/gargoyle/ar71xx-src/include/toplevel.mk:181: recipe for target 'world' failed
make[1]: *** [world] Error 2
make[1]: Leaving directory '/root/gargoyle/ar71xx-src'
ls: cannot access 'bin': No such file or directory
find: ‘bin’: No such file or directory
find: ‘’: No such file or directory
find: ‘’: No such file or directory
ls: cannot access 'bin': No such file or directory
Is anyone able to help me here.

Thank you!

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: build error

Post by Lantis »

What target are you compiling for?

What is the exact make command that you ran?
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

lost1
Posts: 5
Joined: Mon May 30, 2016 1:27 pm

Re: build error

Post by lost1 »

Hi!

I was using "make ar71xx" since I want to compile it for my TL-WA850RE.

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: build error

Post by Lantis »

try
make FULL_BUILD=true ar71xx.default

Please be aware that your router has only 4mb of flash and will either not build (image too large error) or it will build and then be highly unstable when flashed to the router.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

lost1
Posts: 5
Joined: Mon May 30, 2016 1:27 pm

Re: build error

Post by lost1 »

Thank you!

I'm trying it now after running make distclean and made clean.

It will take some time. I'll report back.

Unfortunately I've experienced problems with gargoyle 1.9.0 and using the WA850RE as a repeater for my Fritzbox.

I've read somewhere that these problems should be resolved in the git repo. That's why I am trying to build it myself.

ispyisail
Moderator
Posts: 5180
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: build error

Post by ispyisail »


lost1
Posts: 5
Joined: Mon May 30, 2016 1:27 pm

Re: build error

Post by lost1 »

Great! Thank you!

make FULL_BUILD=true ar71xx.default didn't work either ;(

lost1
Posts: 5
Joined: Mon May 30, 2016 1:27 pm

Re: build error

Post by lost1 »

I've now flashed the iSpy image and the repeater mode worked immediately now!
Wonderful!
Thank you!

majimus
Posts: 10
Joined: Tue Aug 20, 2013 4:28 pm

Re: build error

Post by majimus »

Hello Everyone,

I'm also having the same error trying to build the ar71xx profile. I'm interesting in making some changes to the qos-gargoyle code, how can I resolve this error about target 'world'?

Thanks,

Majimus

majimus
Posts: 10
Joined: Tue Aug 20, 2013 4:28 pm

Re: build error

Post by majimus »

lost1 wrote:I'm trying to build Gargoyle from git according to the developer documentation but I'm not successful.

This is the log:
http://pastebin.com/5t3g4Vt9

and here the last lines:

Code: Select all

Makefile:3583: recipe for target 's-attrtab' failed
make[6]: *** [s-attrtab] Killed
make[6]: Leaving directory '/root/gargoyle/ar71xx-src/build_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04-minimal/gcc'
Makefile:3892: recipe for target 'all-gcc' failed
make[5]: *** [all-gcc] Error 2
make[5]: Leaving directory '/root/gargoyle/ar71xx-src/build_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04-minimal'
Makefile:46: recipe for target '/root/gargoyle/ar71xx-src/build_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04-minimal/.built' failed
make[4]: *** [/root/gargoyle/ar71xx-src/build_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04-minimal/.built] Error 2
make[4]: Target 'compile' not remade because of errors.
make[4]: Leaving directory '/root/gargoyle/ar71xx-src/toolchain/gcc/minimal'
toolchain/Makefile:81: recipe for target 'toolchain/gcc/minimal/compile' failed
make[3]: *** [toolchain/gcc/minimal/compile] Error 2
make[4]: Entering directory '/root/gargoyle/ar71xx-src/toolchain/kernel-headers'
make[4]: Nothing to be done for 'prepare'.
make[4]: Leaving directory '/root/gargoyle/ar71xx-src/toolchain/kernel-headers'
make[4]: Entering directory '/root/gargoyle/ar71xx-src/toolchain/kernel-headers'
make[4]: Nothing to be done for 'compile'.
make[4]: Leaving directory '/root/gargoyle/ar71xx-src/toolchain/kernel-headers'
make[4]: Entering directory '/root/gargoyle/ar71xx-src/toolchain/uClibc/headers'
make[4]: Nothing to be done for 'prepare'.
make[4]: Leaving directory '/root/gargoyle/ar71xx-src/toolchain/uClibc/headers'
make[4]: Entering directory '/root/gargoyle/ar71xx-src/toolchain/gcc/initial'
make[4]: Nothing to be done for 'prepare'.
make[4]: Leaving directory '/root/gargoyle/ar71xx-src/toolchain/gcc/initial'
make[4]: Entering directory '/root/gargoyle/ar71xx-src/toolchain/uClibc'
bash: mips-openwrt-linux-uclibc-gcc: command not found
bash: mips-openwrt-linux-uclibc-gcc: command not found
make[4]: Nothing to be done for 'prepare'.
make[4]: Leaving directory '/root/gargoyle/ar71xx-src/toolchain/uClibc'
make[4]: Entering directory '/root/gargoyle/ar71xx-src/toolchain/gcc/final'
make[4]: Nothing to be done for 'prepare'.
make[4]: Leaving directory '/root/gargoyle/ar71xx-src/toolchain/gcc/final'
make[4]: Entering directory '/root/gargoyle/ar71xx-src/toolchain/uClibc/utils'
bash: mips-openwrt-linux-uclibc-gcc: command not found
make[4]: Nothing to be done for 'prepare'.
make[4]: Leaving directory '/root/gargoyle/ar71xx-src/toolchain/uClibc/utils'
make[3]: Target 'toolchain/install' not remade because of errors.
make[3]: Leaving directory '/root/gargoyle/ar71xx-src'
toolchain/Makefile:80: recipe for target '/root/gargoyle/ar71xx-src/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/stamp/.toolchain_install' failed
make[2]: *** [/root/gargoyle/ar71xx-src/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/stamp/.toolchain_install] Error 2
make[3]: Entering directory '/root/gargoyle/ar71xx-src'
rm -rf /root/gargoyle/ar71xx-src/staging_dir/target-mips_34kc_uClibc-0.9.33.2/root-ar71xx
make[3]: Leaving directory '/root/gargoyle/ar71xx-src'
make[2]: Target 'world' not remade because of errors.
make[2]: Leaving directory '/root/gargoyle/ar71xx-src'
/root/gargoyle/ar71xx-src/include/toplevel.mk:181: recipe for target 'world' failed
make[1]: *** [world] Error 2
make[1]: Leaving directory '/root/gargoyle/ar71xx-src'
ls: cannot access 'bin': No such file or directory
find: ‘bin’: No such file or directory
find: ‘’: No such file or directory
find: ‘’: No such file or directory
ls: cannot access 'bin': No such file or directory
Is anyone able to help me here.

Thank you!
Trying doing a custom build first, build the tools and sdk, I did something along those lines and now my build works. Not sure which of those really fixed it.

Post Reply