It is somehow unusual that FC10 using kernel-2.6.18. Normally FC10 uses kernel-2.6.27 .
This kind of problem may happen due to different gcc version. However I am not sure whether this is the reason or not. You can try with different gcc version also.
It is also not clear from your log that what kind of error occurs during making of xgcc.
Categories: WGR614L (Legacy Product)
I am using FC10, linux kernel 2.6.18 & gcc version 4.1.2
I followed the instructions in README.txt. But when I run ./build_tools.sh in the directory org/tools-src/, I faced the following problem. Can anyone help me to fix it? Thanks!
BUILD_DIR=/home/bo/netgear/org/tools-src
LINUX_DIR=/home/bo/netgear/org/tools-src/../release/src/linux/linux
INSTALL_DIR=/opt/brcm/hndtools-mipsel-linux-3.2.3
GNU=/home/bo/netgear/org/tools-src/gnu
Building gnutools: Tue Jul 7 01:13:52 PDT 2009
Doing binutils: Tue Jul 7 01:13:52 PDT 2009
Configure of binutils succeeded.
Build of binutils succeeded.
Install of binutils succeeded.
Static library copy succeeded.
Doing xgcc: Tue Jul 7 01:16:05 PDT 2009
Configure of xgcc succeeded.
MAKE OF XGCC FAILED, 2
Please have a look at the following thread :
http://www.myopenrouter.com/forum/thread/10208/Stil-Can-t-get-a-good-build-fo...
Please take the steps as specified in the above mentioned thread ...
I follow the steps in the thread http://www.myopenrouter.com/forum/thread/10208/Stil-Can-t-get-a-good-build-fo...
But I still got exactly the same problem with the thread opener. How should I figure this out?
Which code (with version) are you compiling ?
What is the Operating system of the build machine and the gcc version ?
I am compiling wgr614v8-v1.1.1_1.0.20. But I compiled toolchain first and met this problem. I am using FC10, linux kernel 2.6.18 & gcc version 4.1.2.
The README.txt in tools-src said:
To make the GNU toolchain
o cd to ../release/src/router
o make menuconfig
save defaults and return
o Get back to the tools-src directory and run
build_tools.sh
When I run make menuconfig in ../org/src/router
I got:
make -C config
make[1]: Entering directory `/home/bo/netgear/org/src/router/config'
gcc -I/usr/include/ncurses -DCURSES_LOC="" -I. -c mconf.c -o mconf.o
mconf.c:93: error: static declaration of âÂÂcurrent_menuâ follows non-static declaration
lkc.h:59: error: previous declaration of âÂÂcurrent_menuâ was here
make[1]: *** [mconf.o] Error 1
make[1]: Leaving directory `/home/bo/netgear/org/src/router/config'
make: *** [mconf] Error 2
And when I run ./build_tools.sh, the log ',xgcc-build.log' shows:
........
/home/bo/netgear/org/tools-src/gnu/gcc/gcc/read-rtl.c: In function âÂÂfatal_withile_and_lineâÂÂ:
/home/bo/netgear/org/tools-src/gnu/gcc/gcc/read-rtl.c:62: warning: traditional C rejects ISO C style function definitions
/home/bo/netgear/org/tools-src/gnu/gcc/gcc/read-rtl.c: In function âÂÂread_rtxâÂÂ:
d as increment operandools-src/gnu/gcc/gcc/read-rtl.c:662: error: lvalue requiregmake[1]: *** [read-rtl.o] Error 1
gmake[1]: Leaving directory `/home/bo/netgear/org/tools-src/obj/xgcc/gcc'
gmake: *** [all-gcc] Error 2
So I got exactly the same problem with hrlevy in the link above, but he didn't say whether he has figure it out.
Why should I config ../release/src/router/ first? Is the toolchain stand-alone? I wanna build toolchain first. Besides, is there any obligation of how to put the codes together? Actually, tools-src/../release/ doesn't exist.
My codes are put like this:
wgr614 code: netgear/org/src/router
toolchain code: netgear/org/tools netgear/org/tools-src
To make the GNU toolchain
o cd to ../release/src/router
o make menuconfig
save defaults and return
o Get back to the tools-src directory and run
build_tools.sh

RSS

