Topic: cannot build toolchain

Hello, i cannot build the toolchain (gcc) from svn branch.

make -C toolchain install
make[1]: Entering directory `/home/richie/new/whiterussian/openwrt/toolchain'
make[2]: Entering directory `/home/richie/new/whiterussian/openwrt/toolchain/gcc'
PATH=/home/richie/new/whiterussian/openwrt/staging_dir_mipsel/usr/bin:/home/richie/new/whiterussian/openwrt/staging_dir_mipsel/bin:/bin:/sbin:/usr/bin:/usr/sbin make -C /home/richie/new/whiterussian/openwrt/toolchain_build_mipsel/gcc-3.4.4-initial all-gcc
make[3]: Entering directory `/home/richie/new/whiterussian/openwrt/toolchain_build_mipsel/gcc-3.4.4-initial'
make[4]: Entering directory `/home/richie/new/whiterussian/openwrt/toolchain_build_mipsel/gcc-3.4.4-initial/libiberty'
make[5]: Entering directory `/home/richie/new/whiterussian/openwrt/toolchain_build_mipsel/gcc-3.4.4-initial/libiberty/testsuite'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/richie/new/whiterussian/openwrt/toolchain_build_mipsel/gcc-3.4.4-initial/libiberty/testsuite'
make[4]: Leaving directory `/home/richie/new/whiterussian/openwrt/toolchain_build_mipsel/gcc-3.4.4-initial/libiberty'
make[4]: Entering directory `/home/richie/new/whiterussian/openwrt/toolchain_build_mipsel/gcc-3.4.4-initial/intl'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/richie/new/whiterussian/openwrt/toolchain_build_mipsel/gcc-3.4.4-initial/intl'
make[4]: Entering directory `/home/richie/new/whiterussian/openwrt/toolchain_build_mipsel/gcc-3.4.4-initial/gcc'
gcc  -DUSE_UCLIBC -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H    -I. -I. -I/home/richie/new/whiterussian/openwrt/toolchain_build_mipsel/gcc-3.4.4/gcc -I/home/richie/new/whiterussian/openwrt/toolchain_build_mipsel/gcc-3.4.4/gcc/. -I/home/richie/new/whiterussian/openwrt/toolchain_build_mipsel/gcc-3.4.4/gcc/../include   \
    -DTARGET_MACHINE=\"mipsel-linux-uclibc\" \
    -c /home/richie/new/whiterussian/openwrt/toolchain_build_mipsel/gcc-3.4.4/gcc/collect2.c -o collect2.o
In function 'open',
    inlined from 'collect_execute' at /home/richie/new/whiterussian/openwrt/toolchain_build_mipsel/gcc-3.4.4/gcc/collect2.c:1537:
/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[4]: *** [collect2.o] Error 1
make[4]: Leaving directory `/home/richie/new/whiterussian/openwrt/toolchain_build_mipsel/gcc-3.4.4-initial/gcc'
make[3]: *** [all-gcc] Error 2
make[3]: Leaving directory `/home/richie/new/whiterussian/openwrt/toolchain_build_mipsel/gcc-3.4.4-initial'
make[2]: *** [/home/richie/new/whiterussian/openwrt/toolchain_build_mipsel/gcc-3.4.4-initial/.compiled] Error 2
make[2]: Leaving directory `/home/richie/new/whiterussian/openwrt/toolchain/gcc'
make[1]: *** [gcc-prepare] Error 2
make[1]: Leaving directory `/home/richie/new/whiterussian/openwrt/toolchain'
make: *** [toolchain/install] Error 2
root@richie-ubuntu:/home/richie/new/whiterussian/openwrt# 2
bash: 2: command not found
root@richie-ubuntu:/home/richie/new/whiterussian/openwrt# make[2]: Leaving directory `/home/richie/new/whiterussian/openwrt/toolchain/gcc'
> make[1]: *** [gcc-prepare] Error 2
> make[1]: Leaving directory `/home/richie/new/whiterussian/openwrt/toolchain'
> make: *** [toolchain/install] Error 2

Host is Ubuntu Linux 9.04. Any Ideas whats the problem. I have to build a patched kernel module, but whitout toolchain...

Re: cannot build toolchain

Try it again. I have found that the build process is flacky and inconsistent.

William Estrada
MrUmunhum@popdial.com
Mt-Umunhum-Wireless.net ( http://64.124.13.3 )
Ymessenger: MrUmunhum

Re: cannot build toolchain

Was this resolved?  I'm having trouble at the same spot.  The only difference is that instead of building WhiteRussian, I'm trying to build a kamikaze 7.09.

Thanks.

Re: cannot build toolchain

i've run into the same problem...found a work around?

5 (edited by neutronscott 2010-04-09 02:09:36)

Re: cannot build toolchain

cross compile toolchains are tough!

gcc-4 is apparently more standards compliant, where as 3.3 is not.
best solution is to get gcc-3.3 or 3.4 binary packages for your host, and then to compile gcc-3.3 as cross compiler using it. either edit Makefile so CC=gcc-3.3 or whatnot.

i have a gcc-3.3 uClibc binary tarball for x86 and also for powerpc that seemed pretty portable. prebuilt x86 cross compilers aren't usually too hard to scour out on the web, it's a powerpc built mipsel that's near impossible to find smile

i ran into this problem too and believe i added 0 as the third argument, and maybe it compiled, but the output ended up seg faulting, but i can't remember i've done so much crap lately hah.

i'd try keep with current software, and a current compiler, and things get way easier. smile

6 (edited by ColtB45 2010-06-09 17:54:55)

Re: cannot build toolchain

I'm having the same problem building the Netgear source (Kamikaze 7.09 based) for the Netgear WNR1000 v1 router. Can anyone else build this? I'm not sure if it is the source from netgear that is the problem or not.
Netgear WNR1000 v1 source

Error

colt@ubuntu:~/WNR1000-V1.0.1.15-GPL-src$ FIRMWARE_REGION="NA" fakeroot make V=99 FORCE=1
make[1]: Entering directory `/home/colt/WNR1000-V1.0.1.15-GPL-src'
3>/dev/null make -C tools install
make[2]: Entering directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/tools'
make install-targets
make[3]: Entering directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/tools'
make[3]: Leaving directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/tools'
make[2]: Leaving directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/tools'
make[1]: Leaving directory `/home/colt/WNR1000-V1.0.1.15-GPL-src'
make[1]: Entering directory `/home/colt/WNR1000-V1.0.1.15-GPL-src'
3>/dev/null make -C toolchain install
make[2]: Entering directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain'
make[3]: Entering directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain/gcc'
make -C /home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial all-gcc
make[4]: Entering directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial'
make[5]: Entering directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial/libiberty'
make[6]: Entering directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial/libiberty/testsuite'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial/libiberty/testsuite'
make[5]: Leaving directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial/libiberty'
make[5]: Entering directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial/intl'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial/intl'
make[5]: Entering directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial/gcc'
gcc  -DUSE_UCLIBC -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H    -I. -I. -I/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/gcc -I/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/gcc/. -I/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/gcc/../include   \
    -DTARGET_MACHINE=\"mips-linux-uclibc\" \
    -c /home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/gcc/collect2.c -o collect2.o
In file included from /usr/include/fcntl.h:205,
                 from /home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/gcc/system.h:214,
                 from /home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/gcc/collect2.c:30:
In function 'open',
    inlined from 'collect_execute' at /home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/gcc/collect2.c:1537:
/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[5]: *** [collect2.o] Error 1
make[5]: Leaving directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial/gcc'
make[4]: *** [all-gcc] Error 2
make[4]: Leaving directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial'
make[3]: *** [/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/.built] Error 2
make[3]: Leaving directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain/gcc'
make[2]: *** [gcc-compile] Error 2
make[2]: Leaving directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain'
make[1]: *** [toolchain/install] Error 2
make[1]: Leaving directory `/home/colt/WNR1000-V1.0.1.15-GPL-src'
make: *** [world] Error 2
colt@ubuntu:~/WNR1000-V1.0.1.15-GPL-src$ FIRMWARE_REGION="NA" fakeroot make V=99 FORCE=1
make[1]: Entering directory `/home/colt/WNR1000-V1.0.1.15-GPL-src'
3>/dev/null make -C tools install
make[2]: Entering directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/tools'
make install-targets
make[3]: Entering directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/tools'
make[3]: Leaving directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/tools'
make[2]: Leaving directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/tools'
make[1]: Leaving directory `/home/colt/WNR1000-V1.0.1.15-GPL-src'
make[1]: Entering directory `/home/colt/WNR1000-V1.0.1.15-GPL-src'
3>/dev/null make -C toolchain install
make[2]: Entering directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain'
make[3]: Entering directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain/gcc'
make -C /home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial all-gcc
make[4]: Entering directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial'
make[5]: Entering directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial/libiberty'
make[6]: Entering directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial/libiberty/testsuite'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial/libiberty/testsuite'
make[5]: Leaving directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial/libiberty'
make[5]: Entering directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial/intl'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial/intl'
make[5]: Entering directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial/gcc'
gcc  -DUSE_UCLIBC -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H    -I. -I. -I/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/gcc -I/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/gcc/. -I/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/gcc/../include   \
    -DTARGET_MACHINE=\"mips-linux-uclibc\" \
    -c /home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/gcc/collect2.c -o collect2.o
In file included from /usr/include/fcntl.h:205,
                 from /home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/gcc/system.h:214,
                 from /home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/gcc/collect2.c:30:
In function 'open',
    inlined from 'collect_execute' at /home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/gcc/collect2.c:1537:
/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[5]: *** [collect2.o] Error 1
make[5]: Leaving directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial/gcc'
make[4]: *** [all-gcc] Error 2
make[4]: Leaving directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial'
make[3]: *** [/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/.built] Error 2
make[3]: Leaving directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain/gcc'
make[2]: *** [gcc-compile] Error 2
make[2]: Leaving directory `/home/colt/WNR1000-V1.0.1.15-GPL-src/toolchain'
make[1]: *** [toolchain/install] Error 2
make[1]: Leaving directory `/home/colt/WNR1000-V1.0.1.15-GPL-src'
make: *** [world] Error 2
colt@ubuntu:~/WNR1000-V1.0.1.15-GPL-src$

Re: cannot build toolchain

This is easy to fix. Locate the offending open() call in the source and edit it to pass ", 0644" as third argument.
The file permission parameter for O_CREAT became mandatory at some point in the past but is missing in various sources.

Re: cannot build toolchain

Thanks!

Re: cannot build toolchain

Well, I ran into more issues. I am just going to try as the readme directs and use Ubuntu 8.10. I am installing it on a virtual machine right now.

Re: cannot build toolchain

Well, the recommendation by jow got it further along but now it's crashing.

colt@Ubuntu-8:~/Desktop/WNR1000-V1.0.1.15-GPL-src$ cp defconfig-ap81-router .config
colt@Ubuntu-8:~/Desktop/WNR1000-V1.0.1.15-GPL-src$ FIRMWARE_REGION="NA" fakeroot make V=99 FORCE=1
svn: '.' is not a working copy
svn: '.' is not a working copy
make[1]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src'
3>/dev/null make -C tools install
make[2]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/tools'
make install-targets
make[3]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/tools'
make[3]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/tools'
make[2]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/tools'
make[1]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src'
svn: '.' is not a working copy
make[1]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src'
3>/dev/null make -C toolchain install
make[2]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain'
make[3]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain/gcc'
make -C /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial all-gcc
make[4]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial'
make[5]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial/libiberty'
make[6]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial/libiberty/testsuite'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial/libiberty/testsuite'
make[5]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial/libiberty'
make[5]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial/intl'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial/intl'
make[5]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial/gcc'
make \
      CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long  " \
      CONFIG_H="tconfig.h /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/gcc/../include/ansidecl.h" TM_H="tm.h      /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/gcc/config/dbxelf.h /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/gcc/config/elfos.h /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/gcc/config/svr4.h /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/gcc/config/linux.h /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/gcc/config/mips/mips.h /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/gcc/config/mips/linux.h /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/gcc/defaults.h insn-constants.h insn-flags.h" \
      INCLUDES="-I. -I. -I/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/gcc -I/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/gcc/. -I/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/gcc/../include " \
      MAKEOVERRIDES= \
      -f libgcc.mk all
make[6]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial/gcc'
for d in libgcc; do \
      if [ -d $d ]; then true; else /bin/sh /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/gcc/mkinstalldirs $d; fi; \
    done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
rm -rf ./libgcc.a
mips-linux-uclibc-ar  rc ./libgcc.a libgcc/./_muldi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o libgcc/./_ashldi3.o libgcc/./_ashrdi3.o libgcc/./_cmpdi2.o libgcc/./_ucmpdi2.o libgcc/./_floatdidf.o libgcc/./_floatdisf.o libgcc/./_fixunsdfsi.o libgcc/./_fixunssfsi.o libgcc/./_fixunsdfdi.o libgcc/./_fixdfdi.o libgcc/./_fixunssfdi.o libgcc/./_fixsfdi.o libgcc/./_fixxfdi.o libgcc/./_fixunsxfdi.o libgcc/./_floatdixf.o libgcc/./_fixunsxfsi.o libgcc/./_fixtfdi.o libgcc/./_fixunstfdi.o libgcc/./_floatditf.o libgcc/./_clear_cache.o libgcc/./_enable_execute_stack.o libgcc/./_trampoline.o libgcc/./__main.o libgcc/./_absvsi2.o libgcc/./_absvdi2.o libgcc/./_addvsi3.o libgcc/./_addvdi3.o libgcc/./_subvsi3.o libgcc/./_subvdi3.o libgcc/./_mulvsi3.o libgcc/./_mulvdi3.o libgcc/./_negvsi2.o libgcc/./_negvdi2.o libgcc/./_ctors.o libgcc/./_ffssi2.o libgcc/./_ffsdi2.o libgcc/./_clz.o libgcc/./_clzsi2.o libgcc/./_clzdi2.o libgcc/./_ctzsi2.o libgcc/./_ctzdi2.o libgcc/./_popcount_tab.o libgcc/./_popcountsi2.o libgcc/./_popcountdi2.o libgcc/./_paritysi2.o libgcc/./_paritydi2.o libgcc/./_divdi3.o libgcc/./_moddi3.o libgcc/./_udivdi3.o libgcc/./_umoddi3.o libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o libgcc/./_pack_sf.o libgcc/./_unpack_sf.o libgcc/./_addsub_sf.o libgcc/./_mul_sf.o libgcc/./_div_sf.o libgcc/./_fpcmp_parts_sf.o libgcc/./_compare_sf.o libgcc/./_eq_sf.o libgcc/./_ne_sf.o libgcc/./_gt_sf.o libgcc/./_ge_sf.o libgcc/./_lt_sf.o libgcc/./_le_sf.o libgcc/./_unord_sf.o libgcc/./_si_to_sf.o libgcc/./_sf_to_si.o libgcc/./_negate_sf.o libgcc/./_make_sf.o libgcc/./_sf_to_df.o libgcc/./_sf_to_tf.o libgcc/./_thenan_sf.o libgcc/./_sf_to_usi.o libgcc/./_usi_to_sf.o libgcc/./_pack_df.o libgcc/./_unpack_df.o libgcc/./_addsub_df.o libgcc/./_mul_df.o libgcc/./_div_df.o libgcc/./_fpcmp_parts_df.o libgcc/./_compare_df.o libgcc/./_eq_df.o libgcc/./_ne_df.o libgcc/./_gt_df.o libgcc/./_ge_df.o libgcc/./_lt_df.o libgcc/./_le_df.o libgcc/./_unord_df.o libgcc/./_si_to_df.o libgcc/./_df_to_si.o libgcc/./_negate_df.o libgcc/./_make_df.o libgcc/./_df_to_sf.o libgcc/./_df_to_tf.o libgcc/./_thenan_df.o libgcc/./_df_to_usi.o libgcc/./_usi_to_df.o libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fde.o libgcc/./unwind-sjlj.o libgcc/./gthr-gnat.o libgcc/./unwind-c.o libgcc/./_eprintf.o libgcc/./__gcc_bcmp.o
*** buffer overflow detected ***: mips-linux-uclibc-ar terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x37)[0x2b9cce9e1887]
/lib/libc.so.6[0x2b9cce9df750]
/lib/libc.so.6[0x2b9cce9deae9]
/lib/libc.so.6(_IO_default_xsputn+0x96)[0x2b9cce95a116]
/lib/libc.so.6(_IO_padn+0xfa)[0x2b9cce94daca]
/lib/libc.so.6(_IO_vfprintf+0x27a4)[0x2b9cce92be24]
/lib/libc.so.6(__vsprintf_chk+0x9d)[0x2b9cce9deb8d]
/lib/libc.so.6(__sprintf_chk+0x80)[0x2b9cce9dead0]
mips-linux-uclibc-ar[0x408e74]
mips-linux-uclibc-ar[0x407216]
mips-linux-uclibc-ar[0x409984]
mips-linux-uclibc-ar[0x41089f]
mips-linux-uclibc-ar[0x403efd]
mips-linux-uclibc-ar[0x4043d6]
mips-linux-uclibc-ar[0x4049df]
/lib/libc.so.6(__libc_start_main+0xe6)[0x2b9cce900466]
mips-linux-uclibc-ar[0x401f19]
======= Memory map: ========
00400000-00494000 r-xp 00000000 08:01 575219                             /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/staging_dir_mips/bin/mips-linux-uclibc-ar
00694000-00695000 r--p 00094000 08:01 575219                             /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/staging_dir_mips/bin/mips-linux-uclibc-ar
00695000-00696000 rw-p 00095000 08:01 575219                             /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/staging_dir_mips/bin/mips-linux-uclibc-ar
00696000-0069b000 rw-p 00696000 00:00 0 
018bf000-01e21000 rw-p 018bf000 00:00 0                                  [heap]
2b9cce4ab000-2b9cce4ca000 r-xp 00000000 08:01 711330                     /lib/ld-2.8.90.so
2b9cce4ca000-2b9cce4cb000 r-xp 2b9cce4ca000 00:00 0                      [vdso]
2b9cce4cb000-2b9cce4ce000 rw-p 2b9cce4cb000 00:00 0 
2b9cce6c9000-2b9cce6ca000 r--p 0001e000 08:01 711330                     /lib/ld-2.8.90.so
2b9cce6ca000-2b9cce6cb000 rw-p 0001f000 08:01 711330                     /lib/ld-2.8.90.so
2b9cce6cb000-2b9cce6d4000 r-xp 00000000 08:01 728623                     /usr/lib/libfakeroot/libfakeroot-sysv.so
2b9cce6d4000-2b9cce8d3000 ---p 00009000 08:01 728623                     /usr/lib/libfakeroot/libfakeroot-sysv.so
2b9cce8d3000-2b9cce8d4000 r--p 00008000 08:01 728623                     /usr/lib/libfakeroot/libfakeroot-sysv.so
2b9cce8d4000-2b9cce8d5000 rw-p 00009000 08:01 728623                     /usr/lib/libfakeroot/libfakeroot-sysv.so
2b9cce8d5000-2b9cce8df000 rw-p 2b9cce8d5000 00:00 0 
2b9cce8e2000-2b9ccea4b000 r-xp 00000000 08:01 711350                     /lib/libc-2.8.90.so
2b9ccea4b000-2b9ccec4a000 ---p 00169000 08:01 711350                     /lib/libc-2.8.90.so
2b9ccec4a000-2b9ccec4e000 r--p 00168000 08:01 711350                     /lib/libc-2.8.90.so
2b9ccec4e000-2b9ccec4f000 rw-p 0016c000 08:01 711350                     /lib/libc-2.8.90.so
2b9ccec4f000-2b9ccec54000 rw-p 2b9ccec4f000 00:00 0 
2b9ccec54000-2b9ccec56000 r-xp 00000000 08:01 711365                     /lib/libdl-2.8.90.so
2b9ccec56000-2b9ccee56000 ---p 00002000 08:01 711365                     /lib/libdl-2.8.90.so
2b9ccee56000-2b9ccee57000 r--p 00002000 08:01 711365                     /lib/libdl-2.8.90.so
2b9ccee57000-2b9ccee58000 rw-p 00003000 08:01 711365                     /lib/libdl-2.8.90.so
2b9ccee58000-2b9ccee5a000 rw-p 2b9ccee58000 00:00 0 
2b9ccee67000-2b9ccee7d000 r-xp 00000000 08:01 711378                     /lib/libgcc_s.so.1
2b9ccee7d000-2b9ccf07d000 ---p 00016000 08:01 711378                     /lib/libgcc_s.so.1
2b9ccf07d000-2b9ccf07e000 r--p 00016000 08:01 711378                     /lib/libgcc_s.so.1
2b9ccf07e000-2b9ccf07f000 rw-p 00017000 08:01 711378                     /lib/libgcc_s.so.1
7fffdc5e6000-7fffdc5fe000 rw-p 7ffffffe7000 00:00 0                      [stack]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
make[6]: *** [libgcc.a] Aborted
make[6]: *** Deleting file `libgcc.a'
make[6]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial/gcc'
make[5]: *** [libgcc.a] Error 2
make[5]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial/gcc'
make[4]: *** [all-gcc] Error 2
make[4]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4-initial'
make[3]: *** [/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain_build_mips/gcc-3.4.4/.built] Error 2
make[3]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain/gcc'
make[2]: *** [gcc-compile] Error 2
make[2]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain'
make[1]: *** [toolchain/install] Error 2
make[1]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src'
make: *** [world] Error 2
colt@Ubuntu-8:~/Desktop/WNR1000-V1.0.1.15-GPL-src$

Re: cannot build toolchain

Well, I got a lot further but have ran into more issues. Here is the latest problem.

Part 1 of 2:

colt@Ubuntu-8:~/Desktop/WNR1000-V1.0.1.15-GPL-src$ cp defconfig-ap81-router .config
colt@Ubuntu-8:~/Desktop/WNR1000-V1.0.1.15-GPL-src$ FIRMWARE_REGION="NA" fakeroot make V=99
svn: '.' is not a working copy
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'working-gcc'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses'... ok.
Checking 'zlib'... ok.
Checking 'bison'... ok.
Checking 'flex'... ok.
Checking 'python'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'patch'... ok.
Checking 'perl'... ok.
Checking 'wget'... ok.
Checking 'gnutar'... ok.
Checking 'non-root'... failed.

Please do not compile as root.

Prerequisite check failed. Use FORCE=1 to override.
make: *** [.prereq-build] Error 1
colt@Ubuntu-8:~/Desktop/WNR1000-V1.0.1.15-GPL-src$ cp defconfig-ap81-router .config
colt@Ubuntu-8:~/Desktop/WNR1000-V1.0.1.15-GPL-src$ FIRMWARE_REGION="NA" fakeroot make V=99 FORCE=1
svn: '.' is not a working copy
svn: '.' is not a working copy
make[1]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src'
3>/dev/null make -C tools install
make[2]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/tools'
make install-targets
make[3]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/tools'
make[3]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/tools'
make[2]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/tools'
make[1]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src'
svn: '.' is not a working copy
make[1]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src'
3>/dev/null make -C toolchain install
make[2]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain'
make[2]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/toolchain'
make[1]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src'
svn: '.' is not a working copy
make[1]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src'
3>/dev/null make -C target compile
make[2]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/target'
make -C utils prepare
make[3]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/target/utils'
make[3]: `prepare' is up to date.
make[3]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/target/utils'
make -C utils compile
make[3]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/target/utils'
mkdir -p /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/staging_dir_mips/bin
cp -fpR /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/target-utils/* /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/staging_dir_mips/bin/
make[3]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/target/utils'
make -C utils install
make[3]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/target/utils'
mkdir -p /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/staging_dir_mips/bin
cp -fpR /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/target-utils/* /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/staging_dir_mips/bin/
make[3]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/target/utils'
make -C linux prepare
make[3]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/target/linux'
make -C ar91xx-2.6 prepare
make[4]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/target/linux/ar91xx-2.6'
mkdir -p /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/dl
#/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/scripts/download.pl /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/dl linux-2.6.15.tar.bz2 a9eaad9fe0df424cadd09537e83113ce http://172.17.144.8/dl 
rm -rf /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx
mkdir -p /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx
#bzcat /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/dl/linux-2.6.15.tar.bz2 | tar -C /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx -xf -
cp -fpR /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/target/linux/ar91xx-2.6/src/linux-2.6.15 /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/
#[ -d ../generic-2.6/patches ] && /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/scripts/patch-kernel.sh /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/linux-2.6.15 ../generic-2.6/patches 
#[ -d ./patches ] && /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/scripts/patch-kernel.sh /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/linux-2.6.15 ./patches
touch /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/linux-2.6.15/.prepared
make -C /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/linux-2.6.15 CROSS_COMPILE="mips-linux-" CC="mips-linux-gcc" ARCH=mips oldconfig prepare scripts
make[5]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/linux-2.6.15'
make[6]: Nothing to be done for `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/linux-2.6.15/scripts/Kbuild.include'.
make[6]: Nothing to be done for `Makefile'.
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
scripts/basic/split-include.c: In function 'main':
scripts/basic/split-include.c:133: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function 'conf_askvalue':
scripts/kconfig/conf.c:103: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
scripts/kconfig/conf.c: In function 'conf_choice':
scripts/kconfig/conf.c:359: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
  HOSTCC  scripts/kconfig/kxgettext.o
  HOSTCC  scripts/kconfig/mconf.o
scripts/kconfig/mconf.c: In function 'exec_conf':
scripts/kconfig/mconf.c:470: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result
scripts/kconfig/mconf.c: In function 'show_textbox':
scripts/kconfig/mconf.c:836: warning: ignoring return value of 'write', declared with attribute warn_unused_result
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:2168:
scripts/kconfig/confdata.c: In function 'conf_write':
scripts/kconfig/confdata.c:464: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
scripts/kconfig/confdata.c:466: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
In file included from scripts/kconfig/zconf.tab.c:2169:
scripts/kconfig/expr.c: In function 'expr_print_file_helper':
scripts/kconfig/expr.c:1083: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
scripts/kconfig/zconf.tab.c: At top level:
scripts/kconfig/lex.zconf.c:1609: warning: 'input' defined but not used
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -o arch/mips/Kconfig
#
# using defaults found in .config
#
.config:350:warning: trying to assign nonexistent symbol IP_NF_TARGET_CONENAT
.config:357:warning: trying to assign nonexistent symbol IP_NF_NAT_STARCRAFT
*
* Linux Kernel Configuration
*
*
* Machine selection
*
System type
  1. Support for 4G Systems MTX-1 board (MIPS_MTX1)
  2. AMD Alchemy Bosporus board (MIPS_BOSPORUS)
  3. AMD Alchemy PB1000 board (MIPS_PB1000)
  4. AMD Alchemy PB1100 board (MIPS_PB1100)
  5. AMD Alchemy PB1500 board (MIPS_PB1500)
  6. AMD Alchemy PB1550 board (MIPS_PB1550)
  7. AMD Alchemy PB1200 board (MIPS_PB1200)
  8. AMD Alchemy DB1000 board (MIPS_DB1000)
  9. AMD Alchemy DB1100 board (MIPS_DB1100)
  10. AMD Alchemy DB1500 board (MIPS_DB1500)
  11. AMD Alchemy DB1550 board (MIPS_DB1550)
  12. AMD Alchemy DB1200 board (MIPS_DB1200)
  13. AMD Alchemy Mirage board (MIPS_MIRAGE)
  14. Support for Cobalt Server (MIPS_COBALT)
  15. Support for DECstations (MACH_DECSTATION)
  16. Support for Galileo EV64120 Evaluation board (EXPERIMENTAL) (MIPS_EV64120)
  17. Support for Galileo EV96100 Evaluation board (EXPERIMENTAL) (MIPS_EV96100)
  18. Support for Globespan IVR board (MIPS_IVR)
  19. Support for ITE 8172G board (MIPS_ITE8172)
  20. Support for the Jazz family of machines (MACH_JAZZ)
  21. Support for LASAT Networks platforms (LASAT)
  22. Support for MIPS Atlas board (MIPS_ATLAS)
  23. Support for MIPS Malta board (MIPS_MALTA)
  24. Support for MIPS SEAD board (EXPERIMENTAL) (MIPS_SEAD)
  25. Support for MIPS simulator (MIPSsim) (MIPS_SIM)
  26. Support for Momentum Jaguar board (MOMENCO_JAGUAR_ATX)
  27. Support for Momentum Ocelot board (MOMENCO_OCELOT)
  28. Support for Momentum Ocelot-3 board (MOMENCO_OCELOT_3)
  29. Support for Momentum Ocelot-C board (MOMENCO_OCELOT_C)
  30. Support for Momentum Ocelot-G board (MOMENCO_OCELOT_G)
  31. Support for MyCable XXS1500 board (MIPS_XXS1500)
  32. Support for Philips PNX8550 based Viper2-PCI board (PNX8550_V2PCI)
  33. Support for Philips PNX8550 based JBS board (PNX8550_JBS)
  34. Support for NEC DDB Vrc-5074 (EXPERIMENTAL) (DDB5074)
  35. Support for NEC DDB Vrc-5476 (DDB5476)
  36. Support for NEC DDB Vrc-5477 (DDB5477)
  37. Support for NEC VR41XX-based machines (MACH_VR41XX)
  38. Support for PMC-Sierra Yosemite eval board (PMC_YOSEMITE)
  39. Support for Qemu (QEMU)
  40. Support for SGI IP22 (Indy/Indigo2) (SGI_IP22)
  41. Support for SGI IP27 (Origin200/2000) (SGI_IP27)
  42. Support for SGI IP32 (O2) (EXPERIMENTAL) (SGI_IP32)
  43. Support for Sibyte BigSur (SIBYTE_BIGSUR)
  44. Support for Sibyte BCM91250A-SWARM (SIBYTE_SWARM)
  45. Support for Sibyte BCM91250E-Sentosa (SIBYTE_SENTOSA)
  46. Support for Sibyte BCM91125E-Rhone (SIBYTE_RHONE)
  47. Support for Sibyte BCM91120x-Carmel (SIBYTE_CARMEL)
  48. Support for Sibyte BCM91250PT-PTSWARM (SIBYTE_PTSWARM)
  49. Support for Sibyte BCM91250C2-LittleSur (SIBYTE_LITTLESUR)
  50. Support for Sibyte BCM91120C-CRhine (SIBYTE_CRHINE)
  51. Support for Sibyte BCM91125C-CRhone (SIBYTE_CRHONE)
  52. Support for SNI RM200 PCI (SNI_RM200_PCI)
  53. Support for Toshiba JMR-TX3927 board (TOSHIBA_JMR3927)
  54. Support for Toshiba TBTX49[23]7 board (TOSHIBA_RBTX4927)
  55. Support for Toshiba RBTX4938 board (TOSHIBA_RBTX4938)
> 56. Support for Atheros ar7100 based boards (MACH_AR7100)
choice[1-56]: 56
  Support for Atheros ar9100 extenstions to ar7100 (AR9100) [Y/n] y
Endianess selection
> 1. Big endian (CPU_BIG_ENDIAN)
choice[1]: 1
*
* CPU selection
*
CPU type
  1. MIPS32 Release 1 (CPU_MIPS32_R1)
> 2. MIPS32 Release 2 (CPU_MIPS32_R2)
choice[1-2]: 2
*
* Kernel type
*
Kernel code model
> 1. 32-bit kernel (32BIT)
choice[1]: 1
Kernel page size
> 1. 4kB (PAGE_SIZE_4KB)
  2. 16kB (PAGE_SIZE_16KB)
  3. 64kB (PAGE_SIZE_64KB)
choice[1-3]: 1
Enable MIPS MT (MIPS_MT) [N/y] n
Support for 64-bit physical address space (64BIT_PHYS_ADDR) [N/y] n
Override CPU Options (CPU_ADVANCED) [Y/n/?] y
  ll/sc Instructions available (CPU_HAS_LLSC) [Y/n/?] y
  Writeback Buffer available (CPU_HAS_WB) [N/y/?] n
  *
  * MIPSR2 Interrupt handling
  *
  Vectored interrupt mode (CPU_MIPSR2_IRQ_VI) [N/y/?] n
  External interrupt controller mode (CPU_MIPSR2_IRQ_EI) [N/y/?] n
Memory model
> 1. Flat Memory (FLATMEM_MANUAL)
choice[1]: 1
Preemption Model
> 1. No Forced Preemption (Server) (PREEMPT_NONE)
  2. Voluntary Kernel Preemption (Desktop) (PREEMPT_VOLUNTARY)
  3. Preemptible Kernel (Low-Latency Desktop) (PREEMPT)
choice[1-3]: 1
*
* Code maturity level options
*
Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [Y/n/?] y
  Select only drivers expected to compile cleanly (CLEAN_COMPILE) [Y/n/?] y
*
* General setup
*
Local version - append to kernel release (LOCALVERSION) [] 
Automatically append version information to the version string (LOCALVERSION_AUTO) [Y/n/?] y
Support for paging of anonymous memory (swap) (SWAP) [N/y/?] n
System V IPC (SYSVIPC) [N/y/?] n
POSIX Message Queues (POSIX_MQUEUE) [N/y/?] n
BSD Process Accounting (BSD_PROCESS_ACCT) [N/y/?] n
Sysctl support (SYSCTL) [Y/n/?] y
Auditing support (AUDIT) [N/y/?] n
Support for hot-pluggable devices (HOTPLUG) [N/y/?] n
Kernel Userspace Events (KOBJECT_UEVENT) [N/y/?] n
Kernel .config support (IKCONFIG) [N/y/?] n
Initramfs source file(s) (INITRAMFS_SOURCE) [] 
Optimize for size (Look out for broken compilers!) (CC_OPTIMIZE_FOR_SIZE) [N/y/?] n
*
* Configure standard kernel features (for small systems)
*
Configure standard kernel features (for small systems) (EMBEDDED) [Y/?] y
  Load all symbols for debugging/kksymoops (KALLSYMS) [Y/n/?] y
    Include all symbols in kallsyms (KALLSYMS_ALL) [N/y/?] n
    Do an extra kallsyms pass (KALLSYMS_EXTRA_PASS) [Y/n/?] y
  Enable support for printk (PRINTK) [Y/n/?] y
  BUG() support (BUG) [Y/n/?] y
  Enable full-sized data structures for core (BASE_FULL) [N/y/?] n
  Enable futex support (FUTEX) [N/y/?] n
  Enable eventpoll support (EPOLL) [N/y/?] n
  Use full shmem filesystem (SHMEM) [N/y/?] n
  Function alignment (CC_ALIGN_FUNCTIONS) [0] 0
  Label alignment (CC_ALIGN_LABELS) [0] 0
  Loop alignment (CC_ALIGN_LOOPS) [0] 0
  Jump alignment (CC_ALIGN_JUMPS) [0] 0
*
* Loadable module support
*
Enable loadable module support (MODULES) [Y/n/?] y
  Module unloading (MODULE_UNLOAD) [Y/n/?] y
    Forced module unloading (MODULE_FORCE_UNLOAD) [N/y/?] n
  Module versioning support (EXPERIMENTAL) (MODVERSIONS) [Y/n/?] y
  Source checksum for all modules (MODULE_SRCVERSION_ALL) [N/y/?] n
  Automatic kernel module loading (KMOD) [N/y/?] n
*
* Block layer
*
Support for Large Block Devices (LBD) [N/y/?] n
*
* IO Schedulers
*
Anticipatory I/O scheduler (IOSCHED_AS) [N/m/y/?] n
Deadline I/O scheduler (IOSCHED_DEADLINE) [N/m/y/?] n
CFQ I/O scheduler (IOSCHED_CFQ) [N/m/y/?] n
Default I/O scheduler
> 1. No-op (DEFAULT_NOOP)
choice[1]: 1
*
* Bus options (PCI, PCMCIA, EISA, ISA, TC)
*
Support for PCI controller (PCI) [N/y/?] n
*
* PCCARD (PCMCIA/CardBus) support
*
PCCard (PCMCIA/CardBus) support (PCCARD) [N/m/y/?] n
*
* PCI Hotplug Support
*
*
* Executable file formats
*
Kernel support for ELF binaries (BINFMT_ELF) [Y/n/?] y
Kernel support for MISC binaries (BINFMT_MISC) [N/m/y/?] n
*
* Networking
*
Networking support (NET) [Y/n/?] y
  *
  * Networking options
  *
  Packet socket (PACKET) [Y/n/m/?] y
    Packet socket: mmapped IO (PACKET_MMAP) [N/y/?] n
  Unix domain sockets (UNIX) [Y/n/m/?] y
  PF_KEY sockets (NET_KEY) [N/m/y/?] n
  TCP/IP networking (INET) [Y/n/?] y
    IP: multicasting (IP_MULTICAST) [N/y/?] n
    IP: advanced router (IP_ADVANCED_ROUTER) [N/y/?] n
    IP: kernel level autoconfiguration (IP_PNP) [N/y/?] n
    IP: tunneling (NET_IPIP) [N/m/y/?] n
    IP: GRE tunnels over IP (NET_IPGRE) [N/m/y/?] n
    IP: ARP daemon support (EXPERIMENTAL) (ARPD) [N/y/?] n
    IP: TCP syncookie support (disabled per default) (SYN_COOKIES) [Y/n/?] y
    IP: AH transformation (INET_AH) [N/m/y/?] n
    IP: ESP transformation (INET_ESP) [N/m/y/?] n
    IP: IPComp transformation (INET_IPCOMP) [N/m/y/?] n
    IP: tunnel transformation (INET_TUNNEL) [N/m/y/?] n
    INET: socket monitoring interface (INET_DIAG) [N/m/y/?] n
    TCP: advanced congestion control (TCP_CONG_ADVANCED) [N/y/?] n
    *
    * IP: Virtual Server Configuration
    *
    IP virtual server support (EXPERIMENTAL) (IP_VS) [N/m/y/?] n
    The IPv6 protocol (IPV6) [N/m/y/?] n
  *
  * Network packet filtering (replaces ipchains)
  *
  Network packet filtering (replaces ipchains) (NETFILTER) [Y/n/?] y
    Network packet filtering debugging (NETFILTER_DEBUG) [N/y/?] n
    Bridged IP/ARP packets filtering (BRIDGE_NETFILTER) [N/y/?] n
    *
    * Core Netfilter Configuration
    *
    Netfilter netlink interface (NETFILTER_NETLINK) [N/m/y/?] n
    *
    * IP: Netfilter Configuration
    *
    Connection tracking (required for masq/NAT) (IP_NF_CONNTRACK) [Y/n/m/?] y
      Connection tracking flow accounting (IP_NF_CT_ACCT) [Y/n/?] y
      Conntrack port reservation (IP_NF_CT_SCAN) [Y/n/?] y
    Module for tracking NAT-ed sessions (IP_NF_CT_NAT_SESSION) [Y/n/?] y
    IP Route option wihtout SNAT (IP_NF_CT_ROUTE) [Y/n/?] y
    Connection mark tracking support (IP_NF_CONNTRACK_MARK) [Y/n/?] y
    Connection tracking events (EXPERIMENTAL) (IP_NF_CONNTRACK_EVENTS) [N/y/?] n
    SCTP protocol connection tracking support (EXPERIMENTAL) (IP_NF_CT_PROTO_SCTP) [N/m/y/?] n
    ALG control conntrack refreshing support (IP_NF_ALG_REFRESH) [Y/n/m/?] y
    FTP protocol support (IP_NF_FTP) [Y/n/m/?] y
    IRC protocol support (IP_NF_IRC) [N/m/y/?] n
    NetBIOS name service protocol support (EXPERIMENTAL) (IP_NF_NETBIOS_NS) [N/m/y/?] n
    TFTP protocol support (IP_NF_TFTP) [N/m/y/?] n
    Amanda backup protocol support (IP_NF_AMANDA) [N/m/y/?] n
    PPTP protocol support (IP_NF_PPTP) [Y/n/m/?] y
    SIP support (IP_NF_SIP) [M/n/y/?] m
    H.323 protocol support (EXPERIMENTAL) (IP_NF_H323) [Y/n/m/?] y
     RTSP protocol support (IP_NF_RTSP) [Y/n/m/?] y
    IP Userspace queueing via NETLINK (OBSOLETE) (IP_NF_QUEUE) [N/m/y/?] n
    IP tables support (required for filtering/masq/NAT) (IP_NF_IPTABLES) [Y/n/m/?] y
      limit match support (IP_NF_MATCH_LIMIT) [Y/n/m/?] y
      IP range match support (IP_NF_MATCH_IPRANGE) [Y/n/m/?] y
      MAC address match support (IP_NF_MATCH_MAC) [Y/n/m/?] y
      Packet type match support (IP_NF_MATCH_PKTTYPE) [N/m/y/?] n
      netfilter MARK match support (IP_NF_MATCH_MARK) [Y/n/m/?] y
      Multiple port match support (IP_NF_MATCH_MULTIPORT) [Y/n/m/?] y
      TOS match support (IP_NF_MATCH_TOS) [Y/n/m/?] y
      recent match support (IP_NF_MATCH_RECENT) [N/m/y/?] n
      ECN match support (IP_NF_MATCH_ECN) [N/m/y/?] n
      DSCP match support (IP_NF_MATCH_DSCP) [Y/n/m/?] y
      AH/ESP match support (IP_NF_MATCH_AH_ESP) [N/m/y/?] n
      LENGTH match support (IP_NF_MATCH_LENGTH) [N/m/y/?] n
      TTL match support (IP_NF_MATCH_TTL) [N/m/y/?] n
      tcpmss match support (IP_NF_MATCH_TCPMSS) [N/m/y/?] n
      Helper match support (IP_NF_MATCH_HELPER) [N/m/y/?] n
      Connection state match support (IP_NF_MATCH_STATE) [Y/n/m/?] y
      Connection tracking match support (IP_NF_MATCH_CONNTRACK) [N/m/y/?] n
      Owner match support (IP_NF_MATCH_OWNER) [N/m/y/?] n
      address type match support (IP_NF_MATCH_ADDRTYPE) [N/m/y/?] n
      realm match support (IP_NF_MATCH_REALM) [N/m/y/?] n
      SCTP protocol match support (IP_NF_MATCH_SCTP) [N/m/y/?] n
      DCCP protocol match support (IP_NF_MATCH_DCCP) [N/m/y/?] n
      comment match support (IP_NF_MATCH_COMMENT) [N/m/y/?] n
      Connection mark match support (IP_NF_MATCH_CONNMARK) [N/m/y/?] n
      Connection byte/packet counter match support (IP_NF_MATCH_CONNBYTES) [N/m/y/?] n
      hashlimit match support (IP_NF_MATCH_HASHLIMIT) [N/m/y/?] n
      string match support (IP_NF_MATCH_STRING) [Y/n/m/?] y
      log match support (IP_NF_MATCH_LOG) [Y/n/m/?] y
      peer-2-peer traffic match support (IP_NF_MATCH_IPP2P) [Y/n/m/?] y
      special traffic based on port and content match support (IP_NF_MATCH_DNIFILTER) [Y/n/m/?] y
      DNS Hijack match support (IP_NF_MATCH_DNS_HIJACK) [Y/n/m/?] y
      Packet filtering (IP_NF_FILTER) [Y/n/m/?] y
        REJECT target support (IP_NF_TARGET_REJECT) [Y/n/m/?] y
      SYNFLOOD target support (IP_NF_TARGET_SYNFLOOD) [M/n/y/?] m
      LOG target support (IP_NF_TARGET_LOG) [Y/n/m/?] y
      ULOG target support (OBSOLETE) (IP_NF_TARGET_ULOG) [N/m/y/?] n
      TCPMSS target support (IP_NF_TARGET_TCPMSS) [Y/n/m/?] y
      NFQUEUE Target Support (IP_NF_TARGET_NFQUEUE) [Y/n/m/?] y
    port triggering match support (IP_NF_TARGET_TRIGGER) [Y/n/m] y
    Full NAT (IP_NF_NAT) [Y/n/m/?] y
      MASQUERADE target support (IP_NF_TARGET_MASQUERADE) [Y/n/m/?] y
      REDIRECT target support (IP_NF_TARGET_REDIRECT) [Y/n/m/?] y
      SNATP2P target support (IP_NF_TARGET_SNATP2P) [Y/n/m/?] y
      NETMAP target support (IP_NF_TARGET_NETMAP) [N/m/y/?] n
      SAME target support (IP_NF_TARGET_SAME) [N/m/y/?] n
      Basic SNMP-ALG support (EXPERIMENTAL) (IP_NF_NAT_SNMP_BASIC) [Y/n/m/?] y
    Packet mangling (IP_NF_MANGLE) [Y/n/m/?] y
      TOS target support (IP_NF_TARGET_TOS) [Y/n/m/?] y
      ECN target support (IP_NF_TARGET_ECN) [N/m/y/?] n
      DSCP target support (IP_NF_TARGET_DSCP) [Y/n/m/?] y
      MARK target support (IP_NF_TARGET_MARK) [Y/n/m/?] y
      CLASSIFY target support (IP_NF_TARGET_CLASSIFY) [N/m/y/?] n
      TTL target support (IP_NF_TARGET_TTL) [N/m/y/?] n
      CONNMARK target support (IP_NF_TARGET_CONNMARK) [Y/n/m/?] y
      CLUSTERIP target support (EXPERIMENTAL) (IP_NF_TARGET_CLUSTERIP) [N/m/y/?] n
    raw table support (required for NOTRACK/TRACE) (IP_NF_RAW) [N/m/y/?] n
    ARP tables support (IP_NF_ARPTABLES) [N/m/y/?] n
    *
    * Bridge: Netfilter Configuration
    *
    Ethernet Bridge tables (ebtables) support (BRIDGE_NF_EBTABLES) [N/m/y/?] n
  *
  * DCCP Configuration (EXPERIMENTAL)
  *
  The DCCP Protocol (EXPERIMENTAL) (IP_DCCP) [N/m/y/?] n
  *
  * SCTP Configuration (EXPERIMENTAL)
  *
  The SCTP Protocol (EXPERIMENTAL) (IP_SCTP) [N/m/y/?] n
  Asynchronous Transfer Mode (ATM) (EXPERIMENTAL) (ATM) [N/m/y/?] n
  802.1d Ethernet Bridging (BRIDGE) [Y/n/m/?] y
  802.1Q VLAN Support (VLAN_8021Q) [N/m/y/?] n
  DECnet Support (DECNET) [N/m/y/?] n
  ANSI/IEEE 802.2 LLC type 2 Support (LLC2) [N/m/y/?] n
  The IPX protocol (IPX) [N/m/y/?] n
  Appletalk protocol support (ATALK) [N/m/y/?] n
  CCITT X.25 Packet Layer (EXPERIMENTAL) (X25) [N/m/y/?] n
  LAPB Data Link Driver (EXPERIMENTAL) (LAPB) [N/m/y/?] n
  Frame Diverter (EXPERIMENTAL) (NET_DIVERT) [N/y/?] n
  Acorn Econet/AUN protocols (EXPERIMENTAL) (ECONET) [N/m/y/?] n
  WAN router (WAN_ROUTER) [N/m/y/?] n
  *
  * QoS and/or fair queueing
  *
  QoS and/or fair queueing (NET_SCHED) [Y/n/?] y
    Packet scheduler clock source
    > 1. Timer interrupt (NET_SCH_CLK_JIFFIES)
      2. gettimeofday (NET_SCH_CLK_GETTIMEOFDAY)
    choice[1-2?]: 1
    *
    * Queueing/Scheduling
    *
    Class Based Queueing (CBQ) (NET_SCH_CBQ) [Y/n/m/?] y
    Hierarchical Token Bucket (HTB) (NET_SCH_HTB) [N/m/y/?] n
    Hierarchical Fair Service Curve (HFSC) (NET_SCH_HFSC) [N/m/y/?] n
    Multi Band Priority Queueing (PRIO) (NET_SCH_PRIO) [N/m/y/?] n
    Random Early Detection (RED) (NET_SCH_RED) [N/m/y/?] n
    Stochastic Fairness Queueing (SFQ) (NET_SCH_SFQ) [Y/n/m/?] y
    True Link Equalizer (TEQL) (NET_SCH_TEQL) [N/m/y/?] n
    Token Bucket Filter (TBF) (NET_SCH_TBF) [N/m/y/?] n
    Generic Random Early Detection (GRED) (NET_SCH_GRED) [N/m/y/?] n
    Differentiated Services marker (DSMARK) (NET_SCH_DSMARK) [N/m/y/?] n
    Network emulator (NETEM) (NET_SCH_NETEM) [N/m/y/?] n
    Ingress Qdisc (NET_SCH_INGRESS) [N/m/y/?] n
    *
    * Classification
    *
    Elementary classification (BASIC) (NET_CLS_BASIC) [N/m/y/?] n
    Traffic-Control Index (TCINDEX) (NET_CLS_TCINDEX) [N/m/y/?] n
    Routing decision (ROUTE) (NET_CLS_ROUTE4) [N/m/y/?] n
    Netfilter mark (FW) (NET_CLS_FW) [Y/n/m/?] y
    Universal 32bit comparisons w/ hashing (U32) (NET_CLS_U32) [Y/n/m/?] y
      Performance counters support (CLS_U32_PERF) [Y/n/?] y
      Netfilter marks support (CLS_U32_MARK) [Y/n/?] y
    IPv4 Resource Reservation Protocol (RSVP) (NET_CLS_RSVP) [N/m/y/?] n
    IPv6 Resource Reservation Protocol (RSVP6) (NET_CLS_RSVP6) [N/m/y/?] n
    Extended Matches (NET_EMATCH) [N/y/?] n
    Actions (NET_CLS_ACT) [N/y/?] n
    Traffic Policing (obsolete) (NET_CLS_POLICE) [N/y/?] n
    Incoming device classification (NET_CLS_IND) [N/y/?] n
    Rate estimator (NET_ESTIMATOR) [N/y/?] n
  *
  * Network testing
  *
  Packet Generator (USE WITH CAUTION) (NET_PKTGEN) [N/m/y/?] n
  *
  * Amateur Radio support
  *
  Amateur Radio support (HAMRADIO) [N/y/?] n
  *
  * IrDA (infrared) subsystem support
  *
  IrDA (infrared) subsystem support (IRDA) [N/m/y/?] n
  *
  * Bluetooth subsystem support
  *
  Bluetooth subsystem support (BT) [N/m/y/?] n
  Generic IEEE 802.11 Networking Stack (IEEE80211) [N/m/y/?] n
*
* Device Drivers
*
*
* Generic Driver Options
*
Select only drivers that don't need compile-time external firmware (STANDALONE) [N/y/?] n
Prevent firmware from being built (PREVENT_FIRMWARE_BUILD) [N/y/?] n
Hotplug firmware loading support (FW_LOADER) [N/m/y/?] n
Driver Core verbose debug messages (DEBUG_DRIVER) [N/y/?] n
*
* Connector - unified userspace <-> kernelspace linker
*
Connector - unified userspace <-> kernelspace linker (CONNECTOR) [N/m/y/?] n
*
* Memory Technology Devices (MTD)
*
Memory Technology Device (MTD) support (MTD) [Y/n/m/?] y
  Debugging (MTD_DEBUG) [N/y/?] n
  MTD concatenating support (MTD_CONCAT) [N/m/y/?] n
  MTD partitioning support (MTD_PARTITIONS) [Y/n/?] y
    RedBoot partition table parsing (MTD_REDBOOT_PARTS) [N/m/y/?] n
    Command line partition table parsing (MTD_CMDLINE_PARTS) [Y/n/?] y
  *
  * User Modules And Translation Layers
  *
  Direct char device access to MTD devices (MTD_CHAR) [Y/n/m/?] y
  Caching block device access to MTD devices (MTD_BLOCK) [Y/n/m/?] y
  FTL (Flash Translation Layer) support (FTL) [N/m/y/?] n
  NFTL (NAND Flash Translation Layer) support (NFTL) [N/m/y/?] n
  INFTL (Inverse NAND Flash Translation Layer) support (INFTL) [N/m/y/?] n
  Resident Flash Disk (Flash Translation Layer) support (RFD_FTL) [N/m/y/?] n
  *
  * RAM/ROM/Flash chip drivers
  *
  Detect flash chips by Common Flash Interface (CFI) probe (MTD_CFI) [N/m/y/?] n
  Detect non-CFI AMD/JEDEC-compatible flash chips (MTD_JEDECPROBE) [N/m/y/?] n
  Support for RAM chips in bus mapping (MTD_RAM) [N/m/y/?] n
  Support for ROM chips in bus mapping (MTD_ROM) [N/m/y/?] n
  Support for absent chips in bus mapping (MTD_ABSENT) [N/m/y/?] n
  *
  * Mapping drivers for chip access
  *
  Support non-linear mappings of flash chips (MTD_COMPLEX_MAPPINGS) [N/y/?] n
  Map driver for platform device RAM (mtd-ram) (MTD_PLATRAM) [N/m/y/?] n
  *
  * Self-contained MTD device drivers
  *
  Uncached system RAM (MTD_SLRAM) [N/m/y/?] n
  Physical system RAM (MTD_PHRAM) [N/m/y/?] n
  Test driver using RAM (MTD_MTDRAM) [N/m/y/?] n
  MTD emulation using block device (MTD_BLKMTD) [N/m/y/?] n
  MTD using block device (rewrite) (MTD_BLOCK2MTD) [N/m/y/?] n
  *
  * Disk-On-Chip Device Drivers
  *
  M-Systems Disk-On-Chip 2000 and Millennium (DEPRECATED) (MTD_DOC2000) [N/m/y/?] n
  M-Systems Disk-On-Chip Millennium-only alternative driver (DEPRECATED) (MTD_DOC2001) [N/m/y/?] n
  M-Systems Disk-On-Chip Millennium Plus (MTD_DOC2001PLUS) [N/m/y/?] n
  Support for ar7100 spi flash (MTD_AR7100_SPI_FLASH) [Y/n] y
  Support for ar9100 parallel flash (MTD_AR9100_PARALLEL_FLASH) [N/y] n
  *
  * NAND Flash Device Drivers
  *
  NAND Device Support (MTD_NAND) [N/m/y/?] n
  *
  * OneNAND Flash Device Drivers
  *
  OneNAND Device Support (MTD_ONENAND) [N/m/y/?] n
*
* Parallel port support
*
Parallel port support (PARPORT) [N/m/y/?] n
*
* Plug and Play support
*
*
* Block devices
*
Loopback device support (BLK_DEV_LOOP) [N/m/y/?] n
Network block device support (BLK_DEV_NBD) [N/m/y/?] n
RAM disk support (BLK_DEV_RAM) [N/m/y/?] n
Packet writing on CD/DVD media (CDROM_PKTCDVD) [N/m/y/?] n
ATA over Ethernet support (ATA_OVER_ETH) [N/m/y/?] n
*
* ATA/ATAPI/MFM/RLL support
*
ATA/ATAPI/MFM/RLL support (IDE) [N/m/y/?] n
*
* SCSI device support
*
RAID Transport Class (RAID_ATTRS) [N/m/y/?] n
SCSI device support (SCSI) [N/m/y/?] n
*
* Multi-device support (RAID and LVM)
*
Multiple devices driver support (RAID and LVM) (MD) [N/y/?] n
*
* Fusion MPT device support
*
*
* IEEE 1394 (FireWire) support
*
*
* I2O device support
*
*
* Network device support
*
Network device support (NETDEVICES) [Y/n/?] y
  Dummy net driver support (DUMMY) [N/m/y/?] n
  Bonding driver support (BONDING) [N/m/y/?] n
  EQL (serial line load balancing) support (EQUALIZER) [N/m/y/?] n
  Universal TUN/TAP device driver support (TUN) [N/m/y/?] n
  *
  * PHY device support
  *
  PHY Device support and infrastructure (PHYLIB) [N/m/y/?] n
  *
  * Ethernet (10 or 100Mbit)
  *
  Ethernet (10 or 100Mbit) (NET_ETHERNET) [Y/n/?] y
    Generic Media Independent Interface device support (MII) [N/m/y/?] n
  *
  * Ethernet (1000 Mbit)
  *
  Atheros AR7100 GigE (AG7100) [M/n/y/?] m
    port 0 interface
      1. MII mode (AG7100_GE0_MII)
    > 2. RMII mode (AG7100_GE0_RMII)
      3. RGMII mode (AG7100_GE0_RGMII)
      4. GMII mode (AG7100_GE0_GMII)
    choice[1-4]: 2
    port 1 is connected to a PHY (AG7100_GE1_IS_CONNECTED) [Y/n] y
      port 1 interface (depends on port0)
      > 1. RMII mode (AG7100_GE1_RMII)
        2. RGMII mode (AG7100_GE1_RGMII)
      choice[1-2]: 1
    Configure port 0 interface as Switch (PORT0_AS_SWITCH) [Y/n/?] y
    PHY or switch used
      1. Atheros F1 GigE Phy (ATHR_PHY)
    > 2. Atheros S26 Phy (ATHRS26_PHY)
      3. Vitesse GigE Phy 8201 (VITESSE_PHY)
      4. Vitesse Gige Phy 8601 on MAC0 and optionally on MAC1 (VITESSE_8601_PHY)
      5. Vitesse Gige Phy 8601 on MAC0 / VSC73XX Switch on MAC1 (VITESSE_8601_7395_PHY)
      6. IP Icplus Phy (ICPLUS_PHY)
      7. Rtl8201 (REALTEK_PHY)
      8. AdmTek 6996FC (ADM6996FC_PHY)
    choice[1-8]: 2
  Len per tx descriptor (AG7100_LEN_PER_TX_DS) [1536] 1536
  Number tx pkts (AG7100_NUMBER_TX_PKTS) [40] 40
  Number rx pkts (AG7100_NUMBER_RX_PKTS) [252] 252
  Print realtime trace on asserts, this will negatively affect performance (AG7100_USE_TRC) [N/y] n
  *
  * Ethernet (10000 Mbit)
  *
  *
  * Token Ring devices
  *
  *
  * Wireless LAN (non-hamradio)
  *
  Wireless LAN drivers (non-hamradio) & Wireless Extensions (NET_RADIO) [Y/n/?] y
    *
    * Obsolete Wireless cards support (pre-802.11)
    *
    STRIP (Metricom starmode radio IP) (STRIP) [N/m/y/?] n
  Atmel at76c50x chipset  802.11b support (ATMEL) [N/m/y/?] n
  IEEE 802.11 for Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP) (HOSTAP) [N/m/y/?] n
  *
  * Wan interfaces
  *
  Wan interfaces support (WAN) [N/y/?] n
  PPP (point-to-point protocol) support (PPP) [M/n/y/?] m
    PPP multilink support (EXPERIMENTAL) (PPP_MULTILINK) [N/y/?] n
    PPP filtering (PPP_FILTER) [N/y/?] n
    PPP support for async serial ports (PPP_ASYNC) [M/n/?] m
    PPP support for sync tty ports (PPP_SYNC_TTY) [N/m/?] n
    PPP Deflate compression (PPP_DEFLATE) [N/m/?] n
    PPP BSD-Compress compression (PPP_BSDCOMP) [N/m/?] n
    PPP MPPE compression (encryption) (EXPERIMENTAL) (PPP_MPPE) [N/m/?] n
    PPP over Ethernet (EXPERIMENTAL) (PPPOE) [M/n/?] m
    PPP over GRE (PPTP) [M/n/?] m
  SLIP (serial line) support (SLIP) [N/m/y/?] n
  Traffic Shaper (EXPERIMENTAL) (SHAPER) [N/m/y/?] n
  Network console logging support (EXPERIMENTAL) (NETCONSOLE) [N/m/y/?] n
*
* ISDN subsystem
*
ISDN support (ISDN) [N/m/y/?] n
*
* Telephony Support
*
Linux telephony support (PHONE) [N/m/y/?] n
*
* Input device support
*
Generic input layer (needed for keyboard, mouse, ...) (INPUT) [N/m/y/?] n
*
* Hardware I/O ports
*
Serial I/O support (SERIO) [N/m/y/?] n
Gameport support (GAMEPORT) [N/m/y/?] n
*
* Character devices
*
Virtual terminal (VT) [N/y/?] n
Non-standard serial port support (SERIAL_NONSTANDARD) [N/y/?] n
*
* Serial drivers
*
8250/16550 and compatible serial support (SERIAL_8250) [Y/n/m/?] y
  Console on 8250/16550 and compatible serial port (SERIAL_8250_CONSOLE) [Y/n/?] y
  Maximum number of 8250/16550 serial ports (SERIAL_8250_NR_UARTS) [1] 1
  Extended 8250/16550 serial driver options (SERIAL_8250_EXTENDED) [N/y/?] n
*
* Non-8250 serial port support
*
Unix98 PTY support (UNIX98_PTYS) [Y/n/?] y
Legacy (BSD) PTY support (LEGACY_PTYS) [N/y/?] n
*
* IPMI
*
IPMI top-level message handler (IPMI_HANDLER) [N/m/y/?] n
*
* Watchdog Cards
*
Watchdog Timer Support (WATCHDOG) [Y/n/?] y
  Disable watchdog shutdown on close (WATCHDOG_NOWAYOUT) [N/y/?] n
  *
  * Watchdog Device Drivers
  *
  Software watchdog (SOFT_WATCHDOG) [N/m/y/?] n
Enhanced Real Time Clock Support (RTC) [N/m/y/?] n
Generic /dev/rtc emulation (GEN_RTC) [N/m/y/?] n
Double Talk PC internal speech card support (DTLK) [N/m/y/?] n
Siemens R3964 line discipline (R3964) [N/m/y/?] n
*
* Ftape, the floppy tape device driver
*
RAW driver (/dev/raw/rawN) (OBSOLETE) (RAW_DRIVER) [N/m/y/?] n
*
* TPM devices
*
TPM Hardware Support (TCG_TPM) [N/m/y/?] n
Telecom clock driver for MPBL0010 ATCA SBC (TELCLOCK) [N/m/y/?] n
*
* I2C support
*
I2C support (I2C) [N/m/y/?] n
*
* Dallas's 1-wire bus
*
Dallas's 1-wire support (W1) [N/m/y/?] n
*
* Hardware Monitoring support
*
Hardware Monitoring support (HWMON) [N/m/y/?] n
*
* Misc devices
*
*
* Multimedia Capabilities Port drivers
*
*
* Multimedia devices
*
Video For Linux (VIDEO_DEV) [N/m/y/?] n
*
* Digital Video Broadcasting Devices
*
DVB For Linux (DVB) [N/y/?] n
*
* Graphics support
*
Support for frame buffer devices (FB) [N/m/y/?] n
*
* Sound
*
Sound card support (SOUND) [N/m/y/?] n
*
* USB support
*
Support for Host-side USB (USB) [N/m/y/?] n
*
* NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
*
*
* USB Gadget Support
*
Support for USB Gadgets (USB_GADGET) [N/m/y/?] n
*
* MMC/SD Card support
*
MMC support (MMC) [N/m/y/?] n
*
* InfiniBand support
*
*
* SN Devices
*
*
* File systems
*
Second extended fs support (EXT2_FS) [N/m/y/?] n
Ext3 journalling file system support (EXT3_FS) [N/m/y/?] n
Reiserfs support (REISERFS_FS) [N/m/y/?] n
JFS filesystem support (JFS_FS) [N/m/y/?] n
XFS filesystem support (XFS_FS) [N/m/y/?] n
Minix fs support (MINIX_FS) [N/m/y/?] n
ROM file system support (ROMFS_FS) [N/m/y/?] n
Inotify file change notification support (INOTIFY) [N/y/?] n
Quota support (QUOTA) [N/y/?] n
Dnotify support (DNOTIFY) [N/y/?] n
Kernel automounter support (AUTOFS_FS) [N/m/y/?] n
Kernel automounter version 4 support (also supports v3) (AUTOFS4_FS) [N/m/y/?] n
Filesystem in Userspace support (FUSE_FS) [N/m/y/?] n
*
* CD-ROM/DVD Filesystems
*
ISO 9660 CDROM file system support (ISO9660_FS) [N/m/y/?] n
UDF file system support (UDF_FS) [N/m/y/?] n
*
* DOS/FAT/NT Filesystems
*
MSDOS fs support (MSDOS_FS) [N/m/y/?] n
VFAT (Windows-95) fs support (VFAT_FS) [N/m/y/?] n
NTFS file system support (NTFS_FS) [N/m/y/?] n
*
* Pseudo filesystems
*
/proc file system support (PROC_FS) [Y/n/?] y
  /proc/kcore support (PROC_KCORE) [N/y] n
sysfs file system support (SYSFS) [N/y/?] n
Virtual memory file system support (former shm fs) (TMPFS) [N/y/?] n
Relayfs file system support (RELAYFS_FS) [N/m/y/?] n
*
* Miscellaneous filesystems
*
ADFS file system support (EXPERIMENTAL) (ADFS_FS) [N/m/y/?] n
Amiga FFS file system support (EXPERIMENTAL) (AFFS_FS) [N/m/y/?] n
Apple Macintosh file system support (EXPERIMENTAL) (HFS_FS) [N/m/y/?] n
Apple Extended HFS file system support (HFSPLUS_FS) [N/m/y/?] n
BeOS file system (BeFS) support (read only) (EXPERIMENTAL) (BEFS_FS) [N/m/y/?] n
BFS file system support (EXPERIMENTAL) (BFS_FS) [N/m/y/?] n
EFS file system support (read only) (EXPERIMENTAL) (EFS_FS) [N/m/y/?] n
Journalling Flash File System (JFFS) support (JFFS_FS) [N/m/y/?] n
Journalling Flash File System v2 (JFFS2) support (JFFS2_FS) [N/m/y/?] n
Compressed ROM file system support (cramfs) (CRAMFS) [N/m/y/?] n
SquashFS 3.0 - Squashed file system support (SQUASHFS) [Y/n/m/?] y
  Additional options for memory-constrained systems (SQUASHFS_EMBEDDED) [N/y/?] n
FreeVxFS file system support (VERITAS VxFS(TM) compatible) (VXFS_FS) [N/m/y/?] n
OS/2 HPFS file system support (HPFS_FS) [N/m/y/?] n
QNX4 file system support (read only) (QNX4FS_FS) [N/m/y/?] n
System V/Xenix/V7/Coherent file system support (SYSV_FS) [N/m/y/?] n
UFS file system support (read only) (UFS_FS) [N/m/y/?] n
*
* Network File Systems
*
NFS file system support (NFS_FS) [N/m/y/?] n
NFS server support (NFSD) [N/m/y/?] n
SMB file system support (to mount Windows shares etc.) (SMB_FS) [N/m/y/?] n
CIFS support (advanced network filesystem for Samba, Window and other CIFS compliant servers) (CIFS) [N/m/y/?] n
NCP file system support (to mount NetWare volumes) (NCP_FS) [N/m/y/?] n
Coda file system support (advanced network fs) (CODA_FS) [N/m/y/?] n
Andrew File System support (AFS) (Experimental) (AFS_FS) [N/m/y/?] n
Plan 9 Resource Sharing Support (9P2000) (Experimental) (9P_FS) [N/m/y/?] n
*
* Partition Types
*
Advanced partition selection (PARTITION_ADVANCED) [N/y/?] n
*
* Native Language Support
*
Base native language support (NLS) [N/m/y/?] n
*
* Profiling support
*
Profiling support (EXPERIMENTAL) (PROFILING) [N/y/?] n
*
* Kernel hacking
*
Show timing information on printks (PRINTK_TIME) [N/y/?] n
Kernel debugging (DEBUG_KERNEL) [Y/n/?] y
  Magic SysRq key (MAGIC_SYSRQ) [N/y/?] n
  Kernel log buffer size (16 => 64KB, 17 => 128KB) (LOG_BUF_SHIFT) [14] 14
  Detect Soft Lockups (DETECT_SOFTLOCKUP) [N/y/?] n
  Collect scheduler statistics (SCHEDSTATS) [N/y/?] n
  Debug memory allocations (DEBUG_SLAB) [N/y/?] n
  Spinlock debugging (DEBUG_SPINLOCK) [N/y/?] n
  Sleep-inside-spinlock checking (DEBUG_SPINLOCK_SLEEP) [N/y/?] n
  kobject debugging (DEBUG_KOBJECT) [N/y/?] n
  Compile the kernel with debug info (DEBUG_INFO) [N/y/?] n
  Debug VM (DEBUG_VM) [N/y/?] n
  torture tests for RCU (RCU_TORTURE_TEST) [N/m/y/?] n
Are you using a crosscompiler (CROSSCOMPILE) [Y/n/?] y
Default kernel command string (CMDLINE) ["console=ttyS0,115200 root=01:00 rd_start=0x80600000 rd_size=8388608 init=/sbin/init"] "console=ttyS0,115200 root=01:00 rd_start=0x80600000 rd_size=8388608 init=/sbin/init"
Enable stack utilization instrumentation (DEBUG_STACK_USAGE) [N/y/?] n
Remote GDB kernel debugging (KGDB) [N/y/?] n
Enable run-time debugging (RUNTIME_DEBUG) [N/y/?] n
Run uncached (MIPS_UNCACHED) [N/y/?] n
*
* Security options
*
Enable access key retention support (KEYS) [N/y/?] n
*
* Cryptographic options
*
Cryptographic API (CRYPTO) [Y/n/?] y
  HMAC support (CRYPTO_HMAC) [N/y/?] n
  Null algorithms (CRYPTO_NULL) [N/m/y/?] n
  MD4 digest algorithm (CRYPTO_MD4) [N/m/y/?] n
  MD5 digest algorithm (CRYPTO_MD5) [N/m/y/?] n
  SHA1 digest algorithm (CRYPTO_SHA1) [N/m/y/?] n
  SHA256 digest algorithm (CRYPTO_SHA256) [N/m/y/?] n
  SHA384 and SHA512 digest algorithms (CRYPTO_SHA512) [N/m/y/?] n
  Whirlpool digest algorithms (CRYPTO_WP512) [N/m/y/?] n
  Tiger digest algorithms (CRYPTO_TGR192) [N/m/y/?] n
  DES and Triple DES EDE cipher algorithms (CRYPTO_DES) [N/m/y/?] n
  Blowfish cipher algorithm (CRYPTO_BLOWFISH) [N/m/y/?] n
  Twofish cipher algorithm (CRYPTO_TWOFISH) [N/m/y/?] n
  Serpent cipher algorithm (CRYPTO_SERPENT) [N/m/y/?] n
  AES cipher algorithms (CRYPTO_AES) [Y/n/m/?] y
  CAST5 (CAST-128) cipher algorithm (CRYPTO_CAST5) [N/m/y/?] n
  CAST6 (CAST-256) cipher algorithm (CRYPTO_CAST6) [N/m/y/?] n
  TEA, XTEA and XETA cipher algorithms (CRYPTO_TEA) [N/m/y/?] n
  ARC4 cipher algorithm (CRYPTO_ARC4) [N/m/y/?] n
  Khazad cipher algorithm (CRYPTO_KHAZAD) [N/m/y/?] n
  Anubis cipher algorithm (CRYPTO_ANUBIS) [N/m/y/?] n
  Deflate compression algorithm (CRYPTO_DEFLATE) [N/m/y/?] n
  Michael MIC keyed digest algorithm (CRYPTO_MICHAEL_MIC) [N/m/y/?] n
  CRC32c CRC algorithm (CRYPTO_CRC32C) [N/m/y/?] n
  Testing module (CRYPTO_TEST) [N/m/y/?] n
*
* Hardware crypto devices
*
*
* Library routines
*
CRC-CCITT functions (CRC_CCITT) [M/y/?] m
CRC16 functions (CRC16) [N/m/y/?] n
CRC32 functions (CRC32) [N/m/y/?] n
CRC32c (Castagnoli, et al) Cyclic Redundancy-Check (LIBCRC32C) [N/m/y/?] n
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  SYMLINK include/asm -> include/asm-mips
  SPLIT   include/linux/autoconf.h -> include/config/*
  CC      arch/mips/kernel/asm-offsets.s
  GEN     include/asm-mips/asm-offsets.h
  HOSTCC  scripts/genksyms/genksyms.o
  SHIPPED scripts/genksyms/lex.c
  SHIPPED scripts/genksyms/parse.h
  SHIPPED scripts/genksyms/keywords.c
  HOSTCC  scripts/genksyms/lex.o
scripts/genksyms/lex.c: In function 'yylex1':
scripts/genksyms/lex.l:95: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
scripts/genksyms/lex.l: At top level:
scripts/genksyms/lex.c:1230: warning: 'input' defined but not used
  SHIPPED scripts/genksyms/parse.c
  HOSTCC  scripts/genksyms/parse.o
  HOSTLD  scripts/genksyms/genksyms
  CC      scripts/mod/empty.o
  HOSTCC  scripts/mod/mk_elfconfig
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
  HOSTCC  scripts/kallsyms
scripts/kallsyms.c: In function 'read_symbol':
scripts/kallsyms.c:83: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
make[5]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/linux-2.6.15'
touch /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/linux-2.6.15/.configured
make[4]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/target/linux/ar91xx-2.6'
make[3]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/target/linux'
make -C linux compile
make[3]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/target/linux'
make -C ar91xx-2.6 compile
make[4]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/target/linux/ar91xx-2.6'
mkdir -p /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/dl
#/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/scripts/download.pl /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/dl linux-2.6.15.tar.bz2 a9eaad9fe0df424cadd09537e83113ce http://172.17.144.8/dl 
rm -rf /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx
mkdir -p /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx
#bzcat /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/dl/linux-2.6.15.tar.bz2 | tar -C /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx -xf -
cp -fpR /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/target/linux/ar91xx-2.6/src/linux-2.6.15 /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/
#[ -d ../generic-2.6/patches ] && /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/scripts/patch-kernel.sh /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/linux-2.6.15 ../generic-2.6/patches 
#[ -d ./patches ] && /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/scripts/patch-kernel.sh /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/linux-2.6.15 ./patches
touch /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/linux-2.6.15/.prepared
make -C /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/linux-2.6.15 CROSS_COMPILE="mips-linux-" CC="mips-linux-gcc" ARCH=mips oldconfig prepare scripts
make[5]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/linux-2.6.15'
make[6]: Nothing to be done for `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/linux-2.6.15/scripts/Kbuild.include'.
make[6]: Nothing to be done for `Makefile'.
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
scripts/basic/split-include.c: In function 'main':
scripts/basic/split-include.c:133: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function 'conf_askvalue':
scripts/kconfig/conf.c:103: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
scripts/kconfig/conf.c: In function 'conf_choice':
scripts/kconfig/conf.c:359: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
  HOSTCC  scripts/kconfig/kxgettext.o
  HOSTCC  scripts/kconfig/mconf.o
scripts/kconfig/mconf.c: In function 'exec_conf':
scripts/kconfig/mconf.c:470: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result
scripts/kconfig/mconf.c: In function 'show_textbox':
scripts/kconfig/mconf.c:836: warning: ignoring return value of 'write', declared with attribute warn_unused_result
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:2168:
scripts/kconfig/confdata.c: In function 'conf_write':
scripts/kconfig/confdata.c:464: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
scripts/kconfig/confdata.c:466: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
In file included from scripts/kconfig/zconf.tab.c:2169:
scripts/kconfig/expr.c: In function 'expr_print_file_helper':
scripts/kconfig/expr.c:1083: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
scripts/kconfig/zconf.tab.c: At top level:
scripts/kconfig/lex.zconf.c:1609: warning: 'input' defined but not used
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -o arch/mips/Kconfig
#
# using defaults found in .config
#
.config:350:warning: trying to assign nonexistent symbol IP_NF_TARGET_CONENAT
.config:357:warning: trying to assign nonexistent symbol IP_NF_NAT_STARCRAFT
*
* Linux Kernel Configuration
*
*
* Machine selection
*
System type
  1. Support for 4G Systems MTX-1 board (MIPS_MTX1)
  2. AMD Alchemy Bosporus board (MIPS_BOSPORUS)
  3. AMD Alchemy PB1000 board (MIPS_PB1000)
  4. AMD Alchemy PB1100 board (MIPS_PB1100)
  5. AMD Alchemy PB1500 board (MIPS_PB1500)
  6. AMD Alchemy PB1550 board (MIPS_PB1550)
  7. AMD Alchemy PB1200 board (MIPS_PB1200)
  8. AMD Alchemy DB1000 board (MIPS_DB1000)
  9. AMD Alchemy DB1100 board (MIPS_DB1100)
  10. AMD Alchemy DB1500 board (MIPS_DB1500)
  11. AMD Alchemy DB1550 board (MIPS_DB1550)
  12. AMD Alchemy DB1200 board (MIPS_DB1200)
  13. AMD Alchemy Mirage board (MIPS_MIRAGE)
  14. Support for Cobalt Server (MIPS_COBALT)
  15. Support for DECstations (MACH_DECSTATION)
  16. Support for Galileo EV64120 Evaluation board (EXPERIMENTAL) (MIPS_EV64120)
  17. Support for Galileo EV96100 Evaluation board (EXPERIMENTAL) (MIPS_EV96100)
  18. Support for Globespan IVR board (MIPS_IVR)
  19. Support for ITE 8172G board (MIPS_ITE8172)
  20. Support for the Jazz family of machines (MACH_JAZZ)
  21. Support for LASAT Networks platforms (LASAT)
  22. Support for MIPS Atlas board (MIPS_ATLAS)
  23. Support for MIPS Malta board (MIPS_MALTA)
  24. Support for MIPS SEAD board (EXPERIMENTAL) (MIPS_SEAD)
  25. Support for MIPS simulator (MIPSsim) (MIPS_SIM)
  26. Support for Momentum Jaguar board (MOMENCO_JAGUAR_ATX)
  27. Support for Momentum Ocelot board (MOMENCO_OCELOT)
  28. Support for Momentum Ocelot-3 board (MOMENCO_OCELOT_3)
  29. Support for Momentum Ocelot-C board (MOMENCO_OCELOT_C)
  30. Support for Momentum Ocelot-G board (MOMENCO_OCELOT_G)
  31. Support for MyCable XXS1500 board (MIPS_XXS1500)
  32. Support for Philips PNX8550 based Viper2-PCI board (PNX8550_V2PCI)
  33. Support for Philips PNX8550 based JBS board (PNX8550_JBS)
  34. Support for NEC DDB Vrc-5074 (EXPERIMENTAL) (DDB5074)
  35. Support for NEC DDB Vrc-5476 (DDB5476)
  36. Support for NEC DDB Vrc-5477 (DDB5477)
  37. Support for NEC VR41XX-based machines (MACH_VR41XX)
  38. Support for PMC-Sierra Yosemite eval board (PMC_YOSEMITE)
  39. Support for Qemu (QEMU)
  40. Support for SGI IP22 (Indy/Indigo2) (SGI_IP22)
  41. Support for SGI IP27 (Origin200/2000) (SGI_IP27)
  42. Support for SGI IP32 (O2) (EXPERIMENTAL) (SGI_IP32)
  43. Support for Sibyte BigSur (SIBYTE_BIGSUR)
  44. Support for Sibyte BCM91250A-SWARM (SIBYTE_SWARM)
  45. Support for Sibyte BCM91250E-Sentosa (SIBYTE_SENTOSA)
  46. Support for Sibyte BCM91125E-Rhone (SIBYTE_RHONE)
  47. Support for Sibyte BCM91120x-Carmel (SIBYTE_CARMEL)
  48. Support for Sibyte BCM91250PT-PTSWARM (SIBYTE_PTSWARM)
  49. Support for Sibyte BCM91250C2-LittleSur (SIBYTE_LITTLESUR)
  50. Support for Sibyte BCM91120C-CRhine (SIBYTE_CRHINE)
  51. Support for Sibyte BCM91125C-CRhone (SIBYTE_CRHONE)
  52. Support for SNI RM200 PCI (SNI_RM200_PCI)
  53. Support for Toshiba JMR-TX3927 board (TOSHIBA_JMR3927)
  54. Support for Toshiba TBTX49[23]7 board (TOSHIBA_RBTX4927)
  55. Support for Toshiba RBTX4938 board (TOSHIBA_RBTX4938)
> 56. Support for Atheros ar7100 based boards (MACH_AR7100)
choice[1-56]: 56
  Support for Atheros ar9100 extenstions to ar7100 (AR9100) [Y/n] y
Endianess selection
> 1. Big endian (CPU_BIG_ENDIAN)
choice[1]: 1
*
* CPU selection
*
CPU type
  1. MIPS32 Release 1 (CPU_MIPS32_R1)
> 2. MIPS32 Release 2 (CPU_MIPS32_R2)
choice[1-2]: 2
*
* Kernel type
*
Kernel code model
> 1. 32-bit kernel (32BIT)
choice[1]: 1
Kernel page size
> 1. 4kB (PAGE_SIZE_4KB)
  2. 16kB (PAGE_SIZE_16KB)
  3. 64kB (PAGE_SIZE_64KB)
choice[1-3]: 1
Enable MIPS MT (MIPS_MT) [N/y] n
Support for 64-bit physical address space (64BIT_PHYS_ADDR) [N/y] n
Override CPU Options (CPU_ADVANCED) [Y/n/?] y
  ll/sc Instructions available (CPU_HAS_LLSC) [Y/n/?] y
  Writeback Buffer available (CPU_HAS_WB) [N/y/?] n
  *
  * MIPSR2 Interrupt handling
  *
  Vectored interrupt mode (CPU_MIPSR2_IRQ_VI) [N/y/?] n
  External interrupt controller mode (CPU_MIPSR2_IRQ_EI) [N/y/?] n
Memory model
> 1. Flat Memory (FLATMEM_MANUAL)
choice[1]: 1
Preemption Model
> 1. No Forced Preemption (Server) (PREEMPT_NONE)
  2. Voluntary Kernel Preemption (Desktop) (PREEMPT_VOLUNTARY)
  3. Preemptible Kernel (Low-Latency Desktop) (PREEMPT)
choice[1-3]: 1
*
* Code maturity level options
*
Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [Y/n/?] y
  Select only drivers expected to compile cleanly (CLEAN_COMPILE) [Y/n/?] y
*
* General setup
*
Local version - append to kernel release (LOCALVERSION) [] 
Automatically append version information to the version string (LOCALVERSION_AUTO) [Y/n/?] y
Support for paging of anonymous memory (swap) (SWAP) [N/y/?] n
System V IPC (SYSVIPC) [N/y/?] n
POSIX Message Queues (POSIX_MQUEUE) [N/y/?] n
BSD Process Accounting (BSD_PROCESS_ACCT) [N/y/?] n
Sysctl support (SYSCTL) [Y/n/?] y
Auditing support (AUDIT) [N/y/?] n
Support for hot-pluggable devices (HOTPLUG) [N/y/?] n
Kernel Userspace Events (KOBJECT_UEVENT) [N/y/?] n
Kernel .config support (IKCONFIG) [N/y/?] n
Initramfs source file(s) (INITRAMFS_SOURCE) [] 
Optimize for size (Look out for broken compilers!) (CC_OPTIMIZE_FOR_SIZE) [N/y/?] n
*
* Configure standard kernel features (for small systems)
*
Configure standard kernel features (for small systems) (EMBEDDED) [Y/?] y
  Load all symbols for debugging/kksymoops (KALLSYMS) [Y/n/?] y
    Include all symbols in kallsyms (KALLSYMS_ALL) [N/y/?] n
    Do an extra kallsyms pass (KALLSYMS_EXTRA_PASS) [Y/n/?] y
  Enable support for printk (PRINTK) [Y/n/?] y
  BUG() support (BUG) [Y/n/?] y
  Enable full-sized data structures for core (BASE_FULL) [N/y/?] n
  Enable futex support (FUTEX) [N/y/?] n
  Enable eventpoll support (EPOLL) [N/y/?] n
  Use full shmem filesystem (SHMEM) [N/y/?] n
  Function alignment (CC_ALIGN_FUNCTIONS) [0] 0
  Label alignment (CC_ALIGN_LABELS) [0] 0
  Loop alignment (CC_ALIGN_LOOPS) [0] 0
  Jump alignment (CC_ALIGN_JUMPS) [0] 0
*
* Loadable module support
*
Enable loadable module support (MODULES) [Y/n/?] y
  Module unloading (MODULE_UNLOAD) [Y/n/?] y
    Forced module unloading (MODULE_FORCE_UNLOAD) [N/y/?] n
  Module versioning support (EXPERIMENTAL) (MODVERSIONS) [Y/n/?] y
  Source checksum for all modules (MODULE_SRCVERSION_ALL) [N/y/?] n
  Automatic kernel module loading (KMOD) [N/y/?] n
*
* Block layer
*
Support for Large Block Devices (LBD) [N/y/?] n
*
* IO Schedulers
*
Anticipatory I/O scheduler (IOSCHED_AS) [N/m/y/?] n
Deadline I/O scheduler (IOSCHED_DEADLINE) [N/m/y/?] n
CFQ I/O scheduler (IOSCHED_CFQ) [N/m/y/?] n
Default I/O scheduler
> 1. No-op (DEFAULT_NOOP)
choice[1]: 1
*
* Bus options (PCI, PCMCIA, EISA, ISA, TC)
*
Support for PCI controller (PCI) [N/y/?] n
*
* PCCARD (PCMCIA/CardBus) support
*
PCCard (PCMCIA/CardBus) support (PCCARD) [N/m/y/?] n
*
* PCI Hotplug Support
*
*
* Executable file formats
*
Kernel support for ELF binaries (BINFMT_ELF) [Y/n/?] y
Kernel support for MISC binaries (BINFMT_MISC) [N/m/y/?] n
*
* Networking
*
Networking support (NET) [Y/n/?] y
  *
  * Networking options
  *
  Packet socket (PACKET) [Y/n/m/?] y
    Packet socket: mmapped IO (PACKET_MMAP) [N/y/?] n
  Unix domain sockets (UNIX) [Y/n/m/?] y
  PF_KEY sockets (NET_KEY) [N/m/y/?] n
  TCP/IP networking (INET) [Y/n/?] y
    IP: multicasting (IP_MULTICAST) [N/y/?] n
    IP: advanced router (IP_ADVANCED_ROUTER) [N/y/?] n
    IP: kernel level autoconfiguration (IP_PNP) [N/y/?] n
    IP: tunneling (NET_IPIP) [N/m/y/?] n
    IP: GRE tunnels over IP (NET_IPGRE) [N/m/y/?] n
    IP: ARP daemon support (EXPERIMENTAL) (ARPD) [N/y/?] n
    IP: TCP syncookie support (disabled per default) (SYN_COOKIES) [Y/n/?] y
    IP: AH transformation (INET_AH) [N/m/y/?] n
    IP: ESP transformation (INET_ESP) [N/m/y/?] n
    IP: IPComp transformation (INET_IPCOMP) [N/m/y/?] n
    IP: tunnel transformation (INET_TUNNEL) [N/m/y/?] n
    INET: socket monitoring interface (INET_DIAG) [N/m/y/?] n
    TCP: advanced congestion control (TCP_CONG_ADVANCED) [N/y/?] n
    *
    * IP: Virtual Server Configuration
    *
    IP virtual server support (EXPERIMENTAL) (IP_VS) [N/m/y/?] n
    The IPv6 protocol (IPV6) [N/m/y/?] n
  *
  * Network packet filtering (replaces ipchains)
  *
  Network packet filtering (replaces ipchains) (NETFILTER) [Y/n/?] y
    Network packet filtering debugging (NETFILTER_DEBUG) [N/y/?] n
    Bridged IP/ARP packets filtering (BRIDGE_NETFILTER) [N/y/?] n
    *
    * Core Netfilter Configuration
    *
    Netfilter netlink interface (NETFILTER_NETLINK) [N/m/y/?] n
    *
    * IP: Netfilter Configuration
    *
    Connection tracking (required for masq/NAT) (IP_NF_CONNTRACK) [Y/n/m/?] y
      Connection tracking flow accounting (IP_NF_CT_ACCT) [Y/n/?] y
      Conntrack port reservation (IP_NF_CT_SCAN) [Y/n/?] y
    Module for tracking NAT-ed sessions (IP_NF_CT_NAT_SESSION) [Y/n/?] y
    IP Route option wihtout SNAT (IP_NF_CT_ROUTE) [Y/n/?] y
    Connection mark tracking support (IP_NF_CONNTRACK_MARK) [Y/n/?] y
    Connection tracking events (EXPERIMENTAL) (IP_NF_CONNTRACK_EVENTS) [N/y/?] n
    SCTP protocol connection tracking support (EXPERIMENTAL) (IP_NF_CT_PROTO_SCTP) [N/m/y/?] n
    ALG control conntrack refreshing support (IP_NF_ALG_REFRESH) [Y/n/m/?] y
    FTP protocol support (IP_NF_FTP) [Y/n/m/?] y
    IRC protocol support (IP_NF_IRC) [N/m/y/?] n
    NetBIOS name service protocol support (EXPERIMENTAL) (IP_NF_NETBIOS_NS) [N/m/y/?] n
    TFTP protocol support (IP_NF_TFTP) [N/m/y/?] n
    Amanda backup protocol support (IP_NF_AMANDA) [N/m/y/?] n
    PPTP protocol support (IP_NF_PPTP) [Y/n/m/?] y
    SIP support (IP_NF_SIP) [M/n/y/?] m
    H.323 protocol support (EXPERIMENTAL) (IP_NF_H323) [Y/n/m/?] y
     RTSP protocol support (IP_NF_RTSP) [Y/n/m/?] y
    IP Userspace queueing via NETLINK (OBSOLETE) (IP_NF_QUEUE) [N/m/y/?] n
    IP tables support (required for filtering/masq/NAT) (IP_NF_IPTABLES) [Y/n/m/?] y
      limit match support (IP_NF_MATCH_LIMIT) [Y/n/m/?] y
      IP range match support (IP_NF_MATCH_IPRANGE) [Y/n/m/?] y
      MAC address match support (IP_NF_MATCH_MAC) [Y/n/m/?] y
      Packet type match support (IP_NF_MATCH_PKTTYPE) [N/m/y/?] n
      netfilter MARK match support (IP_NF_MATCH_MARK) [Y/n/m/?] y
      Multiple port match support (IP_NF_MATCH_MULTIPORT) [Y/n/m/?] y
      TOS match support (IP_NF_MATCH_TOS) [Y/n/m/?] y
      recent match support (IP_NF_MATCH_RECENT) [N/m/y/?] n
      ECN match support (IP_NF_MATCH_ECN) [N/m/y/?] n
      DSCP match support (IP_NF_MATCH_DSCP) [Y/n/m/?] y
      AH/ESP match support (IP_NF_MATCH_AH_ESP) [N/m/y/?] n
      LENGTH match support (IP_NF_MATCH_LENGTH) [N/m/y/?] n
      TTL match support (IP_NF_MATCH_TTL) [N/m/y/?] n
      tcpmss match support (IP_NF_MATCH_TCPMSS) [N/m/y/?] n
      Helper match support (IP_NF_MATCH_HELPER) [N/m/y/?] n
      Connection state match support (IP_NF_MATCH_STATE) [Y/n/m/?] y
      Connection tracking match support (IP_NF_MATCH_CONNTRACK) [N/m/y/?] n
      Owner match support (IP_NF_MATCH_OWNER) [N/m/y/?] n
      address type match support (IP_NF_MATCH_ADDRTYPE) [N/m/y/?] n
      realm match support (IP_NF_MATCH_REALM) [N/m/y/?] n
      SCTP protocol match support (IP_NF_MATCH_SCTP) [N/m/y/?] n
      DCCP protocol match support (IP_NF_MATCH_DCCP) [N/m/y/?] n
      comment match support (IP_NF_MATCH_COMMENT) [N/m/y/?] n
      Connection mark match support (IP_NF_MATCH_CONNMARK) [N/m/y/?] n
      Connection byte/packet counter match support (IP_NF_MATCH_CONNBYTES) [N/m/y/?] n
      hashlimit match support (IP_NF_MATCH_HASHLIMIT) [N/m/y/?] n
      string match support (IP_NF_MATCH_STRING) [Y/n/m/?] y
      log match support (IP_NF_MATCH_LOG) [Y/n/m/?] y
      peer-2-peer traffic match support (IP_NF_MATCH_IPP2P) [Y/n/m/?] y
      special traffic based on port and content match support (IP_NF_MATCH_DNIFILTER) [Y/n/m/?] y
      DNS Hijack match support (IP_NF_MATCH_DNS_HIJACK) [Y/n/m/?] y
      Packet filtering (IP_NF_FILTER) [Y/n/m/?] y
        REJECT target support (IP_NF_TARGET_REJECT) [Y/n/m/?] y
      SYNFLOOD target support (IP_NF_TARGET_SYNFLOOD) [M/n/y/?] m
      LOG target support (IP_NF_TARGET_LOG) [Y/n/m/?] y
      ULOG target support (OBSOLETE) (IP_NF_TARGET_ULOG) [N/m/y/?] n
      TCPMSS target support (IP_NF_TARGET_TCPMSS) [Y/n/m/?] y
      NFQUEUE Target Support (IP_NF_TARGET_NFQUEUE) [Y/n/m/?] y
    port triggering match support (IP_NF_TARGET_TRIGGER) [Y/n/m] y
    Full NAT (IP_NF_NAT) [Y/n/m/?] y
      MASQUERADE target support (IP_NF_TARGET_MASQUERADE) [Y/n/m/?] y
      REDIRECT target support (IP_NF_TARGET_REDIRECT) [Y/n/m/?] y
      SNATP2P target support (IP_NF_TARGET_SNATP2P) [Y/n/m/?] y
      NETMAP target support (IP_NF_TARGET_NETMAP) [N/m/y/?] n
      SAME target support (IP_NF_TARGET_SAME) [N/m/y/?] n
      Basic SNMP-ALG support (EXPERIMENTAL) (IP_NF_NAT_SNMP_BASIC) [Y/n/m/?] y
    Packet mangling (IP_NF_MANGLE) [Y/n/m/?] y
      TOS target support (IP_NF_TARGET_TOS) [Y/n/m/?] y
      ECN target support (IP_NF_TARGET_ECN) [N/m/y/?] n
      DSCP target support (IP_NF_TARGET_DSCP) [Y/n/m/?] y
      MARK target support (IP_NF_TARGET_MARK) [Y/n/m/?] y
      CLASSIFY target support (IP_NF_TARGET_CLASSIFY) [N/m/y/?] n
      TTL target support (IP_NF_TARGET_TTL) [N/m/y/?] n
      CONNMARK target support (IP_NF_TARGET_CONNMARK) [Y/n/m/?] y
      CLUSTERIP target support (EXPERIMENTAL) (IP_NF_TARGET_CLUSTERIP) [N/m/y/?] n
    raw table support (required for NOTRACK/TRACE) (IP_NF_RAW) [N/m/y/?] n
    ARP tables support (IP_NF_ARPTABLES) [N/m/y/?] n
    *
    * Bridge: Netfilter Configuration
    *
    Ethernet Bridge tables (ebtables) support (BRIDGE_NF_EBTABLES) [N/m/y/?] n
  *
  * DCCP Configuration (EXPERIMENTAL)
  *
  The DCCP Protocol (EXPERIMENTAL) (IP_DCCP) [N/m/y/?] n
  *
  * SCTP Configuration (EXPERIMENTAL)
  *
  The SCTP Protocol (EXPERIMENTAL) (IP_SCTP) [N/m/y/?] n
  Asynchronous Transfer Mode (ATM) (EXPERIMENTAL) (ATM) [N/m/y/?] n
  802.1d Ethernet Bridging (BRIDGE) [Y/n/m/?] y
  802.1Q VLAN Support (VLAN_8021Q) [N/m/y/?] n
  DECnet Support (DECNET) [N/m/y/?] n
  ANSI/IEEE 802.2 LLC type 2 Support (LLC2) [N/m/y/?] n
  The IPX protocol (IPX) [N/m/y/?] n
  Appletalk protocol support (ATALK) [N/m/y/?] n
  CCITT X.25 Packet Layer (EXPERIMENTAL) (X25) [N/m/y/?] n
  LAPB Data Link Driver (EXPERIMENTAL) (LAPB) [N/m/y/?] n
  Frame Diverter (EXPERIMENTAL) (NET_DIVERT) [N/y/?] n
  Acorn Econet/AUN protocols (EXPERIMENTAL) (ECONET) [N/m/y/?] n
  WAN router (WAN_ROUTER) [N/m/y/?] n
  *
  * QoS and/or fair queueing
  *
  QoS and/or fair queueing (NET_SCHED) [Y/n/?] y
    Packet scheduler clock source
    > 1. Timer interrupt (NET_SCH_CLK_JIFFIES)
      2. gettimeofday (NET_SCH_CLK_GETTIMEOFDAY)
    choice[1-2?]: 1
    *
    * Queueing/Scheduling
    *
    Class Based Queueing (CBQ) (NET_SCH_CBQ) [Y/n/m/?] y
    Hierarchical Token Bucket (HTB) (NET_SCH_HTB) [N/m/y/?] n
    Hierarchical Fair Service Curve (HFSC) (NET_SCH_HFSC) [N/m/y/?] n
    Multi Band Priority Queueing (PRIO) (NET_SCH_PRIO) [N/m/y/?] n
    Random Early Detection (RED) (NET_SCH_RED) [N/m/y/?] n
    Stochastic Fairness Queueing (SFQ) (NET_SCH_SFQ) [Y/n/m/?] y
    True Link Equalizer (TEQL) (NET_SCH_TEQL) [N/m/y/?] n
    Token Bucket Filter (TBF) (NET_SCH_TBF) [N/m/y/?] n
    Generic Random Early Detection (GRED) (NET_SCH_GRED) [N/m/y/?] n
    Differentiated Services marker (DSMARK) (NET_SCH_DSMARK) [N/m/y/?] n
    Network emulator (NETEM) (NET_SCH_NETEM) [N/m/y/?] n
    Ingress Qdisc (NET_SCH_INGRESS) [N/m/y/?] n
    *
    * Classification
    *
    Elementary classification (BASIC) (NET_CLS_BASIC) [N/m/y/?] n
    Traffic-Control Index (TCINDEX) (NET_CLS_TCINDEX) [N/m/y/?] n
    Routing decision (ROUTE) (NET_CLS_ROUTE4) [N/m/y/?] n
    Netfilter mark (FW) (NET_CLS_FW) [Y/n/m/?] y
    Universal 32bit comparisons w/ hashing (U32) (NET_CLS_U32) [Y/n/m/?] y
      Performance counters support (CLS_U32_PERF) [Y/n/?] y
      Netfilter marks support (CLS_U32_MARK) [Y/n/?] y
    IPv4 Resource Reservation Protocol (RSVP) (NET_CLS_RSVP) [N/m/y/?] n
    IPv6 Resource Reservation Protocol (RSVP6) (NET_CLS_RSVP6) [N/m/y/?] n
    Extended Matches (NET_EMATCH) [N/y/?] n
    Actions (NET_CLS_ACT) [N/y/?] n
    Traffic Policing (obsolete) (NET_CLS_POLICE) [N/y/?] n
    Incoming device classification (NET_CLS_IND) [N/y/?] n
    Rate estimator (NET_ESTIMATOR) [N/y/?] n
  *
  * Network testing
  *
  Packet Generator (USE WITH CAUTION) (NET_PKTGEN) [N/m/y/?] n
  *
  * Amateur Radio support
  *
  Amateur Radio support (HAMRADIO) [N/y/?] n
  *
  * IrDA (infrared) subsystem support
  *
  IrDA (infrared) subsystem support (IRDA) [N/m/y/?] n
  *
  * Bluetooth subsystem support
  *
  Bluetooth subsystem support (BT) [N/m/y/?] n
  Generic IEEE 802.11 Networking Stack (IEEE80211) [N/m/y/?] n
*
* Device Drivers
*
*
* Generic Driver Options
*
Select only drivers that don't need compile-time external firmware (STANDALONE) [N/y/?] n
Prevent firmware from being built (PREVENT_FIRMWARE_BUILD) [N/y/?] n
Hotplug firmware loading support (FW_LOADER) [N/m/y/?] n
Driver Core verbose debug messages (DEBUG_DRIVER) [N/y/?] n
*
* Connector - unified userspace <-> kernelspace linker
*
Connector - unified userspace <-> kernelspace linker (CONNECTOR) [N/m/y/?] n
*
* Memory Technology Devices (MTD)
*
Memory Technology Device (MTD) support (MTD) [Y/n/m/?] y
  Debugging (MTD_DEBUG) [N/y/?] n
  MTD concatenating support (MTD_CONCAT) [N/m/y/?] n
  MTD partitioning support (MTD_PARTITIONS) [Y/n/?] y
    RedBoot partition table parsing (MTD_REDBOOT_PARTS) [N/m/y/?] n
    Command line partition table parsing (MTD_CMDLINE_PARTS) [Y/n/?] y
  *
  * User Modules And Translation Layers
  *
  Direct char device access to MTD devices (MTD_CHAR) [Y/n/m/?] y
  Caching block device access to MTD devices (MTD_BLOCK) [Y/n/m/?] y
  FTL (Flash Translation Layer) support (FTL) [N/m/y/?] n
  NFTL (NAND Flash Translation Layer) support (NFTL) [N/m/y/?] n
  INFTL (Inverse NAND Flash Translation Layer) support (INFTL) [N/m/y/?] n
  Resident Flash Disk (Flash Translation Layer) support (RFD_FTL) [N/m/y/?] n
  *
  * RAM/ROM/Flash chip drivers
  *
  Detect flash chips by Common Flash Interface (CFI) probe (MTD_CFI) [N/m/y/?] n

Re: cannot build toolchain

Part 2 of 2:

  Detect non-CFI AMD/JEDEC-compatible flash chips (MTD_JEDECPROBE) [N/m/y/?] n
  Support for RAM chips in bus mapping (MTD_RAM) [N/m/y/?] n
  Support for ROM chips in bus mapping (MTD_ROM) [N/m/y/?] n
  Support for absent chips in bus mapping (MTD_ABSENT) [N/m/y/?] n
  *
  * Mapping drivers for chip access
  *
  Support non-linear mappings of flash chips (MTD_COMPLEX_MAPPINGS) [N/y/?] n
  Map driver for platform device RAM (mtd-ram) (MTD_PLATRAM) [N/m/y/?] n
  *
  * Self-contained MTD device drivers
  *
  Uncached system RAM (MTD_SLRAM) [N/m/y/?] n
  Physical system RAM (MTD_PHRAM) [N/m/y/?] n
  Test driver using RAM (MTD_MTDRAM) [N/m/y/?] n
  MTD emulation using block device (MTD_BLKMTD) [N/m/y/?] n
  MTD using block device (rewrite) (MTD_BLOCK2MTD) [N/m/y/?] n
  *
  * Disk-On-Chip Device Drivers
  *
  M-Systems Disk-On-Chip 2000 and Millennium (DEPRECATED) (MTD_DOC2000) [N/m/y/?] n
  M-Systems Disk-On-Chip Millennium-only alternative driver (DEPRECATED) (MTD_DOC2001) [N/m/y/?] n
  M-Systems Disk-On-Chip Millennium Plus (MTD_DOC2001PLUS) [N/m/y/?] n
  Support for ar7100 spi flash (MTD_AR7100_SPI_FLASH) [Y/n] y
  Support for ar9100 parallel flash (MTD_AR9100_PARALLEL_FLASH) [N/y] n
  *
  * NAND Flash Device Drivers
  *
  NAND Device Support (MTD_NAND) [N/m/y/?] n
  *
  * OneNAND Flash Device Drivers
  *
  OneNAND Device Support (MTD_ONENAND) [N/m/y/?] n
*
* Parallel port support
*
Parallel port support (PARPORT) [N/m/y/?] n
*
* Plug and Play support
*
*
* Block devices
*
Loopback device support (BLK_DEV_LOOP) [N/m/y/?] n
Network block device support (BLK_DEV_NBD) [N/m/y/?] n
RAM disk support (BLK_DEV_RAM) [N/m/y/?] n
Packet writing on CD/DVD media (CDROM_PKTCDVD) [N/m/y/?] n
ATA over Ethernet support (ATA_OVER_ETH) [N/m/y/?] n
*
* ATA/ATAPI/MFM/RLL support
*
ATA/ATAPI/MFM/RLL support (IDE) [N/m/y/?] n
*
* SCSI device support
*
RAID Transport Class (RAID_ATTRS) [N/m/y/?] n
SCSI device support (SCSI) [N/m/y/?] n
*
* Multi-device support (RAID and LVM)
*
Multiple devices driver support (RAID and LVM) (MD) [N/y/?] n
*
* Fusion MPT device support
*
*
* IEEE 1394 (FireWire) support
*
*
* I2O device support
*
*
* Network device support
*
Network device support (NETDEVICES) [Y/n/?] y
  Dummy net driver support (DUMMY) [N/m/y/?] n
  Bonding driver support (BONDING) [N/m/y/?] n
  EQL (serial line load balancing) support (EQUALIZER) [N/m/y/?] n
  Universal TUN/TAP device driver support (TUN) [N/m/y/?] n
  *
  * PHY device support
  *
  PHY Device support and infrastructure (PHYLIB) [N/m/y/?] n
  *
  * Ethernet (10 or 100Mbit)
  *
  Ethernet (10 or 100Mbit) (NET_ETHERNET) [Y/n/?] y
    Generic Media Independent Interface device support (MII) [N/m/y/?] n
  *
  * Ethernet (1000 Mbit)
  *
  Atheros AR7100 GigE (AG7100) [M/n/y/?] m
    port 0 interface
      1. MII mode (AG7100_GE0_MII)
    > 2. RMII mode (AG7100_GE0_RMII)
      3. RGMII mode (AG7100_GE0_RGMII)
      4. GMII mode (AG7100_GE0_GMII)
    choice[1-4]: 2
    port 1 is connected to a PHY (AG7100_GE1_IS_CONNECTED) [Y/n] y
      port 1 interface (depends on port0)
      > 1. RMII mode (AG7100_GE1_RMII)
        2. RGMII mode (AG7100_GE1_RGMII)
      choice[1-2]: 1
    Configure port 0 interface as Switch (PORT0_AS_SWITCH) [Y/n/?] y
    PHY or switch used
      1. Atheros F1 GigE Phy (ATHR_PHY)
    > 2. Atheros S26 Phy (ATHRS26_PHY)
      3. Vitesse GigE Phy 8201 (VITESSE_PHY)
      4. Vitesse Gige Phy 8601 on MAC0 and optionally on MAC1 (VITESSE_8601_PHY)
      5. Vitesse Gige Phy 8601 on MAC0 / VSC73XX Switch on MAC1 (VITESSE_8601_7395_PHY)
      6. IP Icplus Phy (ICPLUS_PHY)
      7. Rtl8201 (REALTEK_PHY)
      8. AdmTek 6996FC (ADM6996FC_PHY)
    choice[1-8]: 2
  Len per tx descriptor (AG7100_LEN_PER_TX_DS) [1536] 1536
  Number tx pkts (AG7100_NUMBER_TX_PKTS) [40] 40
  Number rx pkts (AG7100_NUMBER_RX_PKTS) [252] 252
  Print realtime trace on asserts, this will negatively affect performance (AG7100_USE_TRC) [N/y] n
  *
  * Ethernet (10000 Mbit)
  *
  *
  * Token Ring devices
  *
  *
  * Wireless LAN (non-hamradio)
  *
  Wireless LAN drivers (non-hamradio) & Wireless Extensions (NET_RADIO) [Y/n/?] y
    *
    * Obsolete Wireless cards support (pre-802.11)
    *
    STRIP (Metricom starmode radio IP) (STRIP) [N/m/y/?] n
  Atmel at76c50x chipset  802.11b support (ATMEL) [N/m/y/?] n
  IEEE 802.11 for Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP) (HOSTAP) [N/m/y/?] n
  *
  * Wan interfaces
  *
  Wan interfaces support (WAN) [N/y/?] n
  PPP (point-to-point protocol) support (PPP) [M/n/y/?] m
    PPP multilink support (EXPERIMENTAL) (PPP_MULTILINK) [N/y/?] n
    PPP filtering (PPP_FILTER) [N/y/?] n
    PPP support for async serial ports (PPP_ASYNC) [M/n/?] m
    PPP support for sync tty ports (PPP_SYNC_TTY) [N/m/?] n
    PPP Deflate compression (PPP_DEFLATE) [N/m/?] n
    PPP BSD-Compress compression (PPP_BSDCOMP) [N/m/?] n
    PPP MPPE compression (encryption) (EXPERIMENTAL) (PPP_MPPE) [N/m/?] n
    PPP over Ethernet (EXPERIMENTAL) (PPPOE) [M/n/?] m
    PPP over GRE (PPTP) [M/n/?] m
  SLIP (serial line) support (SLIP) [N/m/y/?] n
  Traffic Shaper (EXPERIMENTAL) (SHAPER) [N/m/y/?] n
  Network console logging support (EXPERIMENTAL) (NETCONSOLE) [N/m/y/?] n
*
* ISDN subsystem
*
ISDN support (ISDN) [N/m/y/?] n
*
* Telephony Support
*
Linux telephony support (PHONE) [N/m/y/?] n
*
* Input device support
*
Generic input layer (needed for keyboard, mouse, ...) (INPUT) [N/m/y/?] n
*
* Hardware I/O ports
*
Serial I/O support (SERIO) [N/m/y/?] n
Gameport support (GAMEPORT) [N/m/y/?] n
*
* Character devices
*
Virtual terminal (VT) [N/y/?] n
Non-standard serial port support (SERIAL_NONSTANDARD) [N/y/?] n
*
* Serial drivers
*
8250/16550 and compatible serial support (SERIAL_8250) [Y/n/m/?] y
  Console on 8250/16550 and compatible serial port (SERIAL_8250_CONSOLE) [Y/n/?] y
  Maximum number of 8250/16550 serial ports (SERIAL_8250_NR_UARTS) [1] 1
  Extended 8250/16550 serial driver options (SERIAL_8250_EXTENDED) [N/y/?] n
*
* Non-8250 serial port support
*
Unix98 PTY support (UNIX98_PTYS) [Y/n/?] y
Legacy (BSD) PTY support (LEGACY_PTYS) [N/y/?] n
*
* IPMI
*
IPMI top-level message handler (IPMI_HANDLER) [N/m/y/?] n
*
* Watchdog Cards
*
Watchdog Timer Support (WATCHDOG) [Y/n/?] y
  Disable watchdog shutdown on close (WATCHDOG_NOWAYOUT) [N/y/?] n
  *
  * Watchdog Device Drivers
  *
  Software watchdog (SOFT_WATCHDOG) [N/m/y/?] n
Enhanced Real Time Clock Support (RTC) [N/m/y/?] n
Generic /dev/rtc emulation (GEN_RTC) [N/m/y/?] n
Double Talk PC internal speech card support (DTLK) [N/m/y/?] n
Siemens R3964 line discipline (R3964) [N/m/y/?] n
*
* Ftape, the floppy tape device driver
*
RAW driver (/dev/raw/rawN) (OBSOLETE) (RAW_DRIVER) [N/m/y/?] n
*
* TPM devices
*
TPM Hardware Support (TCG_TPM) [N/m/y/?] n
Telecom clock driver for MPBL0010 ATCA SBC (TELCLOCK) [N/m/y/?] n
*
* I2C support
*
I2C support (I2C) [N/m/y/?] n
*
* Dallas's 1-wire bus
*
Dallas's 1-wire support (W1) [N/m/y/?] n
*
* Hardware Monitoring support
*
Hardware Monitoring support (HWMON) [N/m/y/?] n
*
* Misc devices
*
*
* Multimedia Capabilities Port drivers
*
*
* Multimedia devices
*
Video For Linux (VIDEO_DEV) [N/m/y/?] n
*
* Digital Video Broadcasting Devices
*
DVB For Linux (DVB) [N/y/?] n
*
* Graphics support
*
Support for frame buffer devices (FB) [N/m/y/?] n
*
* Sound
*
Sound card support (SOUND) [N/m/y/?] n
*
* USB support
*
Support for Host-side USB (USB) [N/m/y/?] n
*
* NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
*
*
* USB Gadget Support
*
Support for USB Gadgets (USB_GADGET) [N/m/y/?] n
*
* MMC/SD Card support
*
MMC support (MMC) [N/m/y/?] n
*
* InfiniBand support
*
*
* SN Devices
*
*
* File systems
*
Second extended fs support (EXT2_FS) [N/m/y/?] n
Ext3 journalling file system support (EXT3_FS) [N/m/y/?] n
Reiserfs support (REISERFS_FS) [N/m/y/?] n
JFS filesystem support (JFS_FS) [N/m/y/?] n
XFS filesystem support (XFS_FS) [N/m/y/?] n
Minix fs support (MINIX_FS) [N/m/y/?] n
ROM file system support (ROMFS_FS) [N/m/y/?] n
Inotify file change notification support (INOTIFY) [N/y/?] n
Quota support (QUOTA) [N/y/?] n
Dnotify support (DNOTIFY) [N/y/?] n
Kernel automounter support (AUTOFS_FS) [N/m/y/?] n
Kernel automounter version 4 support (also supports v3) (AUTOFS4_FS) [N/m/y/?] n
Filesystem in Userspace support (FUSE_FS) [N/m/y/?] n
*
* CD-ROM/DVD Filesystems
*
ISO 9660 CDROM file system support (ISO9660_FS) [N/m/y/?] n
UDF file system support (UDF_FS) [N/m/y/?] n
*
* DOS/FAT/NT Filesystems
*
MSDOS fs support (MSDOS_FS) [N/m/y/?] n
VFAT (Windows-95) fs support (VFAT_FS) [N/m/y/?] n
NTFS file system support (NTFS_FS) [N/m/y/?] n
*
* Pseudo filesystems
*
/proc file system support (PROC_FS) [Y/n/?] y
  /proc/kcore support (PROC_KCORE) [N/y] n
sysfs file system support (SYSFS) [N/y/?] n
Virtual memory file system support (former shm fs) (TMPFS) [N/y/?] n
Relayfs file system support (RELAYFS_FS) [N/m/y/?] n
*
* Miscellaneous filesystems
*
ADFS file system support (EXPERIMENTAL) (ADFS_FS) [N/m/y/?] n
Amiga FFS file system support (EXPERIMENTAL) (AFFS_FS) [N/m/y/?] n
Apple Macintosh file system support (EXPERIMENTAL) (HFS_FS) [N/m/y/?] n
Apple Extended HFS file system support (HFSPLUS_FS) [N/m/y/?] n
BeOS file system (BeFS) support (read only) (EXPERIMENTAL) (BEFS_FS) [N/m/y/?] n
BFS file system support (EXPERIMENTAL) (BFS_FS) [N/m/y/?] n
EFS file system support (read only) (EXPERIMENTAL) (EFS_FS) [N/m/y/?] n
Journalling Flash File System (JFFS) support (JFFS_FS) [N/m/y/?] n
Journalling Flash File System v2 (JFFS2) support (JFFS2_FS) [N/m/y/?] n
Compressed ROM file system support (cramfs) (CRAMFS) [N/m/y/?] n
SquashFS 3.0 - Squashed file system support (SQUASHFS) [Y/n/m/?] y
  Additional options for memory-constrained systems (SQUASHFS_EMBEDDED) [N/y/?] n
FreeVxFS file system support (VERITAS VxFS(TM) compatible) (VXFS_FS) [N/m/y/?] n
OS/2 HPFS file system support (HPFS_FS) [N/m/y/?] n
QNX4 file system support (read only) (QNX4FS_FS) [N/m/y/?] n
System V/Xenix/V7/Coherent file system support (SYSV_FS) [N/m/y/?] n
UFS file system support (read only) (UFS_FS) [N/m/y/?] n
*
* Network File Systems
*
NFS file system support (NFS_FS) [N/m/y/?] n
NFS server support (NFSD) [N/m/y/?] n
SMB file system support (to mount Windows shares etc.) (SMB_FS) [N/m/y/?] n
CIFS support (advanced network filesystem for Samba, Window and other CIFS compliant servers) (CIFS) [N/m/y/?] n
NCP file system support (to mount NetWare volumes) (NCP_FS) [N/m/y/?] n
Coda file system support (advanced network fs) (CODA_FS) [N/m/y/?] n
Andrew File System support (AFS) (Experimental) (AFS_FS) [N/m/y/?] n
Plan 9 Resource Sharing Support (9P2000) (Experimental) (9P_FS) [N/m/y/?] n
*
* Partition Types
*
Advanced partition selection (PARTITION_ADVANCED) [N/y/?] n
*
* Native Language Support
*
Base native language support (NLS) [N/m/y/?] n
*
* Profiling support
*
Profiling support (EXPERIMENTAL) (PROFILING) [N/y/?] n
*
* Kernel hacking
*
Show timing information on printks (PRINTK_TIME) [N/y/?] n
Kernel debugging (DEBUG_KERNEL) [Y/n/?] y
  Magic SysRq key (MAGIC_SYSRQ) [N/y/?] n
  Kernel log buffer size (16 => 64KB, 17 => 128KB) (LOG_BUF_SHIFT) [14] 14
  Detect Soft Lockups (DETECT_SOFTLOCKUP) [N/y/?] n
  Collect scheduler statistics (SCHEDSTATS) [N/y/?] n
  Debug memory allocations (DEBUG_SLAB) [N/y/?] n
  Spinlock debugging (DEBUG_SPINLOCK) [N/y/?] n
  Sleep-inside-spinlock checking (DEBUG_SPINLOCK_SLEEP) [N/y/?] n
  kobject debugging (DEBUG_KOBJECT) [N/y/?] n
  Compile the kernel with debug info (DEBUG_INFO) [N/y/?] n
  Debug VM (DEBUG_VM) [N/y/?] n
  torture tests for RCU (RCU_TORTURE_TEST) [N/m/y/?] n
Are you using a crosscompiler (CROSSCOMPILE) [Y/n/?] y
Default kernel command string (CMDLINE) ["console=ttyS0,115200 root=01:00 rd_start=0x80600000 rd_size=8388608 init=/sbin/init"] "console=ttyS0,115200 root=01:00 rd_start=0x80600000 rd_size=8388608 init=/sbin/init"
Enable stack utilization instrumentation (DEBUG_STACK_USAGE) [N/y/?] n
Remote GDB kernel debugging (KGDB) [N/y/?] n
Enable run-time debugging (RUNTIME_DEBUG) [N/y/?] n
Run uncached (MIPS_UNCACHED) [N/y/?] n
*
* Security options
*
Enable access key retention support (KEYS) [N/y/?] n
*
* Cryptographic options
*
Cryptographic API (CRYPTO) [Y/n/?] y
  HMAC support (CRYPTO_HMAC) [N/y/?] n
  Null algorithms (CRYPTO_NULL) [N/m/y/?] n
  MD4 digest algorithm (CRYPTO_MD4) [N/m/y/?] n
  MD5 digest algorithm (CRYPTO_MD5) [N/m/y/?] n
  SHA1 digest algorithm (CRYPTO_SHA1) [N/m/y/?] n
  SHA256 digest algorithm (CRYPTO_SHA256) [N/m/y/?] n
  SHA384 and SHA512 digest algorithms (CRYPTO_SHA512) [N/m/y/?] n
  Whirlpool digest algorithms (CRYPTO_WP512) [N/m/y/?] n
  Tiger digest algorithms (CRYPTO_TGR192) [N/m/y/?] n
  DES and Triple DES EDE cipher algorithms (CRYPTO_DES) [N/m/y/?] n
  Blowfish cipher algorithm (CRYPTO_BLOWFISH) [N/m/y/?] n
  Twofish cipher algorithm (CRYPTO_TWOFISH) [N/m/y/?] n
  Serpent cipher algorithm (CRYPTO_SERPENT) [N/m/y/?] n
  AES cipher algorithms (CRYPTO_AES) [Y/n/m/?] y
  CAST5 (CAST-128) cipher algorithm (CRYPTO_CAST5) [N/m/y/?] n
  CAST6 (CAST-256) cipher algorithm (CRYPTO_CAST6) [N/m/y/?] n
  TEA, XTEA and XETA cipher algorithms (CRYPTO_TEA) [N/m/y/?] n
  ARC4 cipher algorithm (CRYPTO_ARC4) [N/m/y/?] n
  Khazad cipher algorithm (CRYPTO_KHAZAD) [N/m/y/?] n
  Anubis cipher algorithm (CRYPTO_ANUBIS) [N/m/y/?] n
  Deflate compression algorithm (CRYPTO_DEFLATE) [N/m/y/?] n
  Michael MIC keyed digest algorithm (CRYPTO_MICHAEL_MIC) [N/m/y/?] n
  CRC32c CRC algorithm (CRYPTO_CRC32C) [N/m/y/?] n
  Testing module (CRYPTO_TEST) [N/m/y/?] n
*
* Hardware crypto devices
*
*
* Library routines
*
CRC-CCITT functions (CRC_CCITT) [M/y/?] m
CRC16 functions (CRC16) [N/m/y/?] n
CRC32 functions (CRC32) [N/m/y/?] n
CRC32c (Castagnoli, et al) Cyclic Redundancy-Check (LIBCRC32C) [N/m/y/?] n
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  SYMLINK include/asm -> include/asm-mips
  SPLIT   include/linux/autoconf.h -> include/config/*
  CC      arch/mips/kernel/asm-offsets.s
  GEN     include/asm-mips/asm-offsets.h
  HOSTCC  scripts/genksyms/genksyms.o
  SHIPPED scripts/genksyms/lex.c
  SHIPPED scripts/genksyms/parse.h
  SHIPPED scripts/genksyms/keywords.c
  HOSTCC  scripts/genksyms/lex.o
scripts/genksyms/lex.c: In function 'yylex1':
scripts/genksyms/lex.l:95: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
scripts/genksyms/lex.l: At top level:
scripts/genksyms/lex.c:1230: warning: 'input' defined but not used
  SHIPPED scripts/genksyms/parse.c
  HOSTCC  scripts/genksyms/parse.o
  HOSTLD  scripts/genksyms/genksyms
  CC      scripts/mod/empty.o
  HOSTCC  scripts/mod/mk_elfconfig
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
  HOSTCC  scripts/kallsyms
scripts/kallsyms.c: In function 'read_symbol':
scripts/kallsyms.c:83: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
make[5]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/linux-2.6.15'
touch /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/linux-2.6.15/.configured
rm -rf /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/modules
ln -sf /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/linux-2.6.15 /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux
make -j1 -C "/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/linux-2.6.15" CROSS_COMPILE="mips-linux-" CC="mips-linux-gcc" ARCH=mips modules
make[5]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/linux-2.6.15'
  CHK     include/linux/version.h
  CC [M]  drivers/net/ppp_generic.o
  CC [M]  drivers/net/slhc.o
  CC [M]  drivers/net/ppp_async.o
  CC [M]  drivers/net/pppox.o
  CC [M]  drivers/net/pppoe.o
  CC [M]  drivers/net/pptp.o
  CC [M]  net/ipv4/netfilter/ip_conntrack_sip.o
  CC [M]  net/ipv4/netfilter/ip_nat_sip.o
  CC [M]  net/ipv4/netfilter/ipt_SYNFLOOD.o
  CC [M]  lib/crc-ccitt.o
  Building modules, stage 2.
  MODPOST
  CC      drivers/net/ppp_async.mod.o
  LD [M]  drivers/net/ppp_async.ko
  CC      drivers/net/ppp_generic.mod.o
  LD [M]  drivers/net/ppp_generic.ko
  CC      drivers/net/pppoe.mod.o
  LD [M]  drivers/net/pppoe.ko
  CC      drivers/net/pppox.mod.o
  LD [M]  drivers/net/pppox.ko
  CC      drivers/net/pptp.mod.o
  LD [M]  drivers/net/pptp.ko
  CC      drivers/net/slhc.mod.o
  LD [M]  drivers/net/slhc.ko
  CC      lib/crc-ccitt.mod.o
  LD [M]  lib/crc-ccitt.ko
  CC      net/ipv4/netfilter/ip_conntrack_sip.mod.o
  LD [M]  net/ipv4/netfilter/ip_conntrack_sip.ko
  CC      net/ipv4/netfilter/ip_nat_sip.mod.o
  LD [M]  net/ipv4/netfilter/ip_nat_sip.ko
  CC      net/ipv4/netfilter/ipt_SYNFLOOD.mod.o
  LD [M]  net/ipv4/netfilter/ipt_SYNFLOOD.ko
make[5]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/linux-2.6.15'
make -C "/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/linux-2.6.15" CROSS_COMPILE="mips-linux-" CC="mips-linux-gcc" ARCH=mips DEPMOD=true INSTALL_MOD_PATH=/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/modules modules_install
make[5]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/linux-2.6.15'
Warning: you may need to install module-init-tools
See http://www.codemonkey.org.uk/docs/post-halloween-2.6.txt
  INSTALL drivers/net/ppp_async.ko
  INSTALL drivers/net/ppp_generic.ko
  INSTALL drivers/net/pppoe.ko
  INSTALL drivers/net/pppox.ko
  INSTALL drivers/net/pptp.ko
  INSTALL drivers/net/slhc.ko
  INSTALL lib/crc-ccitt.ko
  INSTALL net/ipv4/netfilter/ip_conntrack_sip.ko
  INSTALL net/ipv4/netfilter/ip_nat_sip.ko
  INSTALL net/ipv4/netfilter/ipt_SYNFLOOD.ko
if [ -r System.map -a -x true ]; then true -ae -F System.map -b /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/modules -r 2.6.15; fi
make[5]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/linux-2.6.15'
touch /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/linux-2.6.15/.modules
make[4]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/target/linux/ar91xx-2.6'
make[3]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/target/linux'
make -C image/ar91xx compile
grep: System.map: No such file or directory
make[3]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/target/image/ar91xx'
make[3]: `compile' is up to date.
make[3]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/target/image/ar91xx'
make[2]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/target'
make[1]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src'
svn: '.' is not a working copy
make[1]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src'
3>/dev/null make -C package compile
make[2]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/package'
make compile-targets
make[3]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/package'
make -C base-files compile
svn: '.' is not a working copy
Rebuilding  build_mips/linux-2.6-ar91xx/base-files
Rebuilding  build_mips/linux-2.6-ar91xx/base-files
Rebuilding  build_mips/linux-2.6-ar91xx/base-files
make[4]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/package/base-files'
rm -f /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/staging_dir_mips/stampfiles/.base-files-installed
mkdir -p /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files
touch /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/.prepared
(cd /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/; if [ -x configure ]; then AR=mips-linux-uclibc-ar AS="mips-linux-uclibc-gcc -c -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" LD=mips-linux-uclibc-ld NM=mips-linux-uclibc-nm CC="mips-linux-uclibc-gcc" GCC="mips-linux-uclibc-gcc" CXX=mips-linux-uclibc-g++ RANLIB=mips-linux-uclibc-ranlib STRIP=mips-linux-uclibc-strip CFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" CXXFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" CPPFLAGS="-I/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/staging_dir_mips/usr/include -I/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/staging_dir_mips/include" LDFLAGS="-L/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/staging_dir_mips/usr/lib -L/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/staging_dir_mips/lib" PKG_CONFIG_PATH="/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/staging_dir_mips/usr/lib/pkgconfig"  ./configure --target=mips-linux --host=mips-linux --build=x86_64-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls ; fi; )
touch /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/.configured
touch /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/.built
mkdir -p /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/CONTROL
echo "Package: base-files-ar91xx-2.6" > /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/CONTROL/control
echo "Version: 8-0" >> /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/CONTROL/control
( DEPENDS=; for depend in ; do DEPENDS=${DEPENDS:+$DEPENDS, }${depend##+}; done; echo "Depends:  $DEPENDS" >> /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/CONTROL/control; )
echo "Source: package/base-files" >> /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/CONTROL/control
echo "Section: base" >> /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/CONTROL/control
echo "Priority: optional" >> /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/CONTROL/control
echo "Maintainer: OpenWrt Developers Team <openwrt-devel@openwrt.org>" >> /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/CONTROL/control
echo "Architecture: mips" >> /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/CONTROL/control
echo "Description: Base filesystem for OpenWrt\\ This package contains a base filesystem and system scripts for OpenWrt." | sed -e 's,\\,\n,g' | sed -e 's,^[[:space:]]*$, .,g' >> /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/CONTROL/control
chmod 644 /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/CONTROL/control
(cd /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/CONTROL; var2file "V_Package_base_files_ar91xx_2_6_conffiles" conffiles; var2file "V_Package_base_files_ar91xx_2_6_preinst" preinst; var2file "V_Package_base_files_ar91xx_2_6_postinst" postinst; var2file "V_Package_base_files_ar91xx_2_6_prerm" prerm; var2file "V_Package_base_files_ar91xx_2_6_postrm" postrm; )
cp -fpR ./default/* /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/
#if [ -d ar91xx-2.6 ]; then #    cp -fpR ar91xx-2.6/* /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/; #fi
/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/staging_dir_mips/bin/sed -i -e 's,$R,r0,g' /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/etc/banner
/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/staging_dir_mips/bin/sed -i -e 's,$S,ar91xx-2.6,g' /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/etc/ipkg.conf
mkdir -p /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/dev
mkdir -p /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/etc/crontabs
mkdir -p /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/jffs
mkdir -p /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/lib
mkdir -p /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/mnt
mkdir -p /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/proc
mkdir -p /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/tmp
mkdir -p /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/usr/lib
mkdir -p /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/usr/bin
mkdir -p /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/sys
mkdir -p /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/www
ln -sf /proc/mounts /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/etc/mtab
rm -f /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/var
ln -sf /tmp /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/var
mkdir -p /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/etc
ln -sf /tmp/etc/TZ /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6/etc/TZ
mkdir -p /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/bin/packages
find /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6 -name CVS | xargs rm -rf
find /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6 -name .svn | xargs rm -rf
find /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6 -name '.#*' | xargs rm -f
STRIP="/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/staging_dir_mips/bin/sstrip" STRIP_KMOD="mips-linux-uclibc-strip --strip-unneeded --remove-section=.comment" /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/scripts/rstrip.sh /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6
ipkg-build -c -o 0 -g 0 /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6 /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/bin/packages
Packaged contents of /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/base-files-ar91xx-2.6 into /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/bin/packages/base-files-ar91xx-2.6_8-0_mips.ipk
WARNING: skipping libgcc -- package not selected
mkdir -p /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/libpthread/CONTROL
echo "Package: libpthread" > /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/libpthread/CONTROL/control
echo "Version: 0.9.28-8" >> /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/libpthread/CONTROL/control
( DEPENDS=; for depend in ; do DEPENDS=${DEPENDS:+$DEPENDS, }${depend##+}; done; echo "Depends:  $DEPENDS" >> /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/libpthread/CONTROL/control; )
echo "Source: package/base-files" >> /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/libpthread/CONTROL/control
echo "Section: libs" >> /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/libpthread/CONTROL/control
echo "Priority: optional" >> /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/libpthread/CONTROL/control
echo "Maintainer: OpenWrt Developers Team <openwrt-devel@openwrt.org>" >> /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/libpthread/CONTROL/control
echo "Architecture: mips" >> /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/libpthread/CONTROL/control
echo "Description: POSIX thread library" | sed -e 's,\\,\n,g' | sed -e 's,^[[:space:]]*$, .,g' >> /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/libpthread/CONTROL/control
chmod 644 /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/libpthread/CONTROL/control
(cd /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/libpthread/CONTROL; var2file "V_Package_libpthread_conffiles" conffiles; var2file "V_Package_libpthread_preinst" preinst; var2file "V_Package_libpthread_postinst" postinst; var2file "V_Package_libpthread_prerm" prerm; var2file "V_Package_libpthread_postrm" postrm; )
install -m0755 -d /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/libpthread/lib
cp -fpR /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/staging_dir_mips/lib/libpthread.so.* /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/libpthread/lib/
cp -fpR /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/staging_dir_mips/lib/libpthread-0.9.28.so /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/libpthread/lib/
mkdir -p /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/bin/packages
find /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/libpthread -name CVS | xargs rm -rf
find /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/libpthread -name .svn | xargs rm -rf
find /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/libpthread -name '.#*' | xargs rm -f
STRIP="/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/staging_dir_mips/bin/sstrip" STRIP_KMOD="mips-linux-uclibc-strip --strip-unneeded --remove-section=.comment" /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/scripts/rstrip.sh /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/libpthread
rstrip.sh: /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/libpthread/lib/libpthread-0.9.28.so:shared object
ipkg-build -c -o 0 -g 0 /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/libpthread /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/bin/packages
Packaged contents of /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/libpthread into /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/bin/packages/libpthread_0.9.28-8_mips.ipk
mkdir -p /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc/CONTROL
echo "Package: uclibc" > /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc/CONTROL/control
echo "Version: 0.9.28-8" >> /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc/CONTROL/control
( DEPENDS=; for depend in ; do DEPENDS=${DEPENDS:+$DEPENDS, }${depend##+}; done; echo "Depends:  $DEPENDS" >> /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc/CONTROL/control; )
echo "Source: package/base-files" >> /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc/CONTROL/control
echo "Section: libs" >> /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc/CONTROL/control
echo "Priority: optional" >> /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc/CONTROL/control
echo "Maintainer: OpenWrt Developers Team <openwrt-devel@openwrt.org>" >> /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc/CONTROL/control
echo "Architecture: mips" >> /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc/CONTROL/control
echo "Description: C library embedded systems" | sed -e 's,\\,\n,g' | sed -e 's,^[[:space:]]*$, .,g' >> /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc/CONTROL/control
chmod 644 /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc/CONTROL/control
(cd /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc/CONTROL; var2file "V_Package_uclibc_conffiles" conffiles; var2file "V_Package_uclibc_preinst" preinst; var2file "V_Package_uclibc_postinst" postinst; var2file "V_Package_uclibc_prerm" prerm; var2file "V_Package_uclibc_postrm" postrm; )
install -m0755 -d /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc/lib
for file in ld-uClibc libc libdl libm libuClibc libcrypt libutil libnsl libresolv libpthread; do cp -fpR /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/staging_dir_mips/lib/$file.so.* /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc/lib/; cp -fpR /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/staging_dir_mips/lib/$file-0.9.28.so /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc/lib/; done
cp: cannot stat `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/staging_dir_mips/lib/libc-0.9.28.so': No such file or directory
cp: cannot stat `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/staging_dir_mips/lib/libuClibc.so.*': No such file or directory
cp -fpR /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/staging_dir_mips/lib/libgcc_s.so* /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc/lib/
#cp -fpR /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/staging_dir_mips/lib/libstdc++.so.6* /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc/lib/
mkdir -p /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/bin/packages
find /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc -name CVS | xargs rm -rf
find /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc -name .svn | xargs rm -rf
find /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc -name '.#*' | xargs rm -f
STRIP="/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/staging_dir_mips/bin/sstrip" STRIP_KMOD="mips-linux-uclibc-strip --strip-unneeded --remove-section=.comment" /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/scripts/rstrip.sh /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc
rstrip.sh: /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc/lib/libcrypt-0.9.28.so:shared object
rstrip.sh: /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc/lib/libutil-0.9.28.so:shared object
rstrip.sh: /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc/lib/libpthread-0.9.28.so:shared object
rstrip.sh: /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc/lib/libnsl-0.9.28.so:shared object
rstrip.sh: /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc/lib/libgcc_s.so.1:shared object
rstrip.sh: /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc/lib/libm-0.9.28.so:shared object
rstrip.sh: /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc/lib/libuClibc-0.9.28.so:shared object
rstrip.sh: /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc/lib/libdl-0.9.28.so:shared object
rstrip.sh: /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc/lib/ld-uClibc-0.9.28.so:shared object
rstrip.sh: /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc/lib/libresolv-0.9.28.so:shared object
ipkg-build -c -o 0 -g 0 /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/bin/packages
Packaged contents of /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/linux-2.6-ar91xx/base-files/ipkg/uclibc into /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/bin/packages/uclibc_0.9.28-8_mips.ipk
make[4]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/package/base-files'
make -C bing compile
make[4]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/package/bing'
make[4]: `compile' is up to date.
make[4]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/package/bing'
make -C bpalogin compile
make[4]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/package/bpalogin'
make[4]: `compile' is up to date.
make[4]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/package/bpalogin'
make -C bridge compile
make[4]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/package/bridge'
make[4]: `compile' is up to date.
make[4]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/package/bridge'
make -C busybox compile
Rebuilding  /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/bin/packages/busybox_1.0.1-1_mips.ipk
make[4]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/package/busybox'
/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/scripts/gen_busybox_config.pl /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/.config > /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/busybox-1.0.1/.config
cp -f ./Config /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/busybox-1.0.1/.config
yes '' | make -C /home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/busybox-1.0.1 CC="mips-linux-uclibc-gcc" CROSS="mips-linux-uclibc-" oldconfig
make[5]: Entering directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/busybox-1.0.1'
make[5]: ./scripts/config/conf: Command not found
make[5]: *** [oldconfig] Error 127
make[5]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/busybox-1.0.1'
make[4]: *** [/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/build_mips/busybox-1.0.1/.configured] Error 2
make[4]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/package/busybox'
make[3]: *** [busybox-compile] Error 2
make[3]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/package'
make[2]: *** [compile] Error 2
make[2]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src/package'
make[1]: *** [package/compile] Error 2
make[1]: Leaving directory `/home/colt/Desktop/WNR1000-V1.0.1.15-GPL-src'
make: *** [world] Error 2
colt@Ubuntu-8:~/Desktop/WNR1000-V1.0.1.15-GPL-src$

13 (edited by ColtB45 2010-06-13 16:28:50)

Re: cannot build toolchain

This is what I did to get this to build correctly on Ubuntu 10.4 32-bit.

    config GCC_VERSION
        string
        default "3.4.4"     if GCC_VERSION_3_4_4
        default "3.4.5"     if GCC_VERSION_3_4_5
        default "3.4.6"     if GCC_VERSION_3_4_6
        default "4.0.2"     if GCC_VERSION_4_0_2
        default "4.0.3"     if GCC_VERSION_4_0_3
        default "4.1.0"     if GCC_VERSION_4_1_0
        default "4.1.1"     if GCC_VERSION_4_1_1
        default "4.1.1"     if GCC_VERSION_4_1_2  <---- Add this line to apply the 4.1.1 patches with gcc 4.1.2
        default "3.4.6-nonmips"        if GCC_VERSION_3_4_6_nonmips
        default "3.4.4"
    
    if !TOOLCHAINOPTS
        config GCC_VERSION_4_1_1
            default y if LINUX_2_6_ARUBA || LINUX_2_6_X86
        config GCC_VERSION_4_0_3
            default y if LINUX_2_6_XSCALE
    endif

    Re: cannot build toolchain

    Hello,

    I got same error

    ======= Memory map: ========
    08048000-080e4000 r-xp 00000000 08:06 3855994    /home/xopal/tmp/toolchain/gcc-3.4.4/build_mips/bin/mips-linux-uclibc-ar
    080e4000-080e5000 r--p 0009b000 08:06 3855994    /home/xopal/tmp/toolchain/gcc-3.4.4/build_mips/bin/mips-linux-uclibc-ar
    080e5000-080e6000 rw-p 0009c000 08:06 3855994    /home/xopal/tmp/toolchain/gcc-3.4.4/build_mips/bin/mips-linux-uclibc-ar
    080e6000-080ea000 rw-p 00000000 00:00 0
    086f4000-087db000 rw-p 00000000 00:00 0          [heap]
    40000000-4001e000 r-xp 00000000 08:06 131992     /lib/i386-linux-gnu/ld-2.13.so
    4001e000-4001f000 r--p 0001d000 08:06 131992     /lib/i386-linux-gnu/ld-2.13.so
    4001f000-40020000 rw-p 0001e000 08:06 131992     /lib/i386-linux-gnu/ld-2.13.so
    40020000-40021000 r-xp 00000000 00:00 0          [vdso]
    40021000-40023000 rw-p 00000000 00:00 0
    40023000-40024000 r--p 0043a000 08:06 268732     /usr/lib/locale/locale-archive
    40024000-4002b000 r--s 00000000 08:06 393848     /usr/lib/i386-linux-gnu/gconv/gconv-modules.cache
    40036000-401ac000 r-xp 00000000 08:06 132005     /lib/i386-linux-gnu/libc-2.13.so
    401ac000-401ae000 r--p 00176000 08:06 132005     /lib/i386-linux-gnu/libc-2.13.so
    401ae000-401af000 rw-p 00178000 08:06 132005     /lib/i386-linux-gnu/libc-2.13.so
    401af000-401b3000 rw-p 00000000 00:00 0
    401b3000-403b3000 r--p 00000000 08:06 268732     /usr/lib/locale/locale-archive
    403b3000-403f3000 r--p 002bd000 08:06 268732     /usr/lib/locale/locale-archive
    40406000-40422000 r-xp 00000000 08:06 132026     /lib/i386-linux-gnu/libgcc_s.so.1
    40422000-40423000 r--p 0001b000 08:06 132026     /lib/i386-linux-gnu/libgcc_s.so.1
    40423000-40424000 rw-p 0001c000 08:06 132026     /lib/i386-linux-gnu/libgcc_s.so.1
    bfad7000-bfafa000 rw-p 00000000 00:00 0          [stack]
    make[3]: *** [libgcc.a] Aborted
    make[3]: *** Deleting file `libgcc.a'
    make[3]: Leaving directory `/home/xopal/tmp/toolchain/gcc-3.4.4/toolchain_build_mips/gcc-3.4.4-initial/gcc'
    make[2]: *** [libgcc.a] Error 2
    make[2]: Leaving directory `/home/xopal/tmp/toolchain/gcc-3.4.4/toolchain_build_mips/gcc-3.4.4-initial/gcc'
    make[1]: *** [all-gcc] Error 2
    make[1]: Leaving directory `/home/xopal/tmp/toolchain/gcc-3.4.4/toolchain_build_mips/gcc-3.4.4-initial'
    make: *** [/home/xopal/tmp/toolchain/gcc-3.4.4/toolchain_build_mips/gcc-3.4.4-initial/.compiled] Error 2
    xopal@xopal-OEM:~/tmp/toolchain/gcc-3.4.4$

    How do you fix that, I'm using Ubuntu 11.10

    15 (edited by UbuntuInMacBook 2012-03-24 22:15:59)

    Re: cannot build toolchain

    I am a beginner with openwrt.

    I found a solution from somewhere and replaced the line below. Then I read this thread and someone asked to use "0644".

          //redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT);
          redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT, 0666);

    No idea what does it mean.

    Now I have same buffer overflow issue.