Page 2 of 3
Re: Anybody built gargoyle on OpenWrt trunk recently?
Posted: Wed Aug 03, 2011 9:05 am
by markc
The above post is blog spam.
What's the best way to deal with issues like this?
Code: Select all
make[6]: Entering directory `/home/markc/Devel/gargoyle/ar71xx src/build_dir/target-mips_r2_uClibc-0.9.30.1/haserl-0.9.26/src'
Makefile:474: *** missing separator (did you mean TAB instead of 8 spaces?). Stop.
Sure enough line 474 has spaces instead of a tab. Also...
Code: Select all
chown root /home/markc/Devel/gargoyle/ar71xx-src/build_dir/linux-ar71xx/fuse-2.8.3/ipkg-install/usr/bin/fusermount
chown: changing ownership of `/home/markc/Devel/gargoyle/ar71xx-src/build_dir/linux-ar71xx/fuse-2.8.3/ipkg-install/usr/bin/fusermount': Operation not permitted
make[8]: [install-exec-hook] Error 1 (ignored)
Does this mean I should be building gargoyle as root?
This is using...
Code: Select all
git clone http://github.com/ericpaulbishop/gargoyle.git
cd gargoyle && make make ar71xx
Re: Anybody built gargoyle on OpenWrt trunk recently?
Posted: Thu Aug 04, 2011 4:01 am
by frederikv
DoesItMatter wrote:Frederikv,
I've tried compiling OpenWRT backfire RC5 from source and got
an image that flashes, but it doesn't include the Luci interface.
Do you know how to compile that in?
I guess it's a matter of selecting it in the build process. If that fails, opkg update && opkg install luci should do the trick. You'll probably have to do /etc/init.d/uhttpd enable && /etc/init.d/uhttpd start as well.
Re: Anybody built gargoyle on OpenWrt trunk recently?
Posted: Fri Aug 05, 2011 10:42 am
by DoesItMatter
http://wiki.openwrt.org/doc/howto/obtai ... ding.feeds
Thats the part I was missing for Luci
Forgot to add the feeds
I have a current trunk (Build 27840) compiled for the AR71XX
I put way too many options in though, the firmware for the
WZR-HP-G300NH was about 11MB, but using kernel 2.6.39.2
Have to do some testing with wireless, but this build seems snappy!
Now to try and see if I can incorporate Gargoyle into Trunk.
-------------
Frederik - so yes, OpenWRT trunk compiles and works on the
WZR-HP-G300NH just fine. I did have to use serial to recover a
faulty flash, but that was fairly easy since I already have that setup.
The trick will be trying to get Gargoyle compiled with trunk now.
Re: Anybody built gargoyle on OpenWrt trunk recently?
Posted: Sun Aug 07, 2011 12:22 am
by markc
@DoesItMatter: can you spare a few keystrokes as to exactly how you've built from Git?
I suspect I might be missing something simple and obvious to others.
Re: Anybody built gargoyle on OpenWrt trunk recently?
Posted: Mon Aug 08, 2011 1:36 am
by DoesItMatter
markc,
I've been using the SVN and building from that.
Just to try, I did a git clone and ran - make ar71xx
I see some errors reported about patches or directories not existing
I'm letting the make run and see if it will generate valid images.
Environment:
Ubuntu 10.10 - all patched up to latest
Build environment per Developer Documentation page.
Re: Anybody built gargoyle on OpenWrt trunk recently?
Posted: Mon Aug 08, 2011 2:01 pm
by frederikv
It would appear it's not without challenges to build gargoyle on trunk. I managed to get it built with a few patches on r27832, but now it can't install for missing iptables-mod dependencies. Seems like iptables-mod-imq, -bandwidth, -timerange etc aren't being compiled anymore - they're missing from the iptables Makefile. I'm guessing I'll have a few more missing dependencies if & when I manage to satisfy these.
Did you get everything sorted out in the mean time?
Re: Anybody built gargoyle on OpenWrt trunk recently?
Posted: Tue Aug 09, 2011 2:35 am
by markc
I've been using the SVN and building from that.
Doh, of course, I should have twigged with the "trunk" reference instead of "master". I haven't used subversion for years and didn't even have it installed until I realized it was mandatory for OpenWRT.
If anyone has a Github account I'd love to get or provide pull requests to get Erics master branch to build. I'm keen to start a Github specific thread and provide some pull requests to Eric (as anyone can) as soon as I manage to get something to successfully build and install.
Re: Anybody built gargoyle on OpenWrt trunk recently?
Posted: Sat Feb 11, 2012 8:24 pm
by Statik
I realize that I'm resurrecting an older thread here, but I'm wondering if there was any success with this finally.
I'm asking because I have one of the newer WZR-HP-G300NH routers with the incompatible realtek switches that won't run backfire, but will run trunk. I really want Gargoyle on this and I've got very little experience with building packages.
Is there a working gargoyle, preferably 1.4 branch, built on OpenWRT trunk? I'm looking to get this router working!
Thanks!
Statik
Re: Anybody built gargoyle on OpenWrt trunk recently?
Posted: Tue Feb 28, 2012 7:26 pm
by lepa71
I was wondering same thing. I have dir-615E3 with 1.5.3 working, but led's are not. There is a trunk on OpenWRT with led working.
Re: Anybody built gargoyle on OpenWrt trunk recently?
Posted: Tue Feb 28, 2012 7:36 pm
by Statik
Since I posted that message I managed to fix the source for backfire and build myself a working 1.5.x. Not all of my LEDs are working, but I wasn't worried about it as the router is stuck in a closet and isn't a visual centerpiece.

I'd suggest you look into what makes the LEDs work in trunk and modify the sources for 1.5.x and compile yourself a working 1.5.x. I learned a great deal through the process.
Statik