RE: Problem in compitling using RH9
"Brandon Callison" <[email protected]> Mon, 20 Oct 2003 08:23:05 -0500
| Newsgroups | gmane.comp.handhelds.zaurus.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Roy, The error messages didn't make it into the email. Could you post those? On my system I have to change all references of gcc to g++ in the resulting Makefile or I'll have link errors, but I'm not using v1.7 so that may or may not fix your problem. QSettings is in Qt 3.x and Qtopia is based off 2.x. Likewise, qmake is a Qt 3.x animal. I don't know enough about it to know whether or not it works with 2.x source code. I hope this helps you out. Have a good day! Brandon -----Original Message----- From: Roy [mailto:[email protected]] Sent: Sunday, October 19, 2003 2:49 AM To: [email protected] Subject: Re: [Zaurus-devel] Problem in compitling using RH9 Dear, I followed the instructions from the link here: http://docs.zaurus.com/index.php?id=linux_compiler_setup_howto I first installed all the followings: 1)gcc-cross-sa1100-2.96.2-0.i386.rpm 2)binutils-cross-arm-2.11.2-0.i386.rpm 3)glibc-arm-2.2.2-0.i386.rpm 4)linux-headers-arm-sa1100-2.4.6-3.i386.rpm Also, since the compiler version has to be matched, i installed them from the CD1 of RH9 install CD, here they are: 1)compat-gcc-c++-7.3-2.96.118 2)compat-libstdc++-devel-7.3-2.96.118 3)compat-libstdc-7.3-2.96.118 4)compat-gcc-7.3-2.96.118 then i installed the SDK: qtopia-free-1.7.0-lrh9.i386.rpm and copied the tmake.conf from the link into /opt/Qtopia/tmake/lib/qws/linux-x86-g++/tmake.conf To setup the environment variables, i used the scripts downloaded from the link: dev-x86-qpe.sh and type 'source dev-x86-qpe.sh' After that, i copied the /opt/Qtopia/examples/application/ to /tmp(or other location i have tried), and run the 'tmake -o Makefile example.pro' or 'qmake -o Makefile example.pro' under that directry. Finally, type 'make', error occurred, i have attached the error msgs using tmake or qmake in this email, hope they can help to solve my problems. And other questions are, 1) which Makefile generator is better for developing Zaurus apps under RH9? tmake or qmake? (but they have different errors ..) 2) I read the Qt class and there is QSetting class provided for us, but when i read the Qtopia library, no QSetting class provided, can we still use the QSetting or use the Config class instead?? THANKS FOR HELPING ME A LOT. Roy > Roy > >> I am using RH9 to develop my application on Zaurus, but when i >> tried >> to compile the example project, many errors resulted. I knew some >> people also having these problems when using RH9 and i have followed >> some of the instructions from some of the websites, such as: >> >> install the following packets: >> compat-gcc-c++-7.3-2.96.110 >> compat-libstdc++-7.3-2.96.110 >> compat-libstdc++-devel-7.3-2.96.110 >> compat-gcc-7.3-2.96.110 >> >> I found them in my RH9 CD1 and installed all. and also, i downloaded >> the Qtopia SDK 1.7.0 version which is the latest one, the RH9 default >> tmake version is 1.11 which is also the latest one. But either i use >> tmake or qmake , compile errors also exist(many unreference errors), >> how to solve this problem ? many thanks! and it is urgent for me. >> thanks again. > > I suggest you give more details of exactly what you did at the time > errors occurred, and exactly what error messages there were. Also list > any online FAQs or instructions you are following... > > -Cam > (reply to the list please) _______________________________________________ Zaurus-devel mailing list [email protected] http://lists.zaurus.com/mailman/listinfo/zaurus-devel