Page 2 of 3
Re: built gargoyle from trunk
Posted: Sat Sep 01, 2012 11:38 am
by ericwong
Eric wrote:Thanks for posting your work on this.
Looks like Attitude Adjustment (OpenWrt 12.08) will branch from trunk in the very near future :
https://lists.openwrt.org/pipermail/ope ... 16411.html
I plan to start work on support for current trunk (which will become the new attitude adjustment branch) in preparation for this very soon.
I would like to volunteer to test the ROM.
I currently one unit of rt305x-wr512-3gn router which is supported in the OpenWRT trunk. My routers will not get bricked because I can recover the router using serial connection.
I actually want to run gargoyle on this router to use at my home here but I don't know how to compile gargoyle to run on trunk. (I am not a coder/developer).
However, I am able to build rt305x from Openwrt Trunk to run on this router but I have no clue how to build it for gargoyle... Therefore, I would like to help where I can..
Btw, I see Attitude Adjustment (OpenWrt 12.09) is currently available
http://downloads.openwrt.org/attitude_a ... 2.09-beta/
Thanks
Re: built gargoyle from trunk
Posted: Sun Sep 02, 2012 4:09 am
by unevox
yes is the beta attitude adjustment i see kernel version 3.3.7
kernel version on trunk 3.3.6, Eric you will support this new branch, im beta tester And I can also build from my computer if necessary.
best regards!!!
Re: built gargoyle from trunk
Posted: Sun Sep 02, 2012 10:55 am
by ericwong
chule wrote:yes is the beta attitude adjustment i see kernel version 3.3.7
kernel version on trunk 3.3.6, Eric you will support this new branch, im beta tester And I can also build from my computer if necessary.
best regards!!!
In the source, I can see this
09/02/2012 12:31 am Eric Bishop
Merge branch 'attitude_adjustment' of gargoyle-router.com:gargoyle into attitude_adjustment
I wonder if this is already working or not.... I am trying to build it now

Re: built gargoyle from trunk
Posted: Sun Sep 02, 2012 10:31 pm
by ericwong
ericwong wrote:
In the source, I can see this
09/02/2012 12:31 am Eric Bishop
Merge branch 'attitude_adjustment' of gargoyle-router.com:gargoyle into attitude_adjustment
I wonder if this is already working or not.... I am trying to build it now

Seems like this branch cannot be build yet..
Build against brcm47xx using the included brcm47xx backfire profile
Code: Select all
make[6]: Leaving directory `/home/openwrt/openwrt/gargoyle-beta/brcm47xx-src/build_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/gcc-4.3.3-minimal/gcc'
Checking multilib configuration for libgcc...
mkdir -p -- mipsel-openwrt-linux-uclibc/libgcc
Configuring in mipsel-openwrt-linux-uclibc/libgcc
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking build system type... i686-pc-linux-gnu
checking host system type... mipsel-openwrt-linux-uclibc
checking for mipsel-openwrt-linux-uclibc-ar... /home/openwrt/openwrt/gargoyle-beta/brcm47xx-src/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/mipsel-openwrt-linux-uclibc/bin/ar
checking for mipsel-openwrt-linux-uclibc-lipo... mipsel-openwrt-linux-uclibc-lipo
checking for mipsel-openwrt-linux-uclibc-nm... /home/openwrt/openwrt/gargoyle-beta/brcm47xx-src/build_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/gcc-4.3.3-minimal/./gcc/nm
checking for mipsel-openwrt-linux-uclibc-ranlib... /home/openwrt/openwrt/gargoyle-beta/brcm47xx-src/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/mipsel-openwrt-linux-uclibc/bin/ranlib
checking for mipsel-openwrt-linux-uclibc-strip... /home/openwrt/openwrt/gargoyle-beta/brcm47xx-src/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/mipsel-openwrt-linux-uclibc/bin/strip
checking whether ln -s works... yes
checking for mipsel-openwrt-linux-uclibc-gcc... /home/openwrt/openwrt/gargoyle-beta/brcm47xx-src/build_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/gcc-4.3.3-minimal/./gcc/xgcc -B/home/openwrt/openwrt/gargoyle-beta/brcm47xx-src/build_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/gcc-4.3.3-minimal/./gcc/ -B/home/openwrt/openwrt/gargoyle-beta/brcm47xx-src/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/mipsel-openwrt-linux-uclibc/bin/ -B/home/openwrt/openwrt/gargoyle-beta/brcm47xx-src/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/mipsel-openwrt-linux-uclibc/lib/ -isystem /home/openwrt/openwrt/gargoyle-beta/brcm47xx-src/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/mipsel-openwrt-linux-uclibc/include -isystem /home/openwrt/openwrt/gargoyle-beta/brcm47xx-src/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/mipsel-openwrt-linux-uclibc/sys-include
checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[5]: *** [configure-target-libgcc] Error 1
make[5]: Leaving directory `/home/openwrt/openwrt/gargoyle-beta/brcm47xx-src/build_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/gcc-4.3.3-minimal'
make[4]: *** [/home/openwrt/openwrt/gargoyle-beta/brcm47xx-src/build_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/gcc-4.3.3-minimal/.built] Error 2
make[4]: Leaving directory `/home/openwrt/openwrt/gargoyle-beta/brcm47xx-src/toolchain/gcc/minimal'
make[3]: *** [toolchain/gcc/minimal/compile] Error 2
make[3]: Leaving directory `/home/openwrt/openwrt/gargoyle-beta/brcm47xx-src'
make[2]: *** [/home/openwrt/openwrt/gargoyle-beta/brcm47xx-src/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/stamp/.toolchain_install] Error 2
make[2]: Leaving directory `/home/openwrt/openwrt/gargoyle-beta/brcm47xx-src'
make[1]: *** [world] Error 2
make[1]: Leaving directory `/home/openwrt/openwrt/gargoyle-beta/brcm47xx-src'
make: *** [brcm47xx] Error 2
Build against rt305x, using custom profile
Code: Select all
/home/openwrt/openwrt/gargoyle-beta/custom-src/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/initial/bin/../lib/gcc/mips-openwrt-linux-uclibc/4.6.3/../../../../mips-openwrt-linux-uclibc/bin/ld: failed to merge target specific data of file ldso/ldso/ld-uClibc_so.a(resolve.oS)
ldso/ldso/ld-uClibc_so.a(ldso.oS): In function `_start':
ldso.c:(.text+0x1c): undefined reference to `_DYNAMIC'
make[5]: *** [lib/ld-uClibc.so] Error 1
make[5]: Leaving directory `/home/openwrt/openwrt/gargoyle-beta/custom-src/build_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/uClibc-0.9.33.2'
make[4]: *** [/home/openwrt/openwrt/gargoyle-beta/custom-src/build_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/uClibc-0.9.33.2/.built] Error 2
make[4]: Leaving directory `/home/openwrt/openwrt/gargoyle-beta/custom-src/toolchain/uClibc'
make[3]: *** [toolchain/uClibc/compile] Error 2
make[3]: Leaving directory `/home/openwrt/openwrt/gargoyle-beta/custom-src'
make[2]: *** [/home/openwrt/openwrt/gargoyle-beta/custom-src/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/stamp/.toolchain_install] Error 2
make[2]: Leaving directory `/home/openwrt/openwrt/gargoyle-beta/custom-src'
make[1]: *** [world] Error 2
make[1]: Leaving directory `/home/openwrt/openwrt/gargoyle-beta/custom-src'
ls: cannot access bin: No such file or directory
ls: cannot access bin: No such file or directory
Did I do something wrong or the new branch simply cannot build yet..
Re: built gargoyle from trunk
Posted: Sun Sep 02, 2012 10:56 pm
by unevox
ericwong where'd you get those sources
or are compiling the trunk?
Re: built gargoyle from trunk
Posted: Sun Sep 02, 2012 11:07 pm
by ericwong
chule wrote:ericwong where'd you get those sources
or are compiling the trunk?
I get it directly from gargoyle using git as documented on
http://www.gargoyle-router.com/wiki/dok ... umentation
See this link to see sources via browser
http://www.gargoyle-router.com/gargoyle ... adjustment
I use this to change the branch to attitude_adjustment
After code change use
and it will download all the Openwrt trunk sources
If you are going to try building it, please report back if you are able to build successfully... maybe post your build profile or if there are any fixed needed to make it work.
Thanks
Re: built gargoyle from trunk
Posted: Mon Sep 03, 2012 12:09 am
by ericwong
Well, since I see only custom profile is recently updated in the source.
I tried to make custom again, this time without my own modifications...
I use command
Then, select rt305x to build
(I am after rt305x gargoyle build..., that's why..)
This is the error I get... I wonder how to fix this..
Code: Select all
make[1]: Entering directory `/home/openwrt/openwrt/beta-original/custom-src'
make[2]: Entering directory `/home/openwrt/openwrt/beta-original/custom-src'
make[3]: Entering directory `/home/openwrt/openwrt/beta-original/custom-src/target/linux'
make[4]: Entering directory `/home/openwrt/openwrt/beta-original/custom-src/target/linux/ramips'
/home/openwrt/openwrt/beta-original/custom-src/scripts/kconfig.pl + + /home/openwrt/openwrt/beta-original/custom-src/target/linux/generic/config-3.3 /home/openwrt/openwrt/beta-original/custom-src/target/linux/ramips/config-3.3 /home/openwrt/openwrt/beta-original/custom-src/target/linux/ramips/rt305x/config-3.3 > /home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/.config.target
awk '/^(#[[:space:]]+)?CONFIG_KERNEL/{sub("CONFIG_KERNEL_","CONFIG_");print}' /home/openwrt/openwrt/beta-original/custom-src/.config >> /home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/.config.target
echo "# CONFIG_KALLSYMS_EXTRA_PASS is not set" >> /home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/.config.target
echo "# CONFIG_KALLSYMS_ALL is not set" >> /home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/.config.target
echo "# CONFIG_KPROBES is not set" >> /home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/.config.target
/home/openwrt/openwrt/beta-original/custom-src/scripts/metadata.pl kconfig /home/openwrt/openwrt/beta-original/custom-src/tmp/.packageinfo /home/openwrt/openwrt/beta-original/custom-src/.config > /home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/.config.override
/home/openwrt/openwrt/beta-original/custom-src/scripts/kconfig.pl 'm+' '+' /home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/.config.target /dev/null /home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/.config.override > /home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/.config
mv /home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/.config /home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/.config.old
grep -v INITRAMFS /home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/.config.old > /home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/.config
echo 'CONFIG_INITRAMFS_SOURCE=""' >> /home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/.config
export MAKEFLAGS= ;make -C /home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8 HOSTCFLAGS="-O2 -I/home/openwrt/openwrt/beta-original/custom-src/staging_dir/host/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="mipsel-openwrt-linux-uclibc-" ARCH="mips" KBUILD_HAVE_NLS=no CONFIG_SHELL="/bin/bash" V='' CC="mipsel-openwrt-linux-uclibc-gcc" oldconfig prepare scripts
make[5]: Entering directory `/home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8'
scripts/kconfig/conf --oldconfig Kconfig
.config:348:warning: symbol value 'm' invalid for BRIDGE_NETFILTER
*
* Restart config...
*
*
* Network packet filtering framework (Netfilter)
*
Network packet filtering framework (Netfilter) (NETFILTER) [Y/n/?] y
Network packet filtering debugging (NETFILTER_DEBUG) [N/y/?] n
Advanced netfilter configuration (NETFILTER_ADVANCED) [Y/n/?] y
Bridged IP/ARP packets filtering (BRIDGE_NETFILTER) [Y/n/?] (NEW)
CONFIG_BRIDGE_NETFILTER:
Enabling this option will let arptables resp. iptables see bridged
ARP resp. IP traffic. If you want a bridging firewall, you probably
want this option enabled.
Enabling or disabling this option doesn't enable or disable
ebtables.
If unsure, say N.
Symbol: BRIDGE_NETFILTER [=y]
Type : boolean
Prompt: Bridged IP/ARP packets filtering
Defined at net/Kconfig:178
Depends on: NET [=y] && BRIDGE [=y] && NETFILTER [=y] && INET [=y] && NETFILTER_ADVANCED [=y]
Location:
-> Networking support (NET [=y])
-> Networking options
-> Network packet filtering framework (Netfilter) (NETFILTER [=y])
-> Advanced netfilter configuration (NETFILTER_ADVANCED [=y])
Bridged IP/ARP packets filtering (BRIDGE_NETFILTER) [Y/n/?] (NEW) *
* Core Netfilter Configuration
*
Netfilter NFNETLINK interface (NETFILTER_NETLINK) [N/m/y] n
Netfilter NFACCT over NFNETLINK interface (NETFILTER_NETLINK_ACCT) [N/m/y/?] n
Netfilter NFQUEUE over NFNETLINK interface (NETFILTER_NETLINK_QUEUE) [N/m/y/?] n
Netfilter LOG over NFNETLINK interface (NETFILTER_NETLINK_LOG) [N/m/y/?] n
Netfilter connection tracking support (NF_CONNTRACK) [M/n/y/?] m
Connection mark tracking support (NF_CONNTRACK_MARK) [N/y/?] n
Connection tracking zones (NF_CONNTRACK_ZONES) [N/y/?] n
Supply CT list in procfs (OBSOLETE) (NF_CONNTRACK_PROCFS) [Y/n/?] y
Connection tracking events (NF_CONNTRACK_EVENTS) [N/y/?] n
Connection tracking timestamping (NF_CONNTRACK_TIMESTAMP) [N/y/?] n
DCCP protocol connection tracking support (EXPERIMENTAL) (NF_CT_PROTO_DCCP) [N/m/?] n
SCTP protocol connection tracking support (EXPERIMENTAL) (NF_CT_PROTO_SCTP) [N/m/?] n
UDP-Lite protocol connection tracking support (NF_CT_PROTO_UDPLITE) [N/m/?] n
Amanda backup protocol support (NF_CONNTRACK_AMANDA) [N/m/?] n
FTP protocol support (NF_CONNTRACK_FTP) [M/n/?] m
H.323 protocol support (NF_CONNTRACK_H323) [N/m/?] n
IRC protocol support (NF_CONNTRACK_IRC) [M/n/?] m
NetBIOS name service protocol support (NF_CONNTRACK_NETBIOS_NS) [N/m/?] n
SNMP service protocol support (NF_CONNTRACK_SNMP) [N/m/?] n
PPtP protocol support (NF_CONNTRACK_PPTP) [N/m/?] n
SANE protocol support (EXPERIMENTAL) (NF_CONNTRACK_SANE) [N/m/?] n
SIP protocol support (NF_CONNTRACK_SIP) [N/m/?] n
TFTP protocol support (NF_CONNTRACK_TFTP) [N/m/?] n
Connection tracking netlink interface (NF_CT_NETLINK) [N/m/?] n
Transparent proxying support (EXPERIMENTAL) (NETFILTER_TPROXY) [N/m/?] n
Netfilter Xtables support (required for ip_tables) (NETFILTER_XTABLES) [M/y/?] m
*
* Xtables combined modules
*
nfmark target and match support (NETFILTER_XT_MARK) [N/m/?] n
ctmark target and match support (NETFILTER_XT_CONNMARK) [N/m/?] n
*
* Xtables targets
*
CHECKSUM target support (NETFILTER_XT_TARGET_CHECKSUM) [N/m/?] n
"CLASSIFY" target support (NETFILTER_XT_TARGET_CLASSIFY) [N/m/?] n
"CONNMARK" target support (NETFILTER_XT_TARGET_CONNMARK) [N/m/?] n
"CT" target support (NETFILTER_XT_TARGET_CT) [M/n/?] m
"DSCP" and "TOS" target support (NETFILTER_XT_TARGET_DSCP) [N/m/?] n
"HL" hoplimit target support (NETFILTER_XT_TARGET_HL) [N/m/?] n
IDLETIMER target support (NETFILTER_XT_TARGET_IDLETIMER) [N/m/?] n
"LED" target support (NETFILTER_XT_TARGET_LED) [N/m/?] n
"IMQ" target support (NETFILTER_XT_TARGET_IMQ) [N/m/?] n
"MARK" target support (NETFILTER_XT_TARGET_MARK) [N/m/?] n
"NFLOG" target support (NETFILTER_XT_TARGET_NFLOG) [N/m/?] n
"NFQUEUE" target Support (NETFILTER_XT_TARGET_NFQUEUE) [N/m/?] n
"NOTRACK" target support (NETFILTER_XT_TARGET_NOTRACK) [M/n/?] m
"RATEEST" target support (NETFILTER_XT_TARGET_RATEEST) [N/m/?] n
"TEE" - packet cloning to alternate destination (NETFILTER_XT_TARGET_TEE) [N/m/?] n
"TRACE" target support (NETFILTER_XT_TARGET_TRACE) [N/m/?] n
"TCPMSS" target support (NETFILTER_XT_TARGET_TCPMSS) [M/n/?] m
"TCPOPTSTRIP" target support (EXPERIMENTAL) (NETFILTER_XT_TARGET_TCPOPTSTRIP) [N/m/?] n
*
* Xtables matches
*
"addrtype" address type match support (NETFILTER_XT_MATCH_ADDRTYPE) [N/m/?] n
"cluster" match support (NETFILTER_XT_MATCH_CLUSTER) [N/m/?] n
"comment" match support (NETFILTER_XT_MATCH_COMMENT) [M/n/?] m
"connbytes" per-connection counter match support (NETFILTER_XT_MATCH_CONNBYTES) [N/m/?] n
"connlimit" match support" (NETFILTER_XT_MATCH_CONNLIMIT) [N/m/?] n
"connmark" connection mark match support (NETFILTER_XT_MATCH_CONNMARK) [N/m/?] n
"conntrack" connection tracking match support (NETFILTER_XT_MATCH_CONNTRACK) [M/n/?] m
"cpu" match support (NETFILTER_XT_MATCH_CPU) [N/m/?] n
"dccp" protocol match support (NETFILTER_XT_MATCH_DCCP) [N/m/?] n
"devgroup" match support (NETFILTER_XT_MATCH_DEVGROUP) [N/m/?] n
"dscp" and "tos" match support (NETFILTER_XT_MATCH_DSCP) [N/m/?] n
"ecn" match support (NETFILTER_XT_MATCH_ECN) [N/m/?] n
"esp" match support (NETFILTER_XT_MATCH_ESP) [N/m/?] n
"hashlimit" match support (NETFILTER_XT_MATCH_HASHLIMIT) [N/m/?] n
"helper" match support (NETFILTER_XT_MATCH_HELPER) [N/m/?] n
"hl" hoplimit/TTL match support (NETFILTER_XT_MATCH_HL) [N/m/?] n
"iprange" address range match support (NETFILTER_XT_MATCH_IPRANGE) [N/m/?] n
"layer7" match support (NETFILTER_XT_MATCH_LAYER7) [N/m/?] n
"length" match support (NETFILTER_XT_MATCH_LENGTH) [N/m/?] n
"limit" match support (NETFILTER_XT_MATCH_LIMIT) [M/n/?] m
"mac" address match support (NETFILTER_XT_MATCH_MAC) [M/n/?] m
"mark" match support (NETFILTER_XT_MATCH_MARK) [N/m/?] n
"multiport" Multiple port match support (NETFILTER_XT_MATCH_MULTIPORT) [M/n/?] m
"nfacct" match support (NETFILTER_XT_MATCH_NFACCT) [N/m/?] n
"owner" match support (NETFILTER_XT_MATCH_OWNER) [N/m/?] n
"pkttype" packet type match support (NETFILTER_XT_MATCH_PKTTYPE) [N/m/?] n
"quota" match support (NETFILTER_XT_MATCH_QUOTA) [N/m/?] n
"rateest" match support (NETFILTER_XT_MATCH_RATEEST) [N/m/?] n
"realm" match support (NETFILTER_XT_MATCH_REALM) [N/m/?] n
"recent" match support (NETFILTER_XT_MATCH_RECENT) [N/m/?] n
"sctp" protocol match support (EXPERIMENTAL) (NETFILTER_XT_MATCH_SCTP) [N/m/?] n
"state" match support (NETFILTER_XT_MATCH_STATE) [M/n/?] m
"statistic" match support (NETFILTER_XT_MATCH_STATISTIC) [N/m/?] n
"string" match support (NETFILTER_XT_MATCH_STRING) [N/m/?] n
"tcpmss" match support (NETFILTER_XT_MATCH_TCPMSS) [N/m/?] n
"time" match support (NETFILTER_XT_MATCH_TIME) [N/m/?] n
"u32" match support (NETFILTER_XT_MATCH_U32) [N/m/?] n
*
* IP virtual server support
*
IP virtual server support (IP_VS) [N/m/?] n
*
* IP: Netfilter Configuration
*
IPv4 connection tracking support (required for NAT) (NF_CONNTRACK_IPV4) [M/n/?] m
proc/sysctl compatibility with old connection tracking (NF_CONNTRACK_PROC_COMPAT) [N/y/?] n
IP Userspace queueing via NETLINK (OBSOLETE) (IP_NF_QUEUE) [N/m/y/?] n
IP tables support (required for filtering/masq/NAT) (IP_NF_IPTABLES) [M/n/y/?] m
"ah" match support (IP_NF_MATCH_AH) [N/m/?] n
"ecn" match support (IP_NF_MATCH_ECN) [N/m/?] n
"rpfilter" reverse path filter match support (IP_NF_MATCH_RPFILTER) [N/m/?] n
"ttl" match support (IP_NF_MATCH_TTL) [N/m/?] n
Packet filtering (IP_NF_FILTER) [M/n/?] m
REJECT target support (IP_NF_TARGET_REJECT) [M/n/?] m
LOG target support (IP_NF_TARGET_LOG) [M/n/?] m
ULOG target support (IP_NF_TARGET_ULOG) [N/m/?] n
Full NAT (NF_NAT) [M/n/?] m
MASQUERADE target support (IP_NF_TARGET_MASQUERADE) [M/n/?] m
NETMAP target support (IP_NF_TARGET_NETMAP) [N/m/?] n
REDIRECT target support (IP_NF_TARGET_REDIRECT) [N/m/?] n
Packet mangling (IP_NF_MANGLE) [M/n/?] m
CLUSTERIP target support (EXPERIMENTAL) (IP_NF_TARGET_CLUSTERIP) [N/m/?] n
ECN target support (IP_NF_TARGET_ECN) [N/m/?] n
"TTL" target support (IP_NF_TARGET_TTL) [N/m/?] n
raw table support (required for NOTRACK/TRACE) (IP_NF_RAW) [M/n/?] m
ARP tables support (IP_NF_ARPTABLES) [N/m/y/?] n
weburl match support (IP_NF_MATCH_WEBURL) [M/n/?] m
webmon match support (IP_NF_MATCH_WEBMON) [M/n/?] m
timerange match support (IP_NF_MATCH_TIMERANGE) [M/n/?] m
bandwidth match support (IP_NF_MATCH_BANDWIDTH) [M/n/?] m
*
* Ethernet Bridge tables (ebtables) support
*
Ethernet Bridge tables (ebtables) support (BRIDGE_NF_EBTABLES) [M/n/y/?] m
ebt: broute table support (BRIDGE_EBT_BROUTE) [M/n/?] m
ebt: filter table support (BRIDGE_EBT_T_FILTER) [M/n/?] m
ebt: nat table support (BRIDGE_EBT_T_NAT) [M/n/?] m
ebt: 802.3 filter support (BRIDGE_EBT_802_3) [N/m/?] n
ebt: among filter support (BRIDGE_EBT_AMONG) [N/m/?] n
ebt: ARP filter support (BRIDGE_EBT_ARP) [M/n/?] m
ebt: IP filter support (BRIDGE_EBT_IP) [M/n/?] m
ebt: limit match support (BRIDGE_EBT_LIMIT) [M/n/?] m
ebt: mark filter support (BRIDGE_EBT_MARK) [M/n/?] m
ebt: packet type filter support (BRIDGE_EBT_PKTTYPE) [M/n/?] m
ebt: STP filter support (BRIDGE_EBT_STP) [M/n/?] m
ebt: 802.1Q VLAN filter support (BRIDGE_EBT_VLAN) [M/n/?] m
ebt: arp reply target support (BRIDGE_EBT_ARPREPLY) [M/n/?] m
ebt: dnat target support (BRIDGE_EBT_DNAT) [M/n/?] m
ebt: mark target support (BRIDGE_EBT_MARK_T) [M/n/?] m
ebt: redirect target support (BRIDGE_EBT_REDIRECT) [M/n/?] m
ebt: snat target support (BRIDGE_EBT_SNAT) [M/n/?] m
ebt: arpnat target support (BRIDGE_EBT_ARPNAT) [M/n/?] m
ebt: log support (BRIDGE_EBT_LOG) [M/n/?] m
ebt: ulog support (OBSOLETE) (BRIDGE_EBT_ULOG) [M/n/?] m
ebt: nflog support (BRIDGE_EBT_NFLOG) [M/n/?] m
#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
make[5]: Leaving directory `/home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8'
rm -rf /home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/modules
make -C /home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8 HOSTCFLAGS="-O2 -I/home/openwrt/openwrt/beta-original/custom-src/staging_dir/host/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="mipsel-openwrt-linux-uclibc-" ARCH="mips" KBUILD_HAVE_NLS=no CONFIG_SHELL="/bin/bash" V='' CC="mipsel-openwrt-linux-uclibc-gcc" INSTALL_HDR_PATH=/home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/user_headers headers_install
make[5]: Entering directory `/home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8'
CHK include/linux/version.h
make[5]: Leaving directory `/home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8'
. /home/openwrt/openwrt/beta-original/custom-src/include/shell.sh; grep '=[ym]' /home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/.config | LC_ALL=C sort | md5s > /home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/.vermagic
touch /home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/.configured
rm -f /home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/vmlinux /home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/System.map
make -C /home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8 HOSTCFLAGS="-O2 -I/home/openwrt/openwrt/beta-original/custom-src/staging_dir/host/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="mipsel-openwrt-linux-uclibc-" ARCH="mips" KBUILD_HAVE_NLS=no CONFIG_SHELL="/bin/bash" V='' CC="mipsel-openwrt-linux-uclibc-gcc" modules
make[5]: Entering directory `/home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8'
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CC [M] net/bridge/netfilter/ebtables.o
net/bridge/netfilter/ebtables.c: In function 'ebtables_init':
net/bridge/netfilter/ebtables.c:2406:2: error: 'brnf_call_ebtables' undeclared (first use in this function)
net/bridge/netfilter/ebtables.c:2406:2: note: each undeclared identifier is reported only once for each function it appears in
net/bridge/netfilter/ebtables.c: In function 'ebtables_fini':
net/bridge/netfilter/ebtables.c:2412:2: error: 'brnf_call_ebtables' undeclared (first use in this function)
make[8]: *** [net/bridge/netfilter/ebtables.o] Error 1
make[7]: *** [net/bridge/netfilter] Error 2
make[6]: *** [net/bridge] Error 2
make[5]: *** [net] Error 2
make[5]: Leaving directory `/home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8'
make[4]: *** [/home/openwrt/openwrt/beta-original/custom-src/build_dir/linux-ramips_rt305x/linux-3.3.8/.modules] Error 2
make[4]: Leaving directory `/home/openwrt/openwrt/beta-original/custom-src/target/linux/ramips'
make[3]: *** [compile] Error 2
make[3]: Leaving directory `/home/openwrt/openwrt/beta-original/custom-src/target/linux'
make[2]: *** [target/linux/compile] Error 2
make[2]: Leaving directory `/home/openwrt/openwrt/beta-original/custom-src'
make[1]: *** [/home/openwrt/openwrt/beta-original/custom-src/staging_dir/target-mipsel_r2_uClibc-0.9.33.2/stamp/.target_compile] Error 2
make[1]: Leaving directory `/home/openwrt/openwrt/beta-original/custom-src'
make: *** [world] Error 2
Re: built gargoyle from trunk
Posted: Mon Sep 03, 2012 2:14 am
by unevox
i custom built work fine on MR3020, supported NOW

Thankyou Eric Bishop And Eric wong for the information.
i compilled in 3 steps
1. get sources from git
2. permission to change working directory (remember that when you're building need not be root)
Code: Select all
chown -R no_root_user:pass /working directory/
3. in terminal loged no_root_user type
Re: built gargoyle from trunk
Posted: Mon Sep 03, 2012 4:43 am
by ericwong
unevox wrote:i custom built work fine on MR3020, supported NOW
Thanks for the confirmation.
Maybe you should post your build, so another person try it too..
unevox wrote:
i compilled in 3 steps
1. get sources from git
2. permission to change working directory (remember that when you're building need not be root)
Code: Select all
chown -R no_root_user:pass /working directory/
3. in terminal loged no_root_user type
May I know what you did after step 3?
Did you simply select your specific router, exit and start building?
Did you need to do anything else?
I had just finished re-running (again) the build and I am 100% sure if I simply execute "make custom" -> select RT305x, exit and save. I will have the uClibc error I have above..
If I do make custom and then let gargoyle setup the environment and exit, i.e. terminate the terminal after the menuconfig comes out. Then, manually replaced the .config files and build under openwrt with my custom configurations. The build can complete building and can be flashed successfully to device.. (The only problem then is simply my custom device configurations having some issues preventing it from running properly.. as I have the same error when I build using Openwrt Trunk.)
Re: built gargoyle from trunk
Posted: Mon Sep 03, 2012 8:31 am
by Eric
A couple of notes for people playing with the new attitude adjustment branch:
(1) When you build, you MUST build with "make custom", for now. The only config file that's been updated for compatibility with attitude adjustment is the one for the custom target. If you try to build of of the predefined targets you will get errors, as these are the same old backfire configs from before.
(2) The default custom config file is configured for the ar71xx architecture -- this is where I'm doing my initial debugging. If you want to try to build for a different architecture, you can do that... but you will need to completely reselect all the necessary packages (e.g. Gargoyle, in the administration section). When you switch the cpu architecture in the openwrt config, all the packages you had selected initially get cleared (which is kind of annoying).
(3) I have a lot of the basic functionality working now, but this branch is not yet fully functional! There are going to be quirks/bugs/problems. Please do report the bugs in this thread (this would actually be quite helpful), but do realize that if you want to help test that this is not in a state ready for release just yet! No guarantees!