Topic: Transmission compilation

Hi!

I try to compile transmission with following this step:

./configure --host=arm-linux --prefix=/usr/arm-linux OPENSSL_CFLAGS=-I/usr/arm-linux/include/  OPENSSL_LIBS=-lcrypto LIBCURL_CFLAGS=-I/usr/arm-linux/include/ LIBCURL_LIBS="-L/usr/arm-linux/lib/ -lcurl" --disable-nls --enable-daemon --enable-cli

Here no problem but when I do the make i get the following error:

make[1]: entrant dans le répertoire « /home/alex/dev/transmission-1.76/libtransmission »
  CCLD   blocklist-test
/usr/arm-2008q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld: cannot find /lib/libpthread.so.0
collect2: ld returned 1 exit status
make[1]: *** [blocklist-test] Erreur 1

If someone can help me big_smile

Re: Transmission compilation

Can you see if compiling by running "make V=1" gives any more useful output?  It looks like it's trying to link in the wrong version of pthread.

Re: Transmission compilation

:s this dont give more info.

/bin/sh ../libtool  --tag=CC   --mode=link arm-linux-gcc -I../third-party/dht -I../third-party/libevent -I../third-party/libevent -I/usr/arm-linux/include/ -I/usr/arm-linux/include/ -pthread  -g -O2 -g -O3  -std=gnu99 -ggdb3 -Wall -W -Wpointer-arith -Wformat-security -Wcast-align -Wundef -Wcast-align -Wstrict-prototypes -Wmissing-declarations -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wunused-parameter -Wwrite-strings -Wextra -Wdeclaration-after-statement -Winit-self   -o blocklist-test blocklist-test.o ./libtransmission.a ../third-party/miniupnp/libminiupnp.a ../third-party/libnatpmp/libnatpmp.a  ../third-party/dht/libdht.a ../third-party/libevent/libevent.la -L/usr/arm-linux/lib/ -lcurl -lcrypto  -lm  -lm 
libtool: link: arm-linux-gcc -I../third-party/dht -I../third-party/libevent -I../third-party/libevent -I/usr/arm-linux/include/ -I/usr/arm-linux/include/ -pthread -g -O2 -g -O3 -std=gnu99 -ggdb3 -Wall -W -Wpointer-arith -Wformat-security -Wcast-align -Wundef -Wcast-align -Wstrict-prototypes -Wmissing-declarations -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wunused-parameter -Wwrite-strings -Wextra -Wdeclaration-after-statement -Winit-self -o blocklist-test blocklist-test.o  ./libtransmission.a ../third-party/miniupnp/libminiupnp.a ../third-party/libnatpmp/libnatpmp.a ../third-party/dht/libdht.a ../third-party/libevent/.libs/libevent.a -lnsl -lresolv -L/usr/arm-linux/lib/ /usr/arm-linux/lib/libcurl.so -lrt -lcrypto -lm -pthread -Wl,-rpath -Wl,/usr/arm-linux/lib -Wl,-rpath -Wl,/usr/arm-linux/lib
/usr/arm-2008q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld: cannot find /lib/libpthread.so.0
collect2: ld returned 1 exit status
make[1]: *** [blocklist-test] Erreur 1

I don't find way!

Re: Transmission compilation

apiel, your toolchain must be misconfigured.  I see libpthread.a and libpthread.so in my chumby scratchbox.  Do you see those files in /usr/lib when you're in the sb shell?

5 (edited by apiel 2010-01-15 15:16:51)

Re: Transmission compilation

I was doing everything without scratchbox !!!

I install scratchbox now because look realy more easy. I dont know this tool before big_smile Look to be good thing (something I was waiting since a long)...
I think after that will be more simple...

Re: Transmission compilation

hi,
anyone succeeded in compiling a torrent server?
I couldn't set up scratchbox properly..

Re: Transmission compilation

You can always code a torrent application in python and run it off the device