Thanks.
Finally, I overcome it by install meego-rpm-config.

But it give me a lib with much bigger size;
The original libQtGui.so.4.7.1 is ~11M, but the one built by me is ~110M.


From: [email protected] [mailto:[email protected]]
Sent: Monday, February 14, 2011 11:09 AM
To: Zhao, Halley
Subject: RE: [MeeGo-dev] undefined symbol: 
_Z34QBasicAtomicIn_fetchAndAddOrderedPVii of libQtGui.so.4.7.1

Hi,

QBasicAtomicInt is defined in libQtCore - does copying that library to the 
target device help and / or can you find the symbol in libQtCore with nm?

Cheers,

Dave

From: [email protected] [mailto:[email protected]] On 
Behalf Of ext Zhao, Halley
Sent: Monday, 14 February 2011 11:57 AM
To: [email protected]
Subject: [MeeGo-dev] undefined symbol: 
_Z34QBasicAtomicIn_fetchAndAddOrderedPVii of libQtGui.so.4.7.1

In order to debug in libQtGui.so, I tried to build it on a MeeGo image.
But when I copied libQtGui.so.4.7.1 to target device to use, I got the error 
"ymbol lookup error: /usr/lib/libQtGui.so.4: undefined symbol: 
_Z34QBasicAtomicInt_fetchAndAddOrderedPVii"
nm also give me the similar information, ( while the original libQtGui.so in 
release image doesn't have such issue)
# nm -u /usr/lib/libQtGui.so.4.7.1 | grep fetchAndAddOrdered
         U _Z34QBasicAtomicInt_fetchAndAddOrderedPVii


My platform is a core 2 notebook installed with MeeGo image for netbook. (maybe 
the 'arch' difference cause the issue, but the package works well in OBS).
I works on a latest image (Feb 07 of 2001), I use "zypper si qt" to get the 
source rpm, and "rpmbuild -bb qt.spec" to build the package.
I think it should create the same result as it works on OBS, where is the 
mistake?
Could anyone tell me how to fix it?
ZHAO, Halley (Aihua)
Email: [email protected]<blocked::mailto:[email protected]>
Tel: +86(21)61166476   iNet: 8821-6476
SSG/OTC/Moblin 3W038 Pole: F4
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to