Opened 10 years ago

Closed 10 years ago

#4347 closed Translation (duplicate)

cross complier with mips link error

Reported by: yukoj2004 Owned by:
Priority: Normal Milestone: None Set
Component: Transmission Version: 2.32
Severity: Normal Keywords:
Cc:

Description

HI all i want porting to embbeded mips board how to fix link error =================================================================== Making all in extras make[1]: Entering directory `/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/transmission-2.32/extras' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/transmission-2.32/extras' Making all in third-party make[1]: Entering directory `/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/transmission-2.32/third-party' Making all in dht make[2]: Entering directory `/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/transmission-2.32/third-party/dht' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/transmission-2.32/third-party/dht' Making all in libnatpmp make[2]: Entering directory `/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/transmission-2.32/third-party/libnatpmp' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/transmission-2.32/third-party/libnatpmp' Making all in miniupnp make[2]: Entering directory `/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/transmission-2.32/third-party/miniupnp' make all-am make[3]: Entering directory `/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/transmission-2.32/third-party/miniupnp' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/transmission-2.32/third-party/miniupnp' make[2]: Leaving directory `/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/transmission-2.32/third-party/miniupnp' Making all in libutp make[2]: Entering directory `/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/transmission-2.32/third-party/libutp' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/transmission-2.32/third-party/libutp' make[2]: Entering directory `/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/transmission-2.32/third-party' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/transmission-2.32/third-party' make[1]: Leaving directory `/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/transmission-2.32/third-party' Making all in libtransmission make[1]: Entering directory `/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/transmission-2.32/libtransmission'

CCLD blocklist-test

/home/KKK/MIPS_1.7_SDK/tools-gcc-4.1/bin/../lib/gcc/mips64-linux-gnu/4.1.2/../../../../mips64-linux-gnu/bin/ld: cannot find -lopenssl collect2: ld returned 1 exit status make[1]: * [blocklist-test] Error 1 make[1]: Leaving directory `/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/transmission-2.32/libtransmission'

================================================================== my script export OPENSSL_CFLAGS="-I/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/openssl-1.0.0d/include" export LIBCURL_CFLAGS="-I/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/curl-7.21.7/include" export CC="mips64-linux-gnu-gcc" export CXX="mips64-linux-gnu-g++" export LIBCURL_LIBS="-L/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/curl-7.21.7/lib/.libs -lcurl" export OPENSSL_LIBS="-L/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/openssl-1.0.0d/build/usr/local/ssl/lib -lopenssl" export LIBEVENT_CFLAGS="-I/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/libevent-2.0.12-stable/include" export LIBEVENT_LIBS="-L/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/ibevent-2.0.12-stable/build/lib -levent" export ZLIB_LIBS="-L/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/zlib-1.2.5/build/lib/" export ZLIB_CFLAGS="-I/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/zlib-1.2.5/build/include" export LIBS="-L/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/zlib-1.2.5/build/lib/" export CFLAGS="-I/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/zlib-1.2.5/build/include" ./configure --build=mips64-linux-gnu --target=mips64 \ --program-prefix=/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/transmission-2.32/build/ \ export LD_LIBRARY_PATH="/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/libevent-2.0.12-stable/build/lib -levent":"/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/curl-7.21.7/lib/.libs -lcurl":"/home/KKK/MIPS_1.7_SDK/linux/embedded_rootfs/bt/openssl-1.0.0d/build/usr/local/ssl/lib -lopenssl"

Change History (2)

comment:1 Changed 10 years ago by livings124

  • Milestone changed from 2.33 to None Set

comment:2 Changed 10 years ago by livings124

  • Resolution set to duplicate
  • Status changed from new to closed

Why are you opening a new post instead of reading #4345?

Note: See TracTickets for help on using tickets.