Now I have edited the Makefile in /opt/WL700g/nasoc/src/apps
and changed the following as to set the correct path to mipsel-linux
ifeq ($(PLATFORM),mipsel)
export CROSS_COMPILE := mipsel-linux-
export CONFIGURE := ./configure mipsel-linux --build=$(BUILD)
#export TOOLCHAIN := $(shell cd $(dir $(shell which $(CROSS_COMPILE)gcc))hndtools-mipsel-linux-3.2.3/mipsel-linux && pwd -P)
export TOOLCHAIN := $(shell cd $(dir $(shell which $(CROSS_COMPILE)gcc))/opt/brcm/hndtools-mipsel-linux-3.2.3/mipsel-linux && pwd -P)
endif
by doing this I dont seem to have any more errors concerning this:
"make all
/bin/sh: line 0: cd: /opt/brcm//../mipsel-linux: No such file or directory"
or
"collect2: ld terminated with signal 11 [Segmentation fault], core dumped
make[2]: *** [nvram] Error 1
make[2]: Leaving directory `/opt/WL700g/nasoc/src/apps/nvram'
make[1]: *** [nvram] Error 2
make[1]: Leaving directory `/opt/WL700g/nasoc/src/apps'
make: *** [rebuild] Error 2"
But now I rather end up with this error:
make[3]: Leaving directory `/opt/WL700g/nasoc/src/linux/linux/arch/mips/lib'
make[2]: Leaving directory `/opt/WL700g/nasoc/src/linux/linux'
make[1]: Leaving directory `/opt/WL700g/nasoc/src/linux/linux'
make all
make[1]: Entering directory `/opt/WL700g/nasoc/src/apps'
[ ! -f libcrypto/Makefile ] || make -C libcrypto
[ ! -f nvram/Makefile ] || make -C nvram
make[2]: Entering directory `/opt/WL700g/nasoc/src/apps/nvram'
mipsel-linux-gcc -I. -I/opt/WL700g/nasoc/src/include -Wall -s -O2 -c -o nvram_linux.o nvram_linux.c
make[2]: mipsel-linux-gcc: Command not found
make[2]: *** [nvram_linux.o] Error 127
make[2]: Leaving directory `/opt/WL700g/nasoc/src/apps/nvram'
make[1]: *** [nvram] Error 2
make[1]: Leaving directory `/opt/WL700g/nasoc/src/apps'
make: *** [rebuild] Error 2
Anyone ?