[oe] qt4-embedded & tslib

Matthew Dombroski matthew at 4d-electronics.co.nz
Thu Sep 10 03:19:19 UTC 2009


On 10/09/09 14:12, Holger Hans Peter Freyther wrote:
> On Thursday 10 September 2009 00:02:07 Matthew Dombroski wrote:
>    
>> On 09/09/09 18:49, Eric Bénard wrote:
>>      
>>> Hi Matthew,
>>>
>>> Matthew Dombroski a écrit :
>>>        
>>>> Actually, the problem is that tslib is linked incorrectly.
>>>> The pthres, linear, etc. modules are not linked to libts so theyre
>>>> missing symbols when an attempt is made to load them.
>>>>          
>>> ts_calibrate&  ts_test are working fine : doesn't is mean the modules
>>> are properly linked ?
>>>        
>> ldd says not:
>>
>> $ ldd dejitter.so
>> libc.so.6 =>  /lib/libc.so.6 (0x4000a000)
>> /lib/ld-linux.so.3 (0x2a000000)
>>
>> With my patch:
>>
>> $ ldd dejitter.so
>> libts-1.0.so.0 =>  /usr/lib/libts-1.0.so.0 (0x4000a000)
>> libdl.so.2 =>  /lib/libdl.so.2 (0x40014000)
>> libc.so.6 =>  /lib/libc.so.6 (0x4001f000)
>> /lib/ld-linux.so.3
>>
>> I'm not sure why Qt is the only place it fails (unlinked).
>> My opinion is that linking properly is technically better.
>>      

Hmm... tslib svn has fixed it anyway.
See 
http://svn.berlios.de/viewcvs/tslib/trunk/tslib/plugins/Makefile.am?revision=56&view=markup

> Can you provide us with the output of the failure?
>    

runtime failure:

# app  -qws
Couldnt load module pthres
QWSTslibMouseHandlerPrivate: ts_config() failed with error: 'No such 
file or directory'
Please check your tslib installation!

My tslib installation is fine.

~Matt






More information about the Openembedded-devel mailing list