Results 1 to 15 of 28

Thread: making toolchain fails

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Thumbs up

    Quote Originally Posted by lly View Post
    Hope, yes. Please try r4014
    tonight - after Champions League


    edit: nah got some time now... wait a minute


    Code:
    Compiling toolchain, revision r4014...
    make -C "../../toolchain-1.9.2.7-rtn-r4014/src" V=99
    make[2]: Entering directory `/home/gm/openwrt/toolchain-1.9.2.7-rtn-r4014/src'
    make[2]: Leaving directory `/home/gm/openwrt/toolchain-1.9.2.7-rtn-r4014/src'
    make[2]: Entering directory `/home/gm/openwrt/toolchain-1.9.2.7-rtn-r4014/src'
    make[3]: Entering directory `/home/gm/openwrt/toolchain-1.9.2.7-rtn-r4014/src'
    Checking 'working-make'... ok.
    Checking 'case-sensitive-fs'... ok.
    Checking 'working-gcc'... ok.
    Checking 'working-g++'... ok.
    Checking 'ncurses'... failed.
    Checking 'zlib'... failed.
    nope

    after checkout rtn I altered config.mk to match the reversion
    Code:
    TOOLCHAIN_REVISION:=r4014
    FIRMWARE_REVISION:=r4014
    it was tested via make .toolchain_installed
    Last edited by !gm; 28-03-2012 at 18:00.
    RT-N66U TomatoUSB 1.28.0000 MIPSR2-135 K26AC USB AIO-64K running Entware-NG
    pyload 0.4.9
    minidlna 1.1.2
    samba 3.6.5
    openvpn 2.3.10
    ̶W̶L̶5̶0̶0̶g̶P̶ ̶1̶.̶9̶.̶2̶.̶7̶-̶r̶t̶n̶-̶r̶4̶7̶5̶0 retired

  2. #2
    Join Date
    Nov 2006
    Location
    Russia, Moscow
    Posts
    3,640
    Quote Originally Posted by !gm View Post
    nope
    Strange, I implement nearly same solution that you confirmed working... The single difference in arguments order!

    Can you try:
    Code:
    echo 'int main(int argc, char **argv) { initscr(); return 0; }' > ./ncurses_test.c
    gcc -include ncurses.h -x c -o /tmp/a.out -lncurses ./ncurses_test.c
    ?
    it should fail for you.

  3. #3
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767

  4. #4
    Quote Originally Posted by lly View Post
    Strange, I implement nearly same solution that you confirmed working... The single difference in arguments order!

    Can you try:
    Code:
    echo 'int main(int argc, char **argv) { initscr(); return 0; }' > ./ncurses_test.c
    gcc -include ncurses.h -x c -o /tmp/a.out -lncurses ./ncurses_test.c
    ?
    it should fail for you.
    yes

    Code:
    undefined reference to `initscr'
    RT-N66U TomatoUSB 1.28.0000 MIPSR2-135 K26AC USB AIO-64K running Entware-NG
    pyload 0.4.9
    minidlna 1.1.2
    samba 3.6.5
    openvpn 2.3.10
    ̶W̶L̶5̶0̶0̶g̶P̶ ̶1̶.̶9̶.̶2̶.̶7̶-̶r̶t̶n̶-̶r̶4̶7̶5̶0 retired

  5. #5
    Join Date
    Nov 2006
    Location
    Russia, Moscow
    Posts
    3,640
    Ok, next approach - please try r4029

  6. #6
    ok, the zlib and ncurses issue seems to be resolved...

    but, whats this?
    the kernel??
    Code:
    make: *** /home/gm/openwrt/toolchain-1.9.2.7-rtn-r4029/src/build_dir/toolchain-mipsel_gcc4.5.3/linux-2.6.22.19: No such file or directory.  Stop.
    make[5]: *** [/home/gm/openwrt/toolchain-1.9.2.7-rtn-r4029/src/build_dir/toolchain-mipsel_gcc4.5.3/linux-2.6.22.19/.prepared3067c836db47c9f5293c09032749151d] Error 2
    make[5]: Leaving directory `/home/gm/openwrt/toolchain-1.9.2.7-rtn-r4029/src/toolchain/kernel-headers'
    make[4]: *** [toolchain/kernel-headers/prepare] Error 2
    make[4]: Leaving directory `/home/gm/openwrt/toolchain-1.9.2.7-rtn-r4029/src'
    make[3]: *** [/home/gm/openwrt/toolchain-1.9.2.7-rtn-r4029/src/staging_dir/mipsel/stamp/.toolchain_install] Error 2
    make[3]: Leaving directory `/home/gm/openwrt/toolchain-1.9.2.7-rtn-r4029/src'
    make[2]: *** [world] Error 2
    make[2]: Leaving directory `/home/gm/openwrt/toolchain-1.9.2.7-rtn-r4029/src'
    make[1]: *** [.toolchain_compiled] Error 2
    make[1]: Leaving directory `/home/gm/openwrt/rtn/toolchain'
    make: *** [.toolchain_installed] Error 2
    RT-N66U TomatoUSB 1.28.0000 MIPSR2-135 K26AC USB AIO-64K running Entware-NG
    pyload 0.4.9
    minidlna 1.1.2
    samba 3.6.5
    openvpn 2.3.10
    ̶W̶L̶5̶0̶0̶g̶P̶ ̶1̶.̶9̶.̶2̶.̶7̶-̶r̶t̶n̶-̶r̶4̶7̶5̶0 retired

  7. #7
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767
    Quote Originally Posted by !gm View Post
    ok, the zlib and ncurses issue seems to be resolved...

    but, whats this?
    the kernel??
    Try with
    Code:
    make V=99
    for more debug info

  8. #8
    Quote Originally Posted by wpte View Post
    Try with
    Code:
    make V=99
    hmmmm, I've done this... but

    Code:
    gm@ubuntu:/$ sudo find -name build.log
    [sudo] password for gm:
    gm@ubuntu:/$
    RT-N66U TomatoUSB 1.28.0000 MIPSR2-135 K26AC USB AIO-64K running Entware-NG
    pyload 0.4.9
    minidlna 1.1.2
    samba 3.6.5
    openvpn 2.3.10
    ̶W̶L̶5̶0̶0̶g̶P̶ ̶1̶.̶9̶.̶2̶.̶7̶-̶r̶t̶n̶-̶r̶4̶7̶5̶0 retired

  9. #9

    Thank you!

    Quote Originally Posted by lly View Post
    Quote Originally Posted by wpte View Post
    Quote Originally Posted by lly View Post
    Strange, I implement nearly same solution that you confirmed working...
    yeah same error
    Ok, next approach - please try r4029
    Tried r4086, everything is fine. A toolchain compilations on Ubuntu 11.10 is working.

Similar Threads

  1. Подскажите, что этот лог значит? (syslog)
    By VadimVB in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 479
    Last Post: 23-05-2013, 07:47
  2. Strange problem compiling toolchain
    By QMax in forum WL-500gP Q&A
    Replies: 1
    Last Post: 27-09-2009, 16:54
  3. Replies: 1
    Last Post: 09-01-2008, 11:06

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •