1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Linksys open source firmwares

Discussion in 'General Discussion' started by mbaba, Sep 28, 2011.

  1. mbaba

    mbaba Networkin' Nut Member

  2. Toxic

    Toxic Administrator Staff Member

    The Sources will be from the latest official firmware that is release for the model of router. as for support, what type of support were you looking?
     
    mbaba likes this.
  3. mbaba

    mbaba Networkin' Nut Member

    Thank you
    I need a support of WRT610N and WRT400N ( how to compile and make them ready to flash, their stability)

    Best regards
     
  4. mbaba

    mbaba Networkin' Nut Member

    Please Do these sources support all functions of the router that support by the official linksys firmware.
    Thank you
     
  5. mbaba

    mbaba Networkin' Nut Member

    Please I read the text file that exists in the source code directory of WRT400N which explain how to build and compile the source
    and I do the steps but having error .

    Code:
    gcc  -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H  -o cc1 \
            c-parse.o c-lang.o c-pretty-print.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o libcpp.a  main.o libbackend.a ../libiberty/libiberty.a
    gcc -c  -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H    -I. -I. -I/home/mohammad/linksys/WRT400N_1.0.01.19_US/build/gcc-3.4.4-2.16.1/toolchain_build_mips/gcc-3.4.4/gcc -I/home/mohammad/linksys/WRT400N_1.0.01.19_US/build/gcc-3.4.4-2.16.1/toolchain_build_mips/gcc-3.4.4/gcc/. -I/home/mohammad/linksys/WRT400N_1.0.01.19_US/build/gcc-3.4.4-2.16.1/toolchain_build_mips/gcc-3.4.4/gcc/../include  /home/mohammad/linksys/WRT400N_1.0.01.19_US/build/gcc-3.4.4-2.16.1/toolchain_build_mips/gcc-3.4.4/gcc/gcov.c -o gcov.o
    gcc  -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H  gcov.o intl.o version.o ../libiberty/libiberty.a  -o gcov
    gcc -c  -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H    -I. -I. -I/home/mohammad/linksys/WRT400N_1.0.01.19_US/build/gcc-3.4.4-2.16.1/toolchain_build_mips/gcc-3.4.4/gcc -I/home/mohammad/linksys/WRT400N_1.0.01.19_US/build/gcc-3.4.4-2.16.1/toolchain_build_mips/gcc-3.4.4/gcc/. -I/home/mohammad/linksys/WRT400N_1.0.01.19_US/build/gcc-3.4.4-2.16.1/toolchain_build_mips/gcc-3.4.4/gcc/../include  /home/mohammad/linksys/WRT400N_1.0.01.19_US/build/gcc-3.4.4-2.16.1/toolchain_build_mips/gcc-3.4.4/gcc/gcov-dump.c -o gcov-dump.o
    gcc  -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H  gcov-dump.o version.o ../libiberty/libiberty.a  -o gcov-dump
    gcc  -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H    -I. -I. -I/home/mohammad/linksys/WRT400N_1.0.01.19_US/build/gcc-3.4.4-2.16.1/toolchain_build_mips/gcc-3.4.4/gcc -I/home/mohammad/linksys/WRT400N_1.0.01.19_US/build/gcc-3.4.4-2.16.1/toolchain_build_mips/gcc-3.4.4/gcc/. -I/home/mohammad/linksys/WRT400N_1.0.01.19_US/build/gcc-3.4.4-2.16.1/toolchain_build_mips/gcc-3.4.4/gcc/../include  \
        -DTARGET_MACHINE=\"mips-linux-uclibc\" \
        -c /home/mohammad/linksys/WRT400N_1.0.01.19_US/build/gcc-3.4.4-2.16.1/toolchain_build_mips/gcc-3.4.4/gcc/collect2.c -o collect2.o
    In file included from /usr/include/fcntl.h:252,
                    from /home/mohammad/linksys/WRT400N_1.0.01.19_US/build/gcc-3.4.4-2.16.1/toolchain_build_mips/gcc-3.4.4/gcc/system.h:214,
                    from /home/mohammad/linksys/WRT400N_1.0.01.19_US/build/gcc-3.4.4-2.16.1/toolchain_build_mips/gcc-3.4.4/gcc/collect2.c:30:
    In function ‘open’,
        inlined from ‘collect_execute’ at /home/mohammad/linksys/WRT400N_1.0.01.19_US/build/gcc-3.4.4-2.16.1/toolchain_build_mips/gcc-3.4.4/gcc/collect2.c:1537:
    /usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
    make[3]: *** [collect2.o] Error 1
    make[3]: Leaving directory `/home/mohammad/linksys/WRT400N_1.0.01.19_US/build/gcc-3.4.4-2.16.1/toolchain_build_mips/gcc-3.4.4-initial/gcc'
    make[2]: *** [all-gcc] Error 2
    make[2]: Leaving directory `/home/mohammad/linksys/WRT400N_1.0.01.19_US/build/gcc-3.4.4-2.16.1/toolchain_build_mips/gcc-3.4.4-initial'
    make[1]: *** [/home/mohammad/linksys/WRT400N_1.0.01.19_US/build/gcc-3.4.4-2.16.1/toolchain_build_mips/gcc-3.4.4-initial/.compiled] Error 2
    make[1]: Leaving directory `/home/mohammad/linksys/WRT400N_1.0.01.19_US/build/gcc-3.4.4-2.16.1'
    make: *** [toolchain_build] Error 2
    
    Can you help me please?

    Thanks
     
  6. Toxic

    Toxic Administrator Staff Member

    Building from source code can be quite hard if all sources have not been supplied. best to contact one of the developers of 3rd party firmwares to see if they can help or check out openwrt forums for building a firmware from source.
     
    mbaba likes this.
  7. mbaba

    mbaba Networkin' Nut Member

    Thank you Toxic,
    I will contact them :)
     

Share This Page