In simple ive been trying to compile tomatoUSB from a snapshot I downloaded from the GIT repo, but I am unable to get it to compile. What do I need to do to compile a build that works? :S
providing info such as os you're using, tomato version you're trying to build and the error you're getting would greatly increase your chances for an answer.
you'll need bison, flex, build-essentials, gcc and probably libncurses-dev installed (i'm not sure if those are exact names of packages)
unpack tomato sources somewhere and follow instructions in README (you'll have to copy/link toolchain to /opt/brcm and add it to PATH)
go to tomatosrcdir/release/src if you want to build kernel 2.4 or tomatosrc/release/src-rt (kernel 2.6) and type: make help
Thank you VERY Much, Il try it, and post back. :)
EDIT: Ok, tried all the above, but when I run make, I get the following:
ddggttff3@localhost:~/Desktop/tomato/release/src$ make -s grep: tomato_profile.mak: No such file or directory grep: tomato_profile.mak: No such file or directory Version: 1.28.0000 ND (Fri, 20 Aug 2010 08:12:31 -0500) ddggttff3@localhost:~/Desktop/tomato/release/src$
You can follow this guide
OK, well I was able to compile a k2.4 build from a snapshot, but im unable to compile K2.6 :S Somthing about a file called tomato_version.h is missing, and the file communication.h needs it, then it fails on me. il post exactly what it says when I get back to my linux box.
I'm quite confused why there are:
1. "release/src-rt" in K24-related git branch
2. "release/src" and "tools/bcrm/K24" toolchain in K26-related git branch
Are they just some leftovers?
OK, im trying to compile k2.6 using these commands…
make v1=1337 r2e
and it starts and runs awhile, but fails with this…
mipsel-uclibc-gcc -Os -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32 -DCONFIG_NVRAM_SIZE=0 -Wall -Wunused -fPIC -DPROGVERSION=\"2.0.9-2\" -DPROGNAME=\"ebtables\" -DPROGDATE=\"June\ 2009\" -D_PATH_ETHERTYPES=\"/etc/ethertypes\" -DEBTD_ARGC_MAX=50 -DEBTD_CMDLINE_MAXLN=2048 -c -o communication.o communication.c -Iinclude/ In file included from communication.c:23: include/ebtables_u.h:28:38: error: linux/netfilter/x_tables.h: No such file or directory make: *** [communication.o] Error 1 make: Leaving directory `/home/ddggttff3/tomato/release/src/router/ebtables' make: *** [ebtables] Error 2 make: Leaving directory `/home/ddggttff3/tomato/release/src/router' make: *** [all] Error 2 make: Leaving directory `/home/ddggttff3/tomato/release/src-rt' make: *** [bin] Error 2 make: Leaving directory `/home/ddggttff3/tomato/release/src-rt' make: *** [e] Error 2 make: Leaving directory `/home/ddggttff3/tomato/release/src-rt' make: *** [r2e] Error 2 root@localhost:/home/ddggttff3/tomato/release/src-rt#
Any help with this? id really like to be able to build firmwares for my RT-N16. Mabie its because I compile from the k2.6 snapshot? but last time I tried the git thing, as in the link above, it failed during downloading with a error. Il redo that again and post the error.
Heres the error I get…
warning: remote HEAD refers to nonexistent ref, unable to checkout.