[maemo-developers] rtorrent make fails

From: Andrey Voropaev avorop at mail.ru
Date: Tue Jul 14 10:21:53 EEST 2009
2009/7/13 Kimmo Hämäläinen <kimmo.hamalainen at nokia.com>:
> 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,<directory name>" options look invalid to me, shouldn't it be
> "-Wl,-L<directory name>" or "-L<directory name>"?

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?
More information about the maemo-developers mailing list