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

Help me compile Aria2c package to tomato-shibby

Discussion in 'Tomato Firmware' started by manhquyet90, Jun 14, 2014.

  1. manhquyet90

    manhquyet90 Reformed Router Member

    Last edited: Jun 17, 2014
  2. manhquyet90

    manhquyet90 Reformed Router Member

    Error in Ubuntu 12.04 LTS 32bit !
     
    Last edited: Jun 15, 2014
  3. Grimson

    Grimson Networkin' Nut Member

    manhquyet90 likes this.
  4. gogubeb

    gogubeb Addicted to LI Member

    You need to install an x64 linux on your PC and then you can compile tomato shibby (be sure that you have automake 1.13.. version on your linux).
     
    manhquyet90 likes this.
  5. manhquyet90

    manhquyet90 Reformed Router Member

  6. manhquyet90

    manhquyet90 Reformed Router Member

    yes, i run Ubuntu 12.04 32bit
     
  7. gogubeb

    gogubeb Addicted to LI Member

    For tomato shibby you need Ubuntu 64bit.
     
  8. manhquyet90

    manhquyet90 Reformed Router Member

    yes, thank you very much, i install Ubuntu 64bit now !
     
  9. shibby20

    shibby20 Network Guru Member

    its possible to compile my mod on 32-bit. All you need is 32-bit`s toolchain. You can get it from Toastman sources or compile it yourself (toolchain dir and build26.sh - it will take ~1h).
     
  10. manhquyet90

    manhquyet90 Reformed Router Member

    Still error on Ubuntu 12.04.4 LTS 64bit !
    Code:
    make[8]: Entering directory `/home/never-die/tomato/release/src/router/openssl'
    make[9]: Entering directory `/home/never-die/tomato/release/src/router/openssl'
    make[9]: Leaving directory `/home/never-die/tomato/release/src/router/openssl'
    make[9]: Entering directory `/home/never-die/tomato/release/src/router/openssl'
    make[9]: Leaving directory `/home/never-die/tomato/release/src/router/openssl'
    make[8]: Leaving directory `/home/never-die/tomato/release/src/router/openssl'
    make[8]: Entering directory `/home/never-die/tomato/release/src/router/openssl'
    make[9]: Entering directory `/home/never-die/tomato/release/src/router/openssl'
    make[9]: Leaving directory `/home/never-die/tomato/release/src/router/openssl'
    make[9]: Entering directory `/home/never-die/tomato/release/src/router/openssl'
    make[9]: Leaving directory `/home/never-die/tomato/release/src/router/openssl'
    make[8]: Leaving directory `/home/never-die/tomato/release/src/router/openssl'
    make[7]: Leaving directory `/home/never-die/tomato/release/src/router/openssl'
    make[6]: Leaving directory `/home/never-die/tomato/release/src/router/openssl/ssl'
    making all in apps...
    make[6]: Entering directory `/home/never-die/tomato/release/src/router/openssl/apps'
    /usr/bin/perl progs.pl verify asn1pars req dgst dh dhparam enc passwd gendh errstr ca crl rsa rsautl dsa dsaparam ec ecparam x509 genrsa gendsa genpkey s_server s_client speed s_time version pkcs7 cms crl2pkcs7 sess_id ciphers nseq pkcs12 pkcs8 pkey pkeyparam pkeyutl spkac smime rand engine ocsp prime ts srp >progs.h
    rm -f openssl.o
    mipsel-uclibc-gcc -DMONOLITH -I.. -I../include  -fPIC -DOPENSSL_PIC -DDSO_DLFCN -DHAVE_DLFCN_H -ffunction-sections -fdata-sections -DOPENSSL_NO_ERR -DL_ENDIAN -DTERMIO -O3 -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32  -DOPENSSL_SMALL_FOOTPRINT -fomit-frame-pointer -Wall -DSHA1_ASM -DSHA256_ASM -DAES_ASM  -c -o req.o req.c
    mipsel-uclibc-gcc -DMONOLITH -I.. -I../include  -fPIC -DOPENSSL_PIC -DDSO_DLFCN -DHAVE_DLFCN_H -ffunction-sections -fdata-sections -DOPENSSL_NO_ERR -DL_ENDIAN -DTERMIO -O3 -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32  -DOPENSSL_SMALL_FOOTPRINT -fomit-frame-pointer -Wall -DSHA1_ASM -DSHA256_ASM -DAES_ASM  -c -o rsa.o rsa.c
    mipsel-uclibc-gcc -DMONOLITH -I.. -I../include  -fPIC -DOPENSSL_PIC -DDSO_DLFCN -DHAVE_DLFCN_H -ffunction-sections -fdata-sections -DOPENSSL_NO_ERR -DL_ENDIAN -DTERMIO -O3 -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32  -DOPENSSL_SMALL_FOOTPRINT -fomit-frame-pointer -Wall -DSHA1_ASM -DSHA256_ASM -DAES_ASM  -c -o x509.o x509.c
    mipsel-uclibc-gcc -DMONOLITH -I.. -I../include  -fPIC -DOPENSSL_PIC -DDSO_DLFCN -DHAVE_DLFCN_H -ffunction-sections -fdata-sections -DOPENSSL_NO_ERR -DL_ENDIAN -DTERMIO -O3 -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32  -DOPENSSL_SMALL_FOOTPRINT -fomit-frame-pointer -Wall -DSHA1_ASM -DSHA256_ASM -DAES_ASM  -c -o apps.o apps.c
    mipsel-uclibc-gcc -DMONOLITH -I.. -I../include  -fPIC -DOPENSSL_PIC -DDSO_DLFCN -DHAVE_DLFCN_H -ffunction-sections -fdata-sections -DOPENSSL_NO_ERR -DL_ENDIAN -DTERMIO -O3 -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32  -DOPENSSL_SMALL_FOOTPRINT -fomit-frame-pointer -Wall -DSHA1_ASM -DSHA256_ASM -DAES_ASM  -c -o app_rand.o app_rand.c
    mipsel-uclibc-gcc -DMONOLITH -I.. -I../include  -fPIC -DOPENSSL_PIC -DDSO_DLFCN -DHAVE_DLFCN_H -ffunction-sections -fdata-sections -DOPENSSL_NO_ERR -DL_ENDIAN -DTERMIO -O3 -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32  -DOPENSSL_SMALL_FOOTPRINT -fomit-frame-pointer -Wall -DSHA1_ASM -DSHA256_ASM -DAES_ASM  -c -o enc.o enc.c
    mipsel-uclibc-gcc -DMONOLITH -I.. -I../include  -fPIC -DOPENSSL_PIC -DDSO_DLFCN -DHAVE_DLFCN_H -ffunction-sections -fdata-sections -DOPENSSL_NO_ERR -DL_ENDIAN -DTERMIO -O3 -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32  -DOPENSSL_SMALL_FOOTPRINT -fomit-frame-pointer -Wall -DSHA1_ASM -DSHA256_ASM -DAES_ASM  -c -o openssl.o openssl.c
    rm -f openssl
    shlib_target=; if [ -n "libcrypto.so.1.0.0 libssl.so.1.0.0" ]; then \
         shlib_target="linux-shared"; \
       elif [ -n "" ]; then \
        FIPSLD_CC="mipsel-uclibc-gcc"; CC=/usr/local/ssl/fips-2.0/bin/fipsld; export CC FIPSLD_CC; \
       fi; \
    #   LIBRARIES="-L.. -lssl  -L.. -lcrypto" ; \
       LIBRARIES="-L.. -lcrypto" ; \
    #   LIBRARIES="-L.. -lssl -L.. -lcrypto" ; \
       make -f ../Makefile.shared -e \
         APPNAME=openssl OBJECTS="openssl.o req.o rsa.o x509.o apps.o app_rand.o enc.o" \
         LIBDEPS=" $LIBRARIES -Wl,--gc-sections -ldl" \
         link_app.${shlib_target}
    make[7]: Entering directory `/home/never-die/tomato/release/src/router/openssl/apps'
    openssl.o:(.data.rel.functions+0x8): undefined reference to `verify_main'
    openssl.o:(.data.rel.functions+0x14): undefined reference to `asn1parse_main'
    openssl.o:(.data.rel.functions+0x2c): undefined reference to `dgst_main'
    openssl.o:(.data.rel.functions+0x38): undefined reference to `dh_main'
    openssl.o:(.data.rel.functions+0x44): undefined reference to `dhparam_main'
    openssl.o:(.data.rel.functions+0x5c): undefined reference to `passwd_main'
    openssl.o:(.data.rel.functions+0x68): undefined reference to `gendh_main'
    openssl.o:(.data.rel.functions+0x74): undefined reference to `errstr_main'
    openssl.o:(.data.rel.functions+0x80): undefined reference to `ca_main'
    openssl.o:(.data.rel.functions+0x8c): undefined reference to `crl_main'
    openssl.o:(.data.rel.functions+0xa4): undefined reference to `rsautl_main'
    openssl.o:(.data.rel.functions+0xb0): undefined reference to `dsa_main'
    openssl.o:(.data.rel.functions+0xbc): undefined reference to `dsaparam_main'
    openssl.o:(.data.rel.functions+0xd4): undefined reference to `genrsa_main'
    openssl.o:(.data.rel.functions+0xe0): undefined reference to `gendsa_main'
    openssl.o:(.data.rel.functions+0xec): undefined reference to `genpkey_main'
    openssl.o:(.data.rel.functions+0xf8): undefined reference to `s_server_main'
    openssl.o:(.data.rel.functions+0x104): undefined reference to `s_client_main'
    openssl.o:(.data.rel.functions+0x110): undefined reference to `speed_main'
    openssl.o:(.data.rel.functions+0x11c): undefined reference to `s_time_main'
    openssl.o:(.data.rel.functions+0x128): undefined reference to `version_main'
    openssl.o:(.data.rel.functions+0x134): undefined reference to `pkcs7_main'
    openssl.o:(.data.rel.functions+0x140): undefined reference to `crl2pkcs7_main'
    openssl.o:(.data.rel.functions+0x14c): undefined reference to `sess_id_main'
    openssl.o:(.data.rel.functions+0x158): undefined reference to `ciphers_main'
    openssl.o:(.data.rel.functions+0x164): undefined reference to `nseq_main'
    openssl.o:(.data.rel.functions+0x170): undefined reference to `pkcs12_main'
    openssl.o:(.data.rel.functions+0x17c): undefined reference to `pkcs8_main'
    openssl.o:(.data.rel.functions+0x188): undefined reference to `pkey_main'
    openssl.o:(.data.rel.functions+0x194): undefined reference to `pkeyparam_main'
    openssl.o:(.data.rel.functions+0x1a0): undefined reference to `pkeyutl_main'
    openssl.o:(.data.rel.functions+0x1ac): undefined reference to `spkac_main'
    openssl.o:(.data.rel.functions+0x1b8): undefined reference to `smime_main'
    openssl.o:(.data.rel.functions+0x1c4): undefined reference to `rand_main'
    openssl.o:(.data.rel.functions+0x1d0): undefined reference to `engine_main'
    openssl.o:(.data.rel.functions+0x1dc): undefined reference to `ocsp_main'
    openssl.o:(.data.rel.functions+0x1e8): undefined reference to `prime_main'
    openssl.o:(.data.rel.functions+0x1f4): undefined reference to `ts_main'
    openssl.o:(.data.rel.functions+0x200): undefined reference to `srp_main'
    openssl.o:(.data.rel.functions+0x20c): undefined reference to `dgst_main'
    openssl.o:(.data.rel.functions+0x218): undefined reference to `dgst_main'
    openssl.o:(.data.rel.functions+0x224): undefined reference to `dgst_main'
    openssl.o:(.data.rel.functions+0x230): undefined reference to `dgst_main'
    collect2: ld returned 1 exit status
    make[7]: *** [link_app.gnu] Error 1
    make[7]: Leaving directory `/home/never-die/tomato/release/src/router/openssl/apps'
    make[6]: *** [openssl] Error 2
    make[6]: Leaving directory `/home/never-die/tomato/release/src/router/openssl/apps'
    make[5]: *** [build_apps] Error 1
    make[5]: Leaving directory `/home/never-die/tomato/release/src/router/openssl'
    make[4]: *** [openssl] Error 2
    make[4]: Leaving directory `/home/never-die/tomato/release/src/router'
    make[3]: *** [all] Error 2
    make[3]: Leaving directory `/home/never-die/tomato/release/src-rt'
    make[2]: *** [bin] Error 2
    make[2]: Leaving directory `/home/never-die/tomato/release/src-rt'
    make[1]: *** [c] Error 2
    make[1]: Leaving directory `/home/never-die/tomato/release/src-rt'
    make: *** [r2c] Error 2
    never-die@never-die:~/tomato/release/src-rt$
    
     
    Last edited: Jun 15, 2014
  11. manhquyet90

    manhquyet90 Reformed Router Member

    i'm running Ubuntu 12.04.4LTS 64bit.
    Still error !
     
    Last edited: Jun 15, 2014
  12. manhquyet90

    manhquyet90 Reformed Router Member

    thank you ! i'm running Linux Mint 11 64bit now !
    I have just compiled custom rom successfully and running it on my router now !
    BBEXTRAS ? What is it, Shibby ?
     
    Last edited: Jun 15, 2014
  13. manhquyet90

    manhquyet90 Reformed Router Member

  14. shibby20

    shibby20 Network Guru Member

    Busybox extras. Look into Makefile in top directory.

    Wysłane z mojego IQ4410 przy użyciu Tapatalka
     
    manhquyet90 likes this.
  15. manhquyet90

    manhquyet90 Reformed Router Member

    thank you ! shibby
     
    Last edited: Jun 17, 2014
  16. manhquyet90

    manhquyet90 Reformed Router Member

  17. manhquyet90

    manhquyet90 Reformed Router Member

Share This Page