PDA

View Full Version : problems about cross-compilation qte to arm



slient
3rd April 2007, 04:17
Hi
I am newbie .
I want to cross -compilation qte library,and come across difficulty,need your help,thank you

My Linux is redhat 9,and I the crouse of compilation as followed:

ar xfz qt-embedded-3.2.1.tar.gz
cd qt.-embedded-3.2.1
export QTDIR=PWD
export QTEDIR=$QTDIR
export PATH=$QTDIR/bin:$PATH
export PATH=/usr/local/arm/2.95.3/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
./configure –xplatform qws/linux-arm-g++ –qvfb –depths 4,8,16,32 -thread

the error I came across:

/usr/local/arm/2.95.3/arm-linux/bin/ld: cannot find -lqassistantclient
collect2: ld returned 1 exit status
make[3]: *** [helpdemo] Error 1
make[3]: Leaving directory `/usr/local/QTarm/qt-embedded-free-3.2.1/examples/helpdemo'
make[2]: *** [sub-helpdemo] Error 2
make[2]: Leaving directory `/usr/local/QTarm/qt-embedded-free-3.2.1/examples'
make[1]: *** [sub-examples] Error 2
make[1]: Leaving directory `/usr/local/QTarm/qt-embedded-free-3.2.1'
make: *** [init] Error 2

I appriciating your answer,thank you

marcel
3rd April 2007, 07:31
Don't compile the demos :). (Since it gets stuck there ). There should be an option to skip the demos.

Marcel

slient
10th April 2007, 10:57
For days I still don't know how to solve the problem,who can help me?thank you!

jacek
10th April 2007, 12:28
Try "make sub-src" instead of "make".

slient
10th April 2007, 15:53
I compiled it by "make sub-src", and didn't come across the problem.But it didn't compiled the examples included in qt/e.why?

Thanks

jacek
10th April 2007, 17:59
But it didn't compiled the examples included in qt/e.why?
Because "make sub-src" compiles only Qt.