Building the Netgear Sources

This isn't required if you've done everything above.

Once the toolchain is built, as far as I know you *should* be able to go on and build the Netgear sources. I haven't been sucessful yet, so far typing

make[3]: Entering directory `/home/simon/lighting/netgear/wgt634u-1-4-1-5/uClibc /ldso/ldso' mipsel-linux-gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -Os -fno-builtin -nostdinc -D_LIBC -I../../include -I. -I/home/simon/lighti ng/netgear/archives/buildroot/build_mipsel/staging_dir/lib/gcc/mipsel-linux-ucli bc/3.4.2/include -DNDEBUG -fPIC -DUCLIBC_TARGET_PREFIX=\"/\" -DUCLIBC_DEVEL_PREF IX=\""/home/simon/lighting/netgear/wgt634u-1-4-1-5/staging_dir"\" -DUCLIBC_BUILD _DIR=\"/home/simon/lighting/netgear/wgt634u-1-4-1-5/uClibc\" -I. -I./mipsel -I.. /libdl -c ldso.c -o ldso.o ldso.c:438:2: warning: #warning "Debugging threads on mips won't work till someo ne fixes this..." In file included from ldso.c:159: ./mipsel/boot1_arch.h:6: error: missing terminating " character ./mipsel/boot1_arch.h:7: error: parse error before '.' token In file included from ldso.c:159: ./mipsel/boot1_arch.h:11:13: invalid suffix "f" on integer constant ./mipsel/boot1_arch.h:35: error: missing terminating " character In file included from ldso.h:2, from ldso.c:160: mipsel/elfinterp.c: In function `_dl_parse_relocation_information': mipsel/elfinterp.c:133: error: `_dl_progname' undeclared (first use in this func tion) mipsel/elfinterp.c:133: error: (Each undeclared identifier is reported only once mipsel/elfinterp.c:133: error: for each function it appears in.) ldso.c: In function `_dl_boot2': ldso.c:598: error: `_dl_progname' undeclared (first use in this function) ldso.c: In function `_dl_get_ready_to_run': ldso.c:937: error: `_dl_progname' undeclared (first use in this function) ldso.c: In function `_dl_fixup': ldso.c:1319: error: `_dl_progname' undeclared (first use in this function) In file included from ldso.c:1377: readelflib1.c: In function `_dl_load_elf_shared_library': readelflib1.c:381: error: `_dl_progname' undeclared (first use in this function) readelflib1.c: In function `_dl_malloc': readelflib1.c:778: error: `_dl_progname' undeclared (first use in this function) make[3]: *** [ldso.o] Error 1 make[3]: Leaving directory `/home/simon/lighting/netgear/wgt634u-1-4-1-5/uClibc/ ldso/ldso' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/simon/lighting/netgear/wgt634u-1-4-1-5/uClibc/ ldso' make[1]: *** [_dir_ldso] Error 2 make[1]: Leaving directory `/home/simon/lighting/netgear/wgt634u-1-4-1-5/uClibc' make: *** [staging] Error 2

I'm pretty sure it gives the same error when I use the brcm toolchain. I'll give it a go sometime.

Ok it's possible to get further by using a different uClibc.

I'm not too fussed about getting the Netgear sources working as the hardware I'm trying to use the router with only has 2.6 drivers. But if anyone has any info on how to get the sources compiled, let me know.