David
20-05-2005, 14:06
Hello,
When I try to build firm 1.9.2.7-5a, it end-up with the following error:
make[2]: Entering directory `/opt/broadcom/src/router/ov51x'
mipsel-linux-gcc -c -I/root/broadcom/src/linux/linux/include/asm/gcc -D__KERNEL__ -I/root/broadcom/src/linux/linux/include -D__KERNEL__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -G 0 -mno-abicalls -fno-pic -mcpu=r4600 -mips2 -Wa,--trap -m4710a0kern -pipe -I/root/broadcom/src/linux/linux/../../include -I. -DMODULE -mlong-calls -fno-common -D__KERNEL__ -DMODULE -DOUTSIDE_KERNEL -O2 -Wall -Wstrict-prototypes -fomit-frame-pointer -I/lib/modules/`uname-r`/build/include -DEXPORT_SYMTAB ov51x.c
In file included from ov51x.c:58:
/opt/brcm/hndtools-mipsel-linux/mipsel-linux/sys-include/linux/module.h:21:34: linux/modversions.h: No such file or directory
In file included from /opt/brcm/hndtools-mipsel-linux/mipsel-linux/sys-include/linux/mm.h:26,
from /opt/brcm/hndtools-mipsel-linux/mipsel-linux/sys-include/linux/vmalloc.h:5,
from ov51x.c:61:
/opt/brcm/hndtools-mipsel-linux/mipsel-linux/sys-include/asm/pgtable.h:475:33: asm-generic/pgtable.h: No such file or directory
ov51x.c:2068: warning: `ov519_init_compression' defined but not used
make[2]: *** [ov51x.o] Error 1
make[2]: Leaving directory `/opt/broadcom/src/router/ov51x'
make[1]: *** [ov51x-install] Error 2
make[1]: Leaving directory `/opt/broadcom/src/router'
make: *** [image-WL500gx] Error 2
What I did is:
- downloaded the GPL_1927.zip from asus
- downloaded the uClibc toolchain full and firmware patch 1.9.2.7-5a from Oleg's page
- tar -C /opt zxvf GPL_1927.zip
- ln -s /opt/broadcom/opt/bcrm /opt/bcrm
- tar -C / xjvf hndtools-mipsel-uclibc-3.2.3-full.tar.bz2
- rm -f /opt/brcm/hndtools-mipsel-uclibc (looks useless as it's part of make uClibc)
- ln -s /opt/brcm/hndtools-mipsel-uclibc-3.2.3-full /opt/brcm/hndtools-mipsel-uclibc (looks useless as it's part of make uClibc)
- tar -C /opt/broadcom/src/ xjvf wl500g-1.9.2.7-5a.tar.bz2
- cd /opt/broadcom/src/wl500g-1.9.2.7-5a
- make uClibc
- make kernel
- cd ../router
- make image-WL500gx
everything under a coLinux with knoppix-debian rootfs.
Any help will be highly appreciated,
David.
When I try to build firm 1.9.2.7-5a, it end-up with the following error:
make[2]: Entering directory `/opt/broadcom/src/router/ov51x'
mipsel-linux-gcc -c -I/root/broadcom/src/linux/linux/include/asm/gcc -D__KERNEL__ -I/root/broadcom/src/linux/linux/include -D__KERNEL__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -G 0 -mno-abicalls -fno-pic -mcpu=r4600 -mips2 -Wa,--trap -m4710a0kern -pipe -I/root/broadcom/src/linux/linux/../../include -I. -DMODULE -mlong-calls -fno-common -D__KERNEL__ -DMODULE -DOUTSIDE_KERNEL -O2 -Wall -Wstrict-prototypes -fomit-frame-pointer -I/lib/modules/`uname-r`/build/include -DEXPORT_SYMTAB ov51x.c
In file included from ov51x.c:58:
/opt/brcm/hndtools-mipsel-linux/mipsel-linux/sys-include/linux/module.h:21:34: linux/modversions.h: No such file or directory
In file included from /opt/brcm/hndtools-mipsel-linux/mipsel-linux/sys-include/linux/mm.h:26,
from /opt/brcm/hndtools-mipsel-linux/mipsel-linux/sys-include/linux/vmalloc.h:5,
from ov51x.c:61:
/opt/brcm/hndtools-mipsel-linux/mipsel-linux/sys-include/asm/pgtable.h:475:33: asm-generic/pgtable.h: No such file or directory
ov51x.c:2068: warning: `ov519_init_compression' defined but not used
make[2]: *** [ov51x.o] Error 1
make[2]: Leaving directory `/opt/broadcom/src/router/ov51x'
make[1]: *** [ov51x-install] Error 2
make[1]: Leaving directory `/opt/broadcom/src/router'
make: *** [image-WL500gx] Error 2
What I did is:
- downloaded the GPL_1927.zip from asus
- downloaded the uClibc toolchain full and firmware patch 1.9.2.7-5a from Oleg's page
- tar -C /opt zxvf GPL_1927.zip
- ln -s /opt/broadcom/opt/bcrm /opt/bcrm
- tar -C / xjvf hndtools-mipsel-uclibc-3.2.3-full.tar.bz2
- rm -f /opt/brcm/hndtools-mipsel-uclibc (looks useless as it's part of make uClibc)
- ln -s /opt/brcm/hndtools-mipsel-uclibc-3.2.3-full /opt/brcm/hndtools-mipsel-uclibc (looks useless as it's part of make uClibc)
- tar -C /opt/broadcom/src/ xjvf wl500g-1.9.2.7-5a.tar.bz2
- cd /opt/broadcom/src/wl500g-1.9.2.7-5a
- make uClibc
- make kernel
- cd ../router
- make image-WL500gx
everything under a coLinux with knoppix-debian rootfs.
Any help will be highly appreciated,
David.