OUR NETWORK:TiVo Community TechLore Sling Community My DigitalEntertainer MotoDash See all... About UsAdvertiseContact Us

 
Learn about scoring Forum's Raw Score: 88148.6
February 27, 2008 07:31 PM

Categories: WGR614L Open Source Router

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

Member Avatar

hrlevy

Member
Joined: 02/21/2008

For the 4th time I tried to build this code.

First I did a full clean install of Fedora 8.

Then I added in the additional "compat-8" stuff.

Again down-loaded the 2 modules from the Netget web site.

Again I tried to follow instuctions to the letter.

In step 5 of "build the toolchain" says to

" Please read the "README.TXT" files in each directory, and follow the insctructions to build the target code."

the readme file in "tools-src"  

under  "To make the GNU toolchain" 

says to:

 o cd to ../release/src/router
 o make menuconfig

 this fails with

    .......... 

    gcc  -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -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 `/netgear/bcm5354/src/router/config'

the next step

o Get back to the tools-src directory and run
   build_tools.sh
 

fails with

    ............

    Install of binutils succeeded.
    Static library copy succeeded.
    Doing xgcc: Wed Feb 27 20:00:31 EST 2008
    Configure of xgcc succeeded.   
    MAKE OF XGCC FAILED, 2

looking at the ",xgcc-build.log" shows 

      ..................
    /netgear/toolchain/tools-src/gnu/gcc/gcc/read-rtl.c: In function ‘fatal_with_file_and_line’:
    /netgear/toolchain/tools-src/gnu/gcc/gcc/read-rtl.c:62: warning: traditional C rejects ISO C style function definitions
    /netgear/toolchain/tools-src/gnu/gcc/gcc/read-rtl.c: In function ‘read_rtx’:
    /netgear/toolchain/tools-src/gnu/gcc/gcc/read-rtl.c:662: error: invalid lvalue in increment
    gmake[1]: *** [read-rtl.o] Error 1
    gmake[1]: Leaving directory `/netgear/toolchain/tools-src/obj/xgcc/gcc'
    gmake: *** [all-gcc] Error 2

Continuing on the build process fails at the last step because it can not execute "TRX". to create the final image.

I need some help in trying to get a clean build

It would be nice if Netgear actually tested this out before just dumping it on the web.

I sure that their developers use it succesfully on their platforms, but

How do you install it on a new system????

Thank you

Howad R. Levy 

- input

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

February 28, 2008 3:28 AM

Looks like the trx binary in Netgear's source code is an x86_64 executable and possibly the reason why it is failing on many systems. Realized that trx utility from another router is in my path and I guess that's why I don't face this issue. But I have never really tried to build the toolchain source. Using the toolchains on FC8 without a problem so far.

Please download the trx.zip from the project area and unzip it and copy the resulting excutable to bcm5354/tools directory.

I guess this should solve the problem - let me know if there are any more issues.

Nachi

February 28, 2008 3:38 AM

please be more specfic as to where to find the trx.zip file.

I take it from you message that if I use the x86 64 bit ver of fc 8 this should all work.

can you please either post your trx on the site or e-mail it directly to me @hrlevy@toybox1.com

thank you

February 28, 2008 11:31 AM

Hello hrlevy!

The download has now been posted and is available in our "Projects" download section, or by clicking here. 

Thanks for coming to the site, we hope you enjoy your stay.

Pete 

Peter Redmer
Administrator
Visit my blog, "Caffeinated Pixels"
Follow Me on Twitter

February 28, 2008 12:52 PM

There is delay between when a file is posted on the projects area and the time it appears for download. The file will be available there soon.

Discussion:    Add a Comment | Comments 1-4 of 4 | 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