Stil Can't get a good build for WGR614v8 code

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:

Nachi on 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

hrlevy on 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

Peter Redmer on 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 

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