[maemo-developers] [maemo-developers] relocation error during porting of an application

From: Riku Voipio rvoipio+maemo at movial.fi
Date: Mon Oct 10 00:52:18 EEST 2005
On Friday 07 October 2005 15:55, Timo Steuerwald wrote:

> <-------------------snip------------------>
> [sbox-SDK_PC: ~/vover/sipX/sipXcallLib/examples/sipXezPhone] >
> run-standalone.sh ~/vover/sipX/sipXcallLib/examples/sipXezPhone/sipXezPhone
> /home/timo/vover/sipX/sipXcallLib/examples/sipXezPhone/.libs/lt-sipXezPhone
>: relocation error:
> /scratchbox/compilers/i686-linux-gcc-3.3_3.3.4-glibc-2.3.2.ds1/i686-linux/l
>ib/librt.so.1: symbol __pthread_clock_settime, version GLIBC_PRIVATE not
> defined in file libpthread.so.0 with link time reference
> [sbox-SDK_PC: ~/vover/sipX/sipXcallLib/examples/sipXezPhone] >

looks like sipXezPhone is linking against -rt. The version old of glibc in 
scratchbox gcc3.3 toolchains, and thus maemo platform provide librt only for 
glibc's internal use. Try looking of there is explict -lrt somewhere in the 
makefiles and recompiling.

Cheers,
Riku

More information about the maemo-developers mailing list