OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Pma400 Sdk And Qtopia 1.7 Sdk Linking Error
hp1109
post Mar 9 2006, 08:52 AM
Post #1





Group: Members
Posts: 4
Joined: 8-March 06
Member No.: 9,320



I'm tring to build a console app on pma400, and i simply included "audiodevice.h". The following lines are compiler commands and error messages.

arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG -I/opt/Qtopia/arm/include -o ArchosAudio.o ArchosAudio.cpp
arm-linux-g++ -o ArchosAudio ArchosAudio.o -L/opt/PMA400/lib -larchos -lcsl -laimaging -L/opt/Qtopia/arm/lib -lqtopia -lqte -lqpe -ljpeg -luuid

/opt/PMA400/lib/libarchos.so: undefined reference to `QExclusiveLock::unlock(QExclusiveLock::Type)'
/opt/PMA400/lib/libarchos.so: undefined reference to `QWSDisplay::fblock'
/opt/PMA400/lib/libarchos.so: undefined reference to 'QExclusiveLock::lock(QExclusiveLock::Type)'

anyone has any idea how this happened. plz help sad.gif

Thanks
Go to the top of the page
 
+Quote Post
hp1109
post Mar 10 2006, 12:24 PM
Post #2





Group: Members
Posts: 4
Joined: 8-March 06
Member No.: 9,320



I've solved the problem myself. Ironically, I found some useful information from a French website; even worse, French and I don't know each other very well. Anyway, i copied libqte.2.3.6 from /opt/Qtopia.rom/lib on Archos PMA400, which is the lower version of current libqte supplied in Qtopia 1.7 SDK. And i changed the links to point libqte.so.2.3.6 instead of libqte.2.3.7. After that, the compiler complained that libz is required, however, this libz doesn't exist in both PMA400 SDK and Qtopia SKD. I found it on the Archos PMA again under /usr/lib. Eventually, the problem solved. Hope this is helpful to whoever has the same problem. biggrin.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th December 2014 - 06:16 PM