Re: rtorrent make fails

2009-07-14 Thread Andrey Voropaev
2009/7/13 Kimmo Hämäläinen :
> On Wed, 2009-07-01 at 09:42 +0200, ext Jonni Nakari wrote:
>> Hi,
>> i am trying to build rtorrent (http://libtorrent.rakshasa.no/) in my
>> Maemo 3.1 sdk environment but the make keeps failing:
> ...
>> -Wl,-rpath -Wl,/scratchbox/host_shared/lib/ -Wl,/scratchbox/tools/lib/
>> -Wl,/scratchbox/devkits/maemo3-tools/lib/  ui/libsub_ui.a
>
> These "-Wl," options look invalid to me, shouldn't it be
> "-Wl,-L" or "-L"?

Sorry to add more guessing. But -L can be used directly without -Wl.
gcc understands it. Though the command line does look strange. Option
-rpath is used to specify directories where the libraries should be
found at run-time. Do those /scratchbox directories exist in Nokia
installation? I couldn't find any. Why then this option is needed at
all?
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: rtorrent make fails

2009-07-13 Thread Kimmo Hämäläinen
On Wed, 2009-07-01 at 09:42 +0200, ext Jonni Nakari wrote:
> Hi,
> i am trying to build rtorrent (http://libtorrent.rakshasa.no/) in my 
> Maemo 3.1 sdk environment but the make keeps failing:
...
> -Wl,-rpath -Wl,/scratchbox/host_shared/lib/ -Wl,/scratchbox/tools/lib/ 
> -Wl,/scratchbox/devkits/maemo3-tools/lib/  ui/libsub_ui.a 

These "-Wl," options look invalid to me, shouldn't it be
"-Wl,-L" or "-L"?

-Kimmo


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


rtorrent make fails

2009-07-01 Thread Jonni Nakari
Hi,
i am trying to build rtorrent (http://libtorrent.rakshasa.no/) in my 
Maemo 3.1 sdk environment but the make keeps failing:

/bin/sh ../libtool --tag=CXX   --mode=link g++  -g -O2 -g -DDEBUG 
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include   
-I/scratchbox/devkits/maemo3-tools/include   -o rtorrent 
command_download.o command_dynamic.o command_events.o command_file.o 
command_helpers.o command_local.o command_network.o command_object.o 
command_peer.o command_tracker.o command_scheduler.o command_ui.o 
control.o globals.o main.o option_parser.o signal_handler.o 
ui/libsub_ui.a core/libsub_core.a display/libsub_display.a 
input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a -lncurses  
-lsigc-2.0   -Wl,-rpath -Wl,/scratchbox/host_shared/lib/ 
-Wl,/scratchbox/tools/lib/ -Wl,/scratchbox/devkits/maemo3-tools/lib/ 
-L/scratchbox/devkits/maemo3-tools/lib -lcurl   -ltorrent
libtool: link: warning: library `/usr/lib/libtorrent.la' was moved.
libtool: link: warning: library `/usr/lib/libtorrent.la' was moved.
libtool: link: g++ -g -O2 -g -DDEBUG -I/usr/include/sigc++-2.0 
-I/usr/lib/sigc++-2.0/include -I/scratchbox/devkits/maemo3-tools/include 
-o rtorrent command_download.o command_dynamic.o command_events.o 
command_file.o command_helpers.o command_local.o command_network.o 
command_object.o command_peer.o command_tracker.o command_scheduler.o 
command_ui.o control.o globals.o main.o option_parser.o signal_handler.o 
-Wl,-rpath -Wl,/scratchbox/host_shared/lib/ -Wl,/scratchbox/tools/lib/ 
-Wl,/scratchbox/devkits/maemo3-tools/lib/  ui/libsub_ui.a 
core/libsub_core.a display/libsub_display.a input/libsub_input.a 
rpc/libsub_rpc.a utils/libsub_utils.a -lncurses 
-L/scratchbox/devkits/maemo3-tools/lib 
/scratchbox/devkits/maemo3-tools/lib/libcurl.so -lidn -lssl -ldl -lz 
/usr/lib/libtorrent.so -lcrypto /usr/lib/libsigc-2.0.so -Wl,-rpath 
-Wl,/scratchbox/devkits/maemo3-tools/lib -Wl,-rpath 
-Wl,/scratchbox/devkits/maemo3-tools/lib
/scratchbox/tools/lib/: file not recognized: Is a directory
collect2: ld returned 1 exit status
...

full output of ./configure:
http://pastebin.com/m206173bd
full output of make:
http://pastebin.com/m5bb848c3

What kind of modifications should i make to rtorrent or to my 
environment to get it build?

-- 
Jonni Nakari
jo...@egarden.fi
+358 50 4411 784

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers