Qirui qtopia
1. I cd /opt/qtopia/bin and#./todolist, the program runs.
2. then I copy sister qtopia examples to Udisk, which I later plug into QQ2440. #fdisk –l, nothing shows up, so I open /etc/init.d/rcS and see the line
ln –s /dev/scsi/host0/bus0/target0/lun0/disc /dev/sda1,
but just as what happens on my yctek board, /dev/sda1 won’t do, you still have to mount the long one.
3. anyway, I see what is on udisk, and #./helloworld, error occur: so file expected!
4. cp helloworld to /opt/qtopia/bin, no difference.
5. want to take a look at the env in QQ2440, but #env does not work, use#set instead.
6. for the time being all the needed env variables are correct, including QTDIR QPEDIR PATH LD_LIBRARY_PATH, but why is that my helloworld can not run?
7. my helloworld needs libts-0.0.so.0, where is it? Since it is not in the current lib PATH.
8. I am bad, haha. I cd qtopia/lib/ and vi libts-0.0.so.0, than chmod a+x. a fake one comes out. So I helloworld now, error says so file too short!
9. OK, I make it much longer and then #helloworld. The error now is that ELF file version does not match. I’d better give up my trick.
10. it is about tslib as they say, I will figure it out later.
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/56913/showart_527786.html
|