OUR NETWORK:TiVo Community TechLore Explore3DTV DVRplayground Dijit Community See all... About UsAdvertiseContact Us

 
Learn about scoring Forum's Raw Score: 179756.0
July 7, 2009 03:27 AM

Categories: WGR614L (Legacy Product)

Rating (0 votes)
  • 1
  • 2
  • 3
  • 4
  • 5
Rate This!

Member Avatar

Stephen

Member
Joined: 07/02/2009

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

Discussion:    Add a Comment | Comments 1-6 of 6 | Latest Comment

July 7, 2009 4:00 AM

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.

July 7, 2009 4:01 AM

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 ...

July 9, 2009 2:54 AM

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?

July 9, 2009 5:14 AM

Which code (with version) are you compiling ?
What is the Operating system of the build machine and the gcc version ?

July 9, 2009 6:52 AM updated: July 9, 2009 6:54 AM

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.

July 9, 2009 7:02 AM

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

Discussion:    Add a Comment | Back to Top | Comments 1-6 of 6 | Latest Comment

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window