do you mean the following commands?
$ cd /whatever-you-want/broadcom/src/1.9.2.7-d
$ make kernel
$ make
I have run them already and there were no error...
Last edited by snowx; 25-11-2010 at 09:00.
Seems to be you have slightly different host environment, try tofrom src/gateway before "make"Code:make kernel
I got the following now:
find . -name '*.[chS]' | xargs /home/wchan/wl500w/broadcom/src/linux/linux-2.4.37.10/scripts/mkdep -D__KERNEL__ -I/home/wchan/wl500w/broadcom/src/linux/linux-2.4.37.10/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fno-builtin-strpbrk -fno-builtin-sprintf -fomit-frame-pointer -I /home/wchan/wl500w/broadcom/src/linux/linux-2.4.37.10/include/asm/gcc -G 0 -mno-abicalls -fno-pic -pipe -finline-limit=10000 -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -fno-delete-null-pointer-checks -I/home/wchan/wl500w/broadcom/src/include -DBCMDRIVER -nostdinc -iwithprefix include -- > .depend
realpath(/home/wchan/wl500w/broadcom/src/linux/linux-2.4.37.10/include/asm/gcc) failed, No such file or directory
make[3]: *** [fastdep] Error 123
make[3]: Leaving directory `/home/wchan/wl500w/broadcom/src/linux/linux-2.4.37.10/arch/mips/tools'
make[2]: *** [_sfdep_arch/mips/tools] Error 2
make[2]: Leaving directory `/home/wchan/wl500w/broadcom/src/linux/linux-2.4.37.10'
make[1]: *** [dep-files] Error 2
make[1]: Leaving directory `/home/wchan/wl500w/broadcom/src/linux/linux-2.4.37.10'
make: *** [kernel-image] Error 2
I checked that the "/home/wchan/wl500w/broadcom/src/linux/linux-2.4.37.10/include/asm" is missing. should I manually create a symbolic link to asm-mips?
i.e. ln -sf asm-mips /home/wchan/wl500w/broadcom/src/linux/linux-2.4.37.10/include/asm
Last edited by snowx; 25-11-2010 at 08:20.
should I try the RTN version of wl500w instead? Does RTN version has better support for usb sound?
Last edited by snowx; 26-11-2010 at 03:39.
I did the symbolic link then try the make kernal again. Now I got this error and I am completely lost.
( . /home/wchan/wl500w/broadcom/src/linux/linux/.config ; \
if [ "${CONFIG_EMBEDDED_RAMDISK}" = "" ] ; then \
make -C /home/wchan/wl500w/broadcom/src/linux/linux zImage CC=mipsel-uclibc-gcc-3.4.6; \
fi )
make[1]: Entering directory `/home/wchan/wl500w/broadcom/src/linux/linux-2.4.37.10'
make[1]: *** No rule to make target `include/linux/autoconf.h', needed by `include/config/MARKER'. Stop.
make[1]: Leaving directory `/home/wchan/wl500w/broadcom/src/linux/linux-2.4.37.10'
make: *** [kernel-image] Error 2