toolchain for WRT54GX v2 problem

Discussion in 'DD-WRT Firmware' started by dt9394, Nov 9, 2005.

  1. dt9394

    dt9394 Network Guru Member

    i got this error when compile the firmware...
    (im using toolchain that make for WRT54GX- version 1)

    File in wrong format: failed to merge target specific data of file user.o
    /opt/brcm/hndtools-mipsel-linux-3.2.3/bin/mipsel-linux-ld: signal.o: compiled for a little endian system and target is big endian
    File in wrong format: failed to merge target specific data of file signal.o
    /opt/brcm/hndtools-mipsel-linux-3.2.3/bin/mipsel-linux-ld: sys.o: compiled for a little endian system and target is big endian
    File in wrong format: failed to merge target specific data of file sys.o
    /opt/brcm/hndtools-mipsel-linux-3.2.3/bin/mipsel-linux-ld: kmod.o: compiled for a little endian system and target is big endian
    File in wrong format: failed to merge target specific data of file kmod.o
    /opt/brcm/hndtools-mipsel-linux-3.2.3/bin/mipsel-linux-ld: context.o: compiled for a little endian system and target is big endian
     
  2. dt9394

    dt9394 Network Guru Member

    i found away to compile it by using realtek toolchain... but ....
    (i think GX source is broken) damn it

    ../libcrypto.a(b_print.o): In function `fmtfp':
    b_print.o(.text+0xdb4): undefined reference to `dpcmp'
    b_print.o(.text+0xde0): undefined reference to `dpcmp'
    b_print.o(.text+0xe1c): undefined reference to `dptoli'
    b_print.o(.text+0xe60): undefined reference to `dpmul'
    b_print.o(.text+0xe88): undefined reference to `litodp'
    b_print.o(.text+0xeac): undefined reference to `dpsub'
    b_print.o(.text+0xed0): undefined reference to `dpmul'
    b_print.o(.text+0xef4): undefined reference to `dptoli'
    b_print.o(.text+0xf10): undefined reference to `litodp'
    b_print.o(.text+0xf34): undefined reference to `dpsub'
    b_print.o(.text+0xf58): undefined reference to `dpcmp'
    b_print.o(.text+0xfa0): undefined reference to `dpmul'
    b_print.o(.text+0xfc4): undefined reference to `dptoli'
    b_print.o(.text+0x100c): undefined reference to `dpmul'
    b_print.o(.text+0x1030): undefined reference to `dptoli'
    b_print.o(.text+0x14e4): undefined reference to `dpsub'
    ../libcrypto.a(md_rand.o): In function `ssleay_rand_add':
    md_rand.o(.text+0x520): undefined reference to `dpcmp'
    md_rand.o(.text+0x610): undefined reference to `dpadd'
    ../libcrypto.a(md_rand.o): In function `ssleay_rand_status':
    md_rand.o(.text+0xf98): undefined reference to `dpcmp'
    ../libcrypto.a(md_rand.o): In function `ssleay_rand_seed':
    md_rand.o(.text+0x1228): undefined reference to `litodp'
    ../libcrypto.a(rand_unix.o): In function `RAND_poll':
    rand_unix.o(.text+0x268): undefined reference to `litodp'
    collect2: ld returned 1 exit status
    make[3]: *** [bntest] Error 1
    make[3]: Leaving directory `/disk2a/linksys/WRT54GX-v2/lib/libssl/test'
    make[2]: *** [sub_all] Error 1
    make[2]: Leaving directory `/disk2a/linksys/WRT54GX-v2/lib/libssl'
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/disk2a/linksys/WRT54GX-v2/lib'
    make: *** [subdirs] Error 1
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice