Qt application for Ipaq: Link error

Marc Lambert <[email protected]>
Newsgroups gmane.comp.handhelds.opie.devel
Message-ID <[email protected]>
Hello everybody !
Let me present you my problem:

I would wanted to transfer my existent application
(which run on a pc) to an ipaq. Particulary, i want to
transfer the gui part of my distribuated application.
(The goal is tu use my pda as a distant control pad
which will give order to the body part of my
application running on a pc).

As I cross-compil source code on my pc, I get the
following errors:

"
arm-linux-g++ -pipe -DQT_QWS_IPAQ -fno-rtti -DQWS
-fno-exceptions sma_pda.cpp -o ../../../Bin/sma_pda 
../../../Lib/allmyfilesObjects.o
-I../../../Include/allmyIncludeDirectories 
-I/opt/OpieSdk/opie/arm/sdk/include
-I/opt/OpieSdk/opie/arm/qt-2.3.7/include -I.moc//
-I/opt/OpieSdk/opie/arm/sdk/mkspecs/qws/linux-ipaq-g++
-L/opt/OpieSdk/opie/arm/sdk/lib  -lopie -lqpe
-L/opt/OpieSdk/opie/arm/qt-2.3.7/lib -lqte -ljpeg
-lpthread -lstdc++  
../../../Lib/agent_interf_v3.o: In function
`agent_interf_v3 type_info function':
/home/lambert/Harpic/Src/Selection/magent_interf_v3.cpp:40:
undefined reference to `QObject type_info function'
../../../Lib/agent_interf_v3.o: In function
`agent_interf_v3::lancer_interf_Qt(void)':
/home/lambert/Harpic/Src/Selection/agent_interf_v3.cpp:1278:
undefined reference to `QObject type_info node'
../../../Lib/qextendedframe_v3.o: In function `Popup
type_info function':
/home/lambert/Harpic/Src/Selection/mqextendedframe_v3.cpp:105:
undefined reference to `QLabel type_info function'
../../../Lib/qextendedframe_v3.o: In function
`QExtendedFrame_v3 type_info function':
/home/lambert/Harpic/Src/Selection/mqextendedframe_v3.cpp:105:
undefined reference to `QFrame type_info function'
../../../Lib/qextendedframe_v3.o: In function
`QExtendedFrame_v3::drawContents(QPainter *)':
/home/lambert/Harpic/Src/Selection/qextendedframe_v3.cpp:318:
undefined reference to `QLabel type_info node'
/home/lambert/Harpic/Src/Selection/qextendedframe_v3.cpp:320:
undefined reference to `QFrame type_info node'
../../../Lib/Userinterface_v3.o: In function
`Userinterface_v3 type_info function':
/home/lambert/Harpic/Src/Selection/muserinterface_v3.cpp:40:
undefined reference to `QWidget type_info function'
../../../Lib/Userinterface_v3.o: In function
`Userinterface_v3::affiche_navig(void)':
/home/lambert/Harpic/Src/Selection/Userinterface_v3.cpp:1518:
undefined reference to `QWidget type_info node'
collect2: ld returned 1 exit status
make: *** [sma_ipaq] Erreur 1
                                                    "
For an easier reading I have not copy all the files .o
I depend and all the include directory of my sources
in the gcc commands.
I don't understand the undefined reference errors
because I have done the link to all qt utils libs :
libqte.so.2.3.7, libopie.so.1.0.0 and libqpe.so.1.5.0.

Anyone has an idea ?

Marc.


	

	
		
___________________________________________________________________________ 
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
http://fr.mail.yahoo.com
_______________________________________________

http://opie.handhelds.org/cgi-bin/moin.cgi/DeveloperWikiIndex

Opie-devel mailing list
[email protected]
https://handhelds.org/mailman/listinfo/opie-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.