Hi, I have just bought Mini2440. I want to start writing qtopia application but I need software to simulate qtopia on my PC. I downloaded x86-qtopia from FriendlyARM web page and I try to compile it. All the time I got an error: x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2/bin/uic - command not found. I checked. Yes there is no UIC file in that directory? So what i wrong? In makefile the path exist. Regards Janusz p.s. How can I simulate qtopia 2.2.0 ?
qtopia-x86 compiling problem.
I think so, you can try Fedora9, and fellow the setup-step that is in the Chinese Manual, all has the screen-snap show. mindee
* use a 32-Bit Linux on your Host * use /opt/FriendlyARM/mini2440 as path where you unpack the x86-qtopia-2.2.0.tgz * edit the "build" script. Set the proper displaysize for you. * if you are using a very recent version of g++ you will get compile errors. here to fix: 1. in qtopia-2.2.0-FriendlyARM/qt2/src/tools/qmemoryfile_unix.cpp line 143: --- f = ::open(tmpFile.latin1(), O_CREAT | O_WRONLY); +++ f = ::open(tmpFile.latin1(), O_CREAT | O_WRONLY, 0777); 2. the same patch in qtopia-2.2.0-FriendlyARM/qtopia/src/libraries/qtopia/qmemoryfile_unix.cpp line 141: 3. in qtopia-2.2.0-FriendlyARM/qtopia/src/libraries/qtopia/backend/vobject.cpp and in qtopia-2.2.0-FriendlyARM/qtopia/src/plugins/codecs/wavplugin/waveplugin.cpp look for missing (const char *) casts arround strchr() functions. enjoy!
Thanks for your help, I follow your suggestion but I continuously have several errors in 3rdparty/kernel/qmotifdnd_x11.cpp file. I really do not know how to compile this arm-qtopia.
The problems seems to be the lack of standard devel libreries in my distribution (x11 for instance). I try to solve these before
Dear ok the compilation now stops while build Qt/Embedded with error: arm-linux-g++ not found even if it exists and is in the PATH, after that error further erron in pgnscale could you help me?
Hello, i've bought a couple of this boards and made some software to run on them, but now that i want to use the Qtopia graphical environment i can't. I can't setup the Qtopia environment on my linux system so that i can compile programs to run on the board. First of all: - what's the difference between x86-qtopia2.2.0 and ARM-qtopia2.2.0 tar files? - Are there any dependencies needed before i install Qtopia on my Ubuntu? - What is the compiler version needed for all of this? - Is there a manual with all the steps explained? What is what and what should be compiled and setup? Also, why isn't there any type of help regarding this? If FriendlyArm is selling this board, it should at least have a good support regarding all of it's systems. I would very much appreciated any help regarding Qtopia, Thank you, Luís Silva
Hi, there are a lot of problem with the distribution provided with the board, I currently not able to complete the building process for the arm version (several problem in the configuration script really difficult to fix). Concerning the x86 distribution, it seems with less bugs but requires some fixing by hand, for instance adding -luuid as link option in some compilation. The dependancy problem seems to be fixed installing x11, libuuid libjpeg etc. on my ubuntu as explain in http://doc.troll.no/qtopia2.1/html/qtopia-dependencies.html#6 I try to finalize at least the compilation of x86 version and that try to fix the arm one, but it is really strange, FrendlyARM provides qtopia working images but not working environment. Please help us!
I put together a guide for setting up the tools, hope it helps. http://equallybad.blogspot.com/2010/02/project-how-to-setup-default-dev-...
Hi all, I wanna design a GUI but not using Qtopia , is any one know how can i use WxWidget lib. instead of using the Qt. thanks
Hello, THANK YOU! You've made a really easy to understand manual to finally use all the Qtopia2.2.0 potential in mini2440. Following your instructions, i've been able to compile an app to Qtopia. I'll compile several other applications for further testing, but so far so good. Killfile you were very kind by supplying this information, thank you once more. Best regards, Luis Silva
Hi all, I have installed and compiled x86-qtopia and when I try to compile the hello examples then next error occurs: /usr/bin/ld: cannot find -lqtopia2 collect2: ld returned 1 exit status What this mean and how I can fix it? thanks.
Hi all, Same problem that Pera posted. /usr/bin/ld: cannot find -lqtopia2 collect2: ld returned 1 exit status What this mean and how I can fix it? Please share the steps to fix the error. thanks in advance.
Hi Prasad, do have still problem with x86-qtopia? I installed a new versions of both softaware(arm and x86 qtopia). And then I followed the instructions(thanks for killfile): http://equallybad.blogspot.com/2010/02/project-how-to-setup-default-dev-... And now arm-qtopia works but x86-qtopia doesn't work. And again, could anybody help me with this problem, please?
>>skip2816 --3. in --qtopia-2.2.0-FriendlyARM/qtopia/src/libraries/qtopia/backend/vobject.cpp --and in --qtopia-2.2.0-FriendlyARM/qtopia/src/plugins/codecs/wavplugin/waveplugin.cpp --look for missing (const char *) casts arround strchr() functions. please example as i searched in 1st file and didnt find strchr() but i found strcpy,strcat and didnt know how to cast it with "(const char *)" and in 2nd file i didnt found strchr() thanks in advance
pera and Prasad, Does libqtopia2.so exist in /opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/lib/ ? If it doesn't, then the build probably failed. You'll want to run it again and check for errors (maybe tee to a file) If you do have the libs, are you running the build script in hello? That calls the script setQpeEnv which exports the paths for the various libs. You can run it yourself before you call qmake, make, etc. MMS, check the link I posted above, that lists exactly which files to edit.
Hi killfile, ok I haven't libqtopia2.so library in lib path. And I checked amr-qtopia lib. There are much more libraries than x86-qtopia lib. So, I run build again and it givens next errors: configure: error: Cannot link small Qtopia Application. For more details look at the end of config.log And config.log is: configure:24354: error: Cannot link small Qtopia Application. For more details look at the end of config.log But I don't know what I should be look at end of config.log. There is a lot of information where I understond anything. What I can try to next?
Hi Pera, It's hard to tell what the problem is without more information. Can you post the exact commands you are running? Also try something like: ./build >2&1 | tee build.log Search for any errors and paste those. -- config.log is created in the directory where you run configure. --
Hello, i also had the error of the missing library. That's because when you run an Qtopia app in the shell, that shell doesn't have any environment variables configured. burn the qtopia image that came with the board. Put the executable in /opt/Qtopia/bin/Apps (where all the other are) and the .desktop file in the directory where all the .desktop files are. Then reboot the board. Go to the menu (using the GUI) where all the examples that came with the board are and your executable should appear there and correctly execute. Bye bye, LDS
how to make cross compile environment for mini2440 with ubuntu linux? can any one help me. Thank you.
dude even if u read this thread well u'll get to know .. go here:- http://equallybad.blogspot.com/2010/02/project-how-to-setup-default-dev-...
Hey killfill, THis is from ur URL.. I edited the build scripts to remove the initial archive removal and extractions. This will prevent the source code changes above from being deleted and overwritten (which the scripts will do). Alternatively, you can simply run the configure statement by hand, then run make, make install, etc.. what do u mean when u say "Alternatively, you can simply run the configure statement by hand"?? do we have to do ./configure by moving into each directories ie konq qtopia-2.2.0-FriendlyARM etc??
this is for killfile: i get this log after i do make.. ./configure says qtopia now configured after make command This target is using the GNU C++ compiler (linux-g++). Recent versions of this compiler automatically include code for exceptions, which increase both the size of the Qt library and the amount of memory taken by your applications. You may choose to re-run configure with the -no-exceptions option to compile Qt without exceptions. This is completely binary compatible, and existing applications should continue to work. Build type: linux-g++ Configuration ....... nocrosscompiler minimal-config small-config medium-config large-config full-config styles tools kernel widgets dialogs iconview workspace network canvas table xml sql release dll thread largefile stl ipv6 png gif zlib nis bigcodecs x11sm xshape xinerama xcursor xrandr xrender xftfreetype xkb STL support ......... yes PCH support ......... no IPv6 support ........ yes Thread support ...... yes NIS support ......... yes CUPS support ........ no Large File support .. partial GIF support ......... yes MNG support ......... plugin (qt) JPEG support ........ plugin (qt) PNG support ......... yes (qt) zlib support ........ yes OpenGL support ...... no NAS sound support ... no Session management .. yes XShape support ...... yes Xinerama support .... yes Tablet support ...... no Xcursor support ..... yes XRandR support ...... yes XRender support ..... yes Xft support ......... yes XKB Support ......... yes Finding project files. Please wait... 89 projects found. Creating makefiles. Please wait... Qt is now configured for building. Just run /usr/bin/make. To reconfigure, run /usr/bin/make confclean and configure. make[1]: Entering directory `/opt/FreindlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/dqt' cd qmake && make make[2]: Entering directory `/opt/FreindlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/dqt/qmake' make[2]: `qmake' is up to date. make[2]: Leaving directory `/opt/FreindlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/dqt/qmake' cd src/moc && make make[2]: Entering directory `/opt/FreindlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/dqt/src/moc' make[2]: Nothing to be done for `first'. make[2]: Leaving directory `/opt/FreindlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/dqt/src/moc' cd src && make make[2]: Entering directory `/opt/FreindlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/dqt/src' gcc -c -pipe -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_CUPS -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC -I/opt/FreindlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/dqt/mkspecs/linu x-g++ -I. -I/usr/include/freetype2 -I3rdparty/libpng -I3rdparty/zlib -I3rdparty/opentype -I../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/ftxopentype.o 3rdparty/opentype/ftxopentype.c In file included from 3rdparty/opentype/ftxopentype.c:3: 3rdparty/opentype/ftxopen.c:18:40: error: freetype/internal/ftstream.h: No such file or directory 3rdparty/opentype/ftxopen.c:19:40: error: freetype/internal/ftmemory.h: No such file or directory 3rdparty/opentype/ftxopen.c:20:39: error: freetype/internal/tttypes.h: No such file or directory In file included from 3rdparty/opentype/ftxopentype.c:3: 3rdparty/opentype/ftxopen.c: In function ‘Load_LangSys’: 3rdparty/opentype/ftxopen.c:44: warning: implicit declaration of function ‘ACCESS_Frame’ 3rdparty/opentype/ftxopen.c:47: warning: implicit declaration of function ‘GET_UShort’ 3rdparty/opentype/ftxopen.c:51: warning: implicit declaration of function ‘FORGET_Frame’ 3rdparty/opentype/ftxopen.c:55: warning: implicit declaration of function ‘ALLOC_ARRAY’ 3rdparty/opentype/ftxopen.c:55: error: expected expression before ‘FT_UShort’ 3rdparty/opentype/ftxopen.c:60: warning: implicit declaration of function ‘FREE’ 3rdparty/opentype/ftxopen.c:39: warning: unused variable ‘memory’ 3rdparty/opentype/ftxopen.c: In function ‘Free_LangSys’: 3rdparty/opentype/ftxopen.c:76: warning: unused parameter ‘memory’ 3rdparty/opentype/ftxopen.c: In function ‘Load_Script’: 3rdparty/opentype/ftxopen.c:95: warning: implicit declaration of function ‘FILE_Pos’ 3rdparty/opentype/ftxopen.c:107: warning: implicit declaration of function ‘FILE_Seek’ 3rdparty/opentype/ftxopen.c:141: error: expected expression before ‘TTO_LangSysRecord’ 3rdparty/opentype/ftxopen.c:151: warning: implicit declaration of function ‘GET_ULong’ 3rdparty/opentype/ftxopen.c: In function ‘Load_ScriptList’: 3rdparty/opentype/ftxopen.c:225: error: expected expression before ‘TTO_ScriptRecord’ 3rdparty/opentype/ftxopen.c: In function ‘Load_Feature’: 3rdparty/opentype/ftxopen.c:311: error: expected expression before ‘FT_UShort’ 3rdparty/opentype/ftxopen.c:294: warning: unused variable ‘memory’ 3rdparty/opentype/ftxopen.c: In function ‘Free_Feature’: 3rdparty/opentype/ftxopen.c:332: warning: unused parameter ‘memory’ 3rdparty/opentype/ftxopen.c: In function ‘Load_FeatureList’: 3rdparty/opentype/ftxopen.c:363: error: expected expression before ‘TTO_FeatureRecord’ 3rdparty/opentype/ftxopen.c: In function ‘Load_Lookup’: 3rdparty/opentype/ftxopen.c:576: error: ‘FALSE’ undeclared (first use in this function) 3rdparty/opentype/ftxopen.c:576: error: (Each undeclared identifier is reported only once 3rdparty/opentype/ftxopen.c:576: error: for each function it appears in.) 3rdparty/opentype/ftxopen.c:592: error: expected expression before ‘TTO_SubTable’ 3rdparty/opentype/ftxopen.c:599: error: ‘TRUE’ undeclared (first use in this function) 3rdparty/opentype/ftxopen.c: In function ‘Load_LookupList’: 3rdparty/opentype/ftxopen.c:690: error: expected expression before ‘TTO_Lookup’ 3rdparty/opentype/ftxopen.c: In function ‘Load_Coverage1’: 3rdparty/opentype/ftxopen.c:773: error: expected expression before ‘FT_UShort’ 3rdparty/opentype/ftxopen.c:757: warning: unused variable ‘memory’ 3rdparty/opentype/ftxopen.c: In function ‘Free_Coverage1’: 3rdparty/opentype/ftxopen.c:794: warning: unused parameter ‘memory’ 3rdparty/opentype/ftxopen.c: In function ‘Load_Coverage2’: 3rdparty/opentype/ftxopen.c:822: error: expected expression before ‘TTO_RangeRecord’ 3rdparty/opentype/ftxopen.c:806: warning: unused variable ‘memory’ 3rdparty/opentype/ftxopen.c: In function ‘Free_Coverage2’: 3rdparty/opentype/ftxopen.c:857: warning: unused parameter ‘memory’ 3rdparty/opentype/ftxopen.c: In function ‘Load_ClassDef1’: 3rdparty/opentype/ftxopen.c:1034: error: expected expression before ‘FT_UShort’ 3rdparty/opentype/ftxopen.c:1051: error: ‘TRUE’ undeclared (first use in this function) 3rdparty/opentype/ftxopen.c:1007: warning: unused variable ‘memory’ 3rdparty/opentype/ftxopen.c: In function ‘Free_ClassDef1’: 3rdparty/opentype/ftxopen.c:1066: warning: unused parameter ‘memory’ 3rdparty/opentype/ftxopen.c: In function ‘Load_ClassDef2’: 3rdparty/opentype/ftxopen.c:1100: error: expected expression before ‘TTO_ClassRangeRecord’ 3rdparty/opentype/ftxopen.c:1123: error: ‘TRUE’ undeclared (first use in this function) 3rdparty/opentype/ftxopen.c:1079: warning: unused variable ‘memory’ 3rdparty/opentype/ftxopen.c: In function ‘Free_ClassDef2’: 3rdparty/opentype/ftxopen.c:1138: warning: unused parameter ‘memory’ 3rdparty/opentype/ftxopen.c: In function ‘Load_ClassDefinition’: 3rdparty/opentype/ftxopen.c:1154: error: expected expression before ‘FT_Bool’ 3rdparty/opentype/ftxopen.c:1182: error: ‘TRUE’ undeclared (first use in this function) 3rdparty/opentype/ftxopen.c:1151: warning: unused variable ‘memory’ 3rdparty/opentype/ftxopen.c: In function ‘Load_EmptyClassDefinition’: 3rdparty/opentype/ftxopen.c:1199: error: expected expression before ‘FT_Bool’ 3rdparty/opentype/ftxopen.c:1203: error: ‘FALSE’ undeclared (first use in this function) 3rdparty/opentype/ftxopen.c:1205: error: expected expression before ‘FT_UShort’ 3rdparty/opentype/ftxopen.c:1196: warning: unused variable ‘memory’ 3rdparty/opentype/ftxopen.c: In function ‘Load_Device’: 3rdparty/opentype/ftxopen.c:1353: error: expected expression before ‘FT_UShort’ 3rdparty/opentype/ftxopen.c:1328: warning: unused variable ‘memory’ 3rdparty/opentype/ftxopen.c: In function ‘Free_Device’: 3rdparty/opentype/ftxopen.c:1374: warning: unused parameter ‘memory’ In file included from 3rdparty/opentype/ftxopentype.c:4: 3rdparty/opentype/ftxgdef.c: In function ‘TT_Load_GDEF_Table’: 3rdparty/opentype/ftxgdef.c:149: error: ‘TT_Face’ undeclared (first use in this function) 3rdparty/opentype/ftxgdef.c:149: error: expected ‘;’ before ‘tt_face’ 3rdparty/opentype/ftxgdef.c:158: error: ‘tt_face’ undeclared (first use in this function) 3rdparty/opentype/ftxgdef.c:161: warning: implicit declaration of function ‘ALLOC’ 3rdparty/opentype/ftxgdef.c:194: error: ‘FALSE’ undeclared (first use in this function) 3rdparty/opentype/ftxgdef.c: In function ‘Load_AttachPoint’: 3rdparty/opentype/ftxgdef.c:324: error: expected expression before ‘FT_UShort’ 3rdparty/opentype/ftxgdef.c:306: warning: unused variable ‘memory’ 3rdparty/opentype/ftxgdef.c: In function ‘Free_AttachPoint’: 3rdparty/opentype/ftxgdef.c:346: warning: unused parameter ‘memory’ 3rdparty/opentype/ftxgdef.c: In function ‘Load_AttachList’: 3rdparty/opentype/ftxgdef.c:390: error: expected expression before ‘TTO_AttachPoint’ 3rdparty/opentype/ftxgdef.c:411: error: ‘TRUE’ undeclared (first use in this function) 3rdparty/opentype/ftxgdef.c: In function ‘Load_CaretValue’: 3rdparty/opentype/ftxgdef.c:487: warning: implicit declaration of function ‘GET_Short’ 3rdpar...stripped-down
3rdparty/opentype/ftxgdef.c: In function ‘Load_LigGlyph’: 3rdparty/opentype/ftxgdef.c:572: error: expected expression before ‘TTO_CaretValue’ 3rdparty/opentype/ftxgdef.c: In function ‘Load_LigCaretList’: 3rdparty/opentype/ftxgdef.c:663: error: expected expression before ‘TTO_LigGlyph’ 3rdparty/opentype/ftxgdef.c:684: error: ‘TRUE’ undeclared (first use in this function) 3rdparty/opentype/ftxgdef.c: In function ‘Make_ClassRange’: 3rdparty/opentype/ftxgdef.c:843: warning: implicit declaration of function ‘REALLOC_ARRAY’ 3rdparty/opentype/ftxgdef.c:846: error: expected expression before ‘TTO_ClassRangeRecord’ 3rdparty/opentype/ftxgdef.c:858: error: ‘TRUE’ undeclared (first use in this function) 3rdparty/opentype/ftxgdef.c:832: warning: unused parameter ‘memory’ 3rdparty/opentype/ftxgdef.c: In function ‘TT_GDEF_Build_ClassDefinition’: 3rdparty/opentype/ftxgdef.c:892: error: expected expression before ‘FT_Bool’ 3rdparty/opentype/ftxgdef.c:982: error: expected expression before ‘FT_UShort’ 3rdparty/opentype/ftxgdef.c:994: error: expected expression before ‘FT_UShort’ 3rdparty/opentype/ftxgdef.c:1003: error: expected expression before ‘FT_UShort’ 3rdparty/opentype/ftxgdef.c:1011: error: expected expression before ‘FT_UShort’ 3rdparty/opentype/ftxgdef.c:1018: error: ‘FALSE’ undeclared (first use in this function) 3rdparty/opentype/ftxgdef.c: In function ‘Free_NewGlyphClasses’: 3rdparty/opentype/ftxgdef.c:1039: warning: unused parameter ‘memory’ In file included from 3rdparty/opentype/ftxopentype.c:5: 3rdparty/opentype/ftxgpos.c: In function ‘TT_Load_GPOS_Table’: 3rdparty/opentype/ftxgpos.c:185: error: ‘TT_Face’ undeclared (first use in this function) 3rdparty/opentype/ftxgpos.c:185: error: expected ‘;’ before ‘tt_face’ 3rdparty/opentype/ftxgpos.c:198: error: ‘tt_face’ undeclared (first use in this function) 3rdparty/opentype/ftxgpos.c: In function ‘Load_MarkArray’: 3rdparty/opentype/ftxgpos.c:969: error: expected expression before ‘TTO_MarkRecord’ 3rdparty/opentype/ftxgpos.c: In function ‘Load_SinglePos’: 3rdparty/opentype/ftxgpos.c:1080: error: expected expression before ‘TTO_ValueRecord’ 3rdparty/opentype/ftxgpos.c: In function ‘Load_PairSet’: 3rdparty/opentype/ftxgpos.c:1224: error: expected expression before ‘TTO_PairValueRecord’ 3rdparty/opentype/ftxgpos.c: In function ‘Load_PairPos1’: 3rdparty/opentype/ftxgpos.c:1329: error: expected expression before ‘TTO_PairSet’ 3rdparty/opentype/ftxgpos.c: In function ‘Load_PairPos2’: 3rdparty/opentype/ftxgpos.c:1431: error: expected expression before ‘TTO_Class1Record’ 3rdparty/opentype/ftxgpos.c:1440: error: expected expression before ‘TTO_Class2Record’ 3rdparty/opentype/ftxgpos.c: In function ‘Load_CursivePos’: 3rdparty/opentype/ftxgpos.c:1809: error: expected expression before ‘TTO_EntryExitRecord’ 3rdparty/opentype/ftxgpos.c: In function ‘Lookup_CursivePos’: 3rdparty/opentype/ftxgpos.c:2091: error: ‘TRUE’ undeclared (first use in this function) 3rdparty/opentype/ftxgpos.c: In function ‘Load_BaseArray’: 3rdparty/opentype/ftxgpos.c:2152: error: expected expression before ‘TTO_BaseRecord’ 3rdparty/opentype/ftxgpos.c:2161: error: expected expression before ‘TTO_Anchor’ 3rdparty/opentype/ftxgpos.c: In function ‘Load_LigatureAttach’: 3rdparty/opentype/ftxgpos.c:2470: error: expected expression before ‘TTO_ComponentRecord’ 3rdparty/opentype/ftxgpos.c:2479: error: expected expression before ‘TTO_Anchor’ 3rdparty/opentype/ftxgpos.c: In function ‘Load_LigatureArray’: 3rdparty/opentype/ftxgpos.c:2588: error: expected expression before ‘TTO_LigatureAttach’ 3rdparty/opentype/ftxgpos.c: In function ‘Load_Mark2Array’: 3rdparty/opentype/ftxgpos.c:2894: error: expected expression before ‘TTO_Mark2Record’ 3rdparty/opentype/ftxgpos.c:2903: error: expected expression before ‘TTO_Anchor’ 3rdparty/opentype/ftxgpos.c: In function ‘Load_PosRule’: 3rdparty/opentype/ftxgpos.c:3257: error: expected expression before ‘FT_UShort’ 3rdparty/opentype/ftxgpos.c:3274: error: expected expression before ‘TTO_PosLookupRecord’ 3rdparty/opentype/ftxgpos.c:3237: warning: unused variable ‘memory’ 3rdparty/opentype/ftxgpos.c: In function ‘Free_PosRule’: 3rdparty/opentype/ftxgpos.c:3302: warning: unused parameter ‘memory’ 3rdparty/opentype/ftxgpos.c: In function ‘Load_PosRuleSet’: 3rdparty/opentype/ftxgpos.c:3334: error: expected expression before ‘TTO_PosRule’ 3rdparty/opentype/ftxgpos.c: In function ‘Load_ContextPos1’: 3rdparty/opentype/ftxgpos.c:3425: error: expected expression before ‘TTO_PosRuleSet’ 3rdparty/opentype/ftxgpos.c: In function ‘Load_PosClassRule’: 3rdparty/opentype/ftxgpos.c:3514: error: expected expression before ‘FT_UShort’ 3rdparty/opentype/ftxgpos.c:3542: error: expected expression before ‘TTO_PosLookupRecord’ 3rdparty/opentype/ftxgpos.c:3490: warning: unused variable ‘memory’ 3rdparty/opentype/ftxgpos.c: In function ‘Free_PosClassRule’: 3rdparty/opentype/ftxgpos.c:3570: warning: unused parameter ‘memory’ 3rdparty/opentype/ftxgpos.c: In function ‘Load_PosClassSet’: 3rdparty/opentype/ftxgpos.c:3603: error: expected expression before ‘TTO_PosClassRule’ 3rdparty/opentype/ftxgpos.c: In function ‘Load_ContextPos2’: 3rdparty/opentype/ftxgpos.c:3708: error: expected expression before ‘TTO_PosClassSet’ 3rdparty/opentype/ftxgpos.c: In function ‘Load_ContextPos3’: 3rdparty/opentype/ftxgpos.c:3810: error: expected expression before ‘TTO_Coverage’ 3rdparty/opentype/ftxgpos.c:3835: error: expected expression before ‘TTO_PosLookupRecord’ 3rdparty/opentype/ftxgpos.c: In function ‘Lookup_ContextPos2’: 3rdparty/opentype/ftxgpos.c:4044: error: expected expression before ‘FT_UShort’ 3rdparty/opentype/ftxgpos.c:4019: warning: unused variable ‘memory’ 3rdparty/opentype/ftxgpos.c: In function ‘Load_ChainPosRule’: 3rdparty/opentype/ftxgpos.c:4235: error: expected expression before ‘FT_UShort’ 3rdparty/opentype/ftxgpos.c:4259: error: expected expression before ‘FT_UShort’ 3rdparty/opentype/ftxgpos.c:4283: error: expected expression before ‘FT_UShort’ 3rdparty/opentype/ftxgpos.c:4307: error: expected expression before ‘TTO_PosLookupRecord’ 3rdparty/opentype/ftxgpos.c:4214: warning: unused variable ‘memory’ 3rdparty/opentype/ftxgpos.c: In function ‘Free_ChainPosRule’: 3rdparty/opentype/ftxgpos.c:4341: warning: unused parameter ‘memory’ 3rdparty/opentype/ftxgpos.c: In function ‘Load_ChainPosRuleSet’: 3rdparty/opentype/ftxgpos.c:4375: error: expected expression before ‘TTO_ChainPosRule’ 3rdparty/opentype/ftxgpos.c: In function ‘Load_ChainContextPos1’: 3rdparty/opentype/ftxgpos.c:4466: error: expected expression before ‘TTO_ChainPosRuleSet’ 3rdparty/opentype/ftxgpos.c: In function ‘Load_ChainPosClassRule’: 3rdparty/opentype/ftxgpos.c:4557: error: expected expression before ‘FT_UShort’ 3rdparty/opentype/ftxgpos.c:4594: error: expected expression before ‘FT_UShort’ 3rdparty/opentype/ftxgpos.c:4629: error: expected expression before ‘FT_UShort’ 3rdparty/opentype/ftxgpos.c:4661: error: expected expression before ‘TTO_PosLookupRecord’ 3rdparty/opentype/ftxgpos.c:4532: warning: unused variable ‘memory’ 3rdparty/opentype/ftxgpos.c: In function ‘Free_ChainPosClassRule’: 3rdparty/opentype/ftxgpos.c:4695: warning: unused parameter ‘memory’ 3rdparty/opentype/ftxgpos.c: In function ‘Load_ChainPosClassSet’: 3rdparty/opentype/ftxgpos.c:4732: error: expected expression before ‘TTO_ChainPosClassRule’ 3rdparty/opentype/ftxgpos.c: In function ‘Load_ChainContextPos2’: 3rdparty/opentype/ftxgpos.c:4873: error: expected expression before ‘TTO_ChainPosClassSet’ 3rdparty/opentype/ftxgpos.c: In function ‘Load_ChainContextPos3’: 3rdparty/opentype/ftxgpos.c:4987: error: expected expression before ‘TTO_Coverage’ 3rdparty/opentype/ftxgpos.c:5019: error: expected expression before ‘TTO_Coverage’ 3rdparty/opentype/ftxgpos.c:5052: error: expected expression before ‘TTO_Coverage’ 3rdparty/opentype/ftxgpos.c:5084: error: expected expression before ‘TTO_PosLookupRecord’ 3rdparty/opentype/ftxgpos.c: In function ‘Lookup_ChainContextPos2’: 3rdparty/opentype/ftxgpos.c:5419: error: expected expression before ‘FT_UShort’ 3rdparty/opentype/ftxgpos.c:5423: error: expected expression before ‘FT_UShort’ 3rdparty/opentype/ftxgpos.c:5427: error: expected expression before ‘FT_UShort’ 3rdparty/opentype/ftxgpos.c:5382: warning: unused variable ‘memory’ 3rdparty/opentype/ftxgpos.c: In function ‘TT_GPOS_Query_Scripts’: 3rdparty/opentype/ftxgpos.c:5912: error: expected expression before ‘FT_ULong’ 3rdparty/opentype/ftxgpos.c:5898: warning: unused variable ‘memory’ 3rdparty/opentype/ftxgpos.c: In function ‘TT_GPOS_Query_Languages’: 3rdparty/opentype/ftxgpos.c:5953: error: expected expression before ‘FT_ULong’ 3rdparty/opentype/ftxgpos.c:5931: warning: unused variable ‘memory’ 3rdparty/opentype/ftxgpos.c: In function ‘TT_GPOS_Query_Features’: 3rdparty/opentype/ftxgpos.c:6018: error: expected expression before ‘FT_ULong’ 3rdparty/opentype/ftxgpos.c:5977: warning: unused variable ‘memory’ In file included from 3rdparty/opentype/ftxopentype.c:6: 3rdparty/opentype/ftxgsub.c: In function ‘TT_Load_GSUB_Table’: 3rdparty/opentype/ftxgsub.c:245: error: ‘TT_Face’ undeclared (first use in this function) 3rdparty/opentype/ftxgsub.c:245: error: expected ‘;’ before ‘tt_face’ 3rdparty/opentype/ftxgsub.c:254: error: ‘tt_face’ undeclared (first use in this function) 3rdparty/opentype/ftxgsub.c: In function ‘Load_SingleSubst’: 3rdparty/opentype/ftxgsub.c:437: error: expected expression before ‘FT_UShort’ 3rdparty/opentype/ftxgsub.c: In function ‘Load_Sequence’: 3rdparty/opentype/ftxgsub.c:563: error: expected expression before ‘FT_UShort’ 3rdparty/opentype/ftxgsub.c:546: warning: unused variable ‘memory’ 3rdparty/opentype/ftxgsub.c: In function ‘Free_Sequence’: 3rdparty/opentype/ftxgsub.c:585: warning: unused parameter ‘memory’ 3rdparty/opentype/ftxgsub.c: In function ‘Load_MultipleSubst’: 3rdp...stripped-down
Hi june, read first THIS thread! Inside the qtopia package are paths hard coded. Unpack it in /opt/FriendlyARM/mini2440! No other dir. Search your log for the first error => No such file or directory Look the g++ line for -I/... directives. Can this work? Exists this ? Follow the instructions in peras link in this thread. And will work fine! skip
This is for sriram(how to make cross compile environment for mini2440 with ubuntu linux? ): First download ARM-Linux GCC 4.3.2. Then untar the sudo tar xvzf arm-linux-gcc-4.3.2.tgz -C/ Now edit /etc/bash.bashrc(example: sudo nano /etc/bash.bashrc) and add this line: PATH=$PATH:/usr/local/arm/4.3.2/bin This adds the path for all users. And test: # arm-linux-gcc -v Now the complier should be work. If you transfer files to the mini2440 card by ftp then you should be do next steps: Add statis ip address /etc/network/interfaces: iface eth0 inet static address 192.168.1.231 netmask 255.255.255.0 gateway 192.168.1.1 Note that address depends your PC settings. If 192.168.1.231 is free you can use it. Otherwise you should be to use other address. And check also eth0. If you use ethernet port 0 it is ok. Then sudo /etc/init.d/networking restart and now connect the PC and mini2440 card by the using crossover ethernet cable. Now you can try the ftp connect: ftp 192.168.1.230 If you want to use Qtopia then follow the instructions: http://equallybad.blogspot.com/2010/02/project-how-to-setup-default-dev-... I have still problem with x86-qtopia but arm-qtopia works very well. Pera
Kevin, Yeah you can cd into the subdirs and run configure with the same flags as in the build script. then make, make install, etc. I did this when I was having build problems and didn't want to run configure every time. Otherwise, the edited scripts are fine.
Killfile, "Yeah you can cd into the subdirs and run configure with the same flags as in the build script. then make, make install, etc." m really sorry but i could not get you.Linux is very new for me. What is the build script and which flags??I did follow all your blog steps..but what i get is a long wait and finally errors,most of them starting with some "3rdparty bla bla.."
problem with configure ./configure: line 24305: test: : integer expression expected line 24305 "if test "$qtopia_ver" -lt "$qtopia_minver"; then"
hi, i try to compile x86-qtopia following this link http://equallybad.blogspot.com/2010/02/project-how-to-setup-default-dev-... checking for Qt... configure: error: Qt (>= Qt 2.2.2) (library qte) not found. Please check your installation! and checking for gcc... arm-none-linux-gnueabi-gcc checking for C compiler default output... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt. strip: 'konq-embed/src/konqueror': No such file cp: ne peut évaluer `konq/konq-embed/src/konqueror': Aucun fichier ou dossier de ce type mkdir: ne peut créer le répertoire `qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/pics/konqueror': Le fichier existe any idea ? arm-linux-gcc work very well. thanks you for your responses.
i have add --host=arm-linux and --target=arm-linux in the second ./configure from build-konq and is ok now i have this error checking for libz... configure: error: not found. Check your installation and look into config.log what are the values from variable $QTDIR and $QPEDIR from build-konq ? i think is that, but this value are not set ./configure --enable-embedded --enable-qt-embedded --enable-qpe --disable-debug --enable-static --disable-shared --disable-mt --without-ssl --with-qt-dir=$QTDIR --with-qt-includes=$QTDIR/include --with-qt-libraries=$QPEDIR/lib --with-qtopia-dir=$QPEDIR --with-gui=qpe --host=arm-linux --target=arm-linux thank in advance.
hi andromeda, 1. When I run build-kong in x86qtopia, I get: ... checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no ... Do you have the gcc installed? 2, Regarding the libz error, do you have these packages installed: zlib1g and zlib1g-dev 3, The $QTDIR and $QPEDIR are located in the env file: source /opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/setQpeEnv 4. checking for Qt... configure: error: Qt (>= Qt 2.2.2) (library qte) not found. Please check your installation! That can be ignored afaik. Good luck!
hay, plz help i have error ---------------------------------------------------- ERROR: Building Qtopia Tools has failed. Please make sure that the following binaries exist before trying to build * Qtopia: /opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2/bin/uic * /opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2/bin/qvfb * /opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/dqt/bin/lrelease * /opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/dqt/bin/lupdate ------------------------------------------------ i couldnt find uic,qvfb,lrelease,lupdate anyone has solution
run the "build" script at the root of your x86-Qtopia dir. It will create qt and these tools at its beginning.
@skip2816 i run build in the root mms@mms-laptop:/opt/FriendlyARM/mini2440/x86-qtopia$ build and have the same problem any answer
have you done the patches? You must do it. There are any dependencies too. Follow pera's link, it's work. http://equallybad.blogspot.com/2010/02/project-how-to-setup-default-dev-...
I ran ./build-konq and got error that konqueror is not found where to fin konquere in konq/konq-embed/src/
i try to compile x86-qtopia following this link http://equallybad.blogspot.com/2010/02/project-how-to-setup-default-dev-... but it doesn't work will and give me this error checking for moc... /opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2/bin/moc checking if Qt needs -ljpeg... no checking for rpath... yes checking for KDE... will be installed in /usr/local/kde checking for KDE paths... defaults checking for dcopidl... compiled checking for dcopidl2cpp... compiled checking for mcopidl... compiled checking for artsc-config... compiled checking for kde-config... compiled checking for meinproc... compiled checking for Qtopia... ./configure: line 24305: test: : integer expression expected configure: error: Cannot link small Qtopia Application. For more details look at the end of config.log make: *** No targets specified and no makefile found. Stop. strip: 'konq-embed/src/konqueror': No such file cp: cannot stat `konq/konq-embed/src/konqueror': No such file or directory mkdir: cannot create directory `qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/pics/konqueror': No such file or directory cp: cannot create regular file `qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/pics/konqueror': No such file or directory cp: cannot create regular file `qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/apps/Applications': No such file or directory thanks for any help i use ubuntu 9.4 under VirtualBox
@ mohmed go to System>admin>add remove software then choose legacy and choose all packages available and them rebuild it will work isA
@MMS Thanks for your replying i went to System > administration > Synaptics package manager ( which i think it is equvilant to the (add remove software ) , but i don't know how i can choose the legacy , could you explain more what i should to do , I use ubuntu 9.04 Thanks for your help Mohamed
I am trying to compile x86-qtopia and arm-qtopia on my Ubuntu 9.10 box. I downloaded the latest x86-qtopia and arm-qtopia from the FriendlyArm download section and have followed the excellent directions by Killfile at http://equallybad.blogspot.com/2010/02/project-how-to-setup-default-dev-... but, I am having the same problems as mentioned before by Pera, Prasad, and Mohamed. When I try to compile x86-qtopia it fails at: checking for meinproc... compiled checking for Qtopia... ./configure: line 24305: test: : integer expression expected configure: error: Cannot link small Qtopia Application. For more details look at the end of config.log make: *** No targets specified and no makefile found. Stop. strip: 'konq-embed/src/konqueror': No such file Problem when building the x86-qtopia "hello" program: /usr/bin/ld: cannot find -lqtopia2 collect2: ld returned 1 exit status I do not find the libqtopia2.so in the /opt/FriendlyARM/min2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/lib folder but it does have a libqtopia2.prl file. I DO have the libqtopia2.so file in the /opt/FriendlyARM/min2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/lib folder. I'm wondering if others who experienced the same problems were able to reslove them. Any help would be greatly appreciated. Thank you
Hi, >checking for Qtopia... ./configure: line 24305: test: : integer expression >expected There is a environment variable empty. If you compile parts of Qtopia ( or hello) do befor: source /opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/setXxxEnv Choose the right one for your part. Your compiled stuff you can find in /opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Q topia ... skip
Hello, I am running Ubuntu 9.10 (32bit). I downloaded x86-qtopia-2.2.0_20100108.tgz and arm-qtopia-2.2.0_20100108.tgz from FriendlyArm.net. I followed your directions but when I try to ./build-all it ends up with the following error: . . checking for meinproc... compiled checking for Qtopia... ./configure: line 24305: test: : integer expression expected configure: error: Cannot link small Qtopia Application. For more details look at the end of config.log make: *** No targets specified and no makefile found. Stop. strip: 'konq-embed/src/konqueror': No such file cp: cannot stat `konq/konq-embed/src/konqueror': No such file or directory mkdir: cannot create directory `qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/pics/konqueror': No such file or directory cp: cannot create regular file `qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/pics/konqueror': No such file or directory cp: cannot create regular file `qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/apps/Applications': No such file or directory ron@ubuntu:/opt/FriendlyARM/mini2440/x86-qtopia$ Any help will be greatly appreciated. Thanks.
Hi everybody, As some of us in this forum, i was stopped during the compilation of x86-qtopia. compilation log says that it was unable to link the hello test application ( error : cannot find -lqtopia2 ). For sure, the librairy was not created. If you follow the good procedure of equallybad, you tar some gz files, then you patch some code in 4 cpp files ( files rights and a cast to (char *). Then you make a ./build-all command. But if you edit the "build" command, you will see that the command tar again the file, and overwrite the patch you make in cpp files, and so the compilation doesn't work. To solve that, i remove these two lines in the "build" file : rm -fr qtopia-2.2.0-FriendlyARM tar xfvz qtopia-2.2.0.tar.gz and now the lib is compiled. Hope i help you. Fred
I am facing the same issue as alot of guys in here. My output is: checking for Qtopia... ./configure: line 24305: test: : integer expression expected configure: error: Cannot link small Qtopia Application. For more details look at the end of config.log make: *** No targets specified and no makefile found. Stop. strip: 'konq-embed/src/konqueror': No such file cp: cannot stat `konq/konq-embed/src/konqueror': No such file or directory cp: cannot create regular file `qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/apps/Applications': No such file or directory I have tried the individual builds and its dieing on Qtopia with this error: x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2/lib -lqte /usr/bin/ld: cannot find -luuid collect2: ld returned 1 exit status Any help would be greatly appreciated. Cheers, Jon
SOLUTION Good news everybody! Thanks for Impossible at http://equallybad.blogspot.com/2010/02/project-how-to-setup-default-dev-... for saying "The package "uuid-dev" should install the libuuid library to /usr/lib/libuuid.so" This was not the case. However after digging around I found that the library was in actual fact installed into /lib (Must have been Fedora 12 issue). TO SOLVE THIS: cd to /usr/lib and create a symbolic link using this command... ln -s ../../lib/libuuid.so.1 libuuid.so This library now should work. Run a make clean and ./build-all and your Qtopia installation should work. Well it did for me :).
Hi everybody! I'm trying to do hello application.Although I followed http://equallybad.blogspot.com/2010/02/project-how-to-setup-default-dev-... , I also had the problem after compiling ./build-all. ////////////////////////////////// checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so appending configuration tag "GCJ" to libtool checking if gcj supports -fno-rtti -fno-exceptions... (cached) no checking for gcj option to produce PIC... -fPIC checking if gcj PIC flag -fPIC works... no checking if gcj supports -c -o file.o... no checking whether the gcj linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking for msgfmt... msgfmt checking for gmsgfmt... msgfmt found msgfmt program is not GNU msgfmt; ignore it checking for xgettext... : checking for main in -lutil... yes checking for main in -lcompat... no checking for crypt in -lcrypt... yes checking for socklen_t... socklen_t checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for inet_ntoa... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking crt_externs.h usability... no checking crt_externs.h presence... no checking for crt_externs.h... no checking for _NSGetEnviron... no checking for sys/types.h... (cached) yes checking for stdint.h... (cached) yes checking for poll in -lpoll... no checking CoreAudio/CoreAudio.h usability... no checking CoreAudio/CoreAudio.h presence... no checking for CoreAudio/CoreAudio.h... no checking for res_init... yes checking if res_init needs custom prototype... no checking for killpg in -lucb... no checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for char *... yes checking size of char *... 4 checking for char... yes checking size of char... 1 checking for dlopen in -ldl... yes checking for shl_unload in -ldld... no checking for vsnprintf... yes checking for snprintf... yes checking for pthread_create in -lpthread... yes checking for extra includes... no checking for extra libs... no checking for libz... -lz checking for libpng... no checking for libjpeg6b... no checking for libjpeg... -ljpeg checking for Qt... configure: error: Qt (>= Qt 2.2.2) (headers and libraries) not found. Please check your installation! For more details about this problem, look at the end of config.log. make: *** No targets specified and no makefile found. Stop. strip: 'konq-embed/src/konqueror': No such file cp: cannot stat `konq/konq-embed/src/konqueror': No such file or directory mkdir: cannot create directory `qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/pics/konqueror': No such file or directory cp: cannot create regular file `qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/pics/konqueror': No such file or directory cp: cannot create regular file `qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/apps/Applications': No such file or directory /////////////////// Please help.Show me where is the problem and how to fix it. Thanks in advance!
Hi, all. I bought mini2440 recently, and I am trying to setup arm-qtopia. But I had a lot of same errors. /opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qt2/util/scripts/m kconfigs: line61: tmake: command not found My enviroment is following : OS : RedHat9 Compiler : arm-linux-gcc 4.3.2 (from FriendlyARM) Qtopia : arm-qtopia-2.2.0_20090429 / 20100108 ( I had a same erro with both) I just umcompressed source file and try to build. mkdir /opt/FriendlyARM mkdir /opt/FriendlyARM/mini2440 cd /opt/FriendlyARM/mini2440 mv ****/arm-qtopia-2.2.0_20100108 ./ tar xzvf arm-qtopia-2.2.0_20100108 cd arm-qtopia ./build-all Does anyone have a same problem? What should I do? I tried to set path( QTDIR and so on) by hand. But I couldn't resolve it. Do you have any idea? Regards Tatsuya
Yeah, off course. By the way, I think those scripts set necessary paths. So I think I should not set paths by myself. Why they can't find tmake... I don't know. Can I compile it without any fix? If I use FedoraCore9 and so on.
Hi, skip2816 Thank you for your reply. And I'm sorry I'm late to reply to you. I could compile when I switch from RH9 to FedoraCore9. However, I have a lot of problems... ( For example, I can execute desktop apllication but can't execute it as stand-alone application. etc...) I'll refer to here to solve these problems. Thank you.
hi all, i am getting the following error while building hello in x86-qtopia. can anyone help me to solve this. [root@localhost hello]# ./build ./build: line 3: /opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/setQpeEnv: No such file or directory Failure to read QMAKESPEC conf file /opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/mkspecs/qws /linux-generic-g++/qmake.conf. Error processing project file: /home/ssmanohar/opt/FriendlyARM/mini2440/x86-qtopia/hello/hello.pro make: *** No rule to make target `/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/mkspecs/qw s/linux-generic-g++/qmake.conf', needed by `Makefile'. Stop. make: *** No rule to make target `/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/mkspecs/qw s/linux-generic-g++/qmake.conf', needed by `Makefile'. Stop. thanx
I also have the problem which has been pointed out in several posts in this topic. checking for libz... -lz checking for libpng... no checking for libjpeg6b... no checking for libjpeg... -ljpeg checking for Qt... configure: error: Qt (>= Qt 2.2.2) (headers and libraries) not found. Please check your installation! For more details about this problem, look at the end of config.log. make: *** No targets specified and no makefile found. Stop. strip: 'konq-embed/src/konqueror': No such file cp: cannot stat `konq/konq-embed/src/konqueror': No such file or directory mkdir: cannot create directory `qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/pics/konqueror': No such file or directory cp: cannot create regular file `qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/pics/konqueror': No such file or directory cp: cannot create regular file `qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/apps/Applications': No such file or directory Has anyone solved it? I tried erasing two lines from "build", didn't work. Also i tried to add link, but i got error 'libuuid.so': File exists. Please help... Thanks
------------------------------------------------ make: *** No targets specified and no makefile found. Stop. strip: 'konq-embed/src/konqueror': No such file cp: cannot stat `konq/konq-embed/src/konqueror': ------------------------------------------------- This problem probably appears when I had bad path. Solution for me was: $cd /opt $mv FrendlyARM FriendlyARM
Just so you all know, I followed the instructions at http://equallybad.blogspot.com/2010/02/project-how-to-setup-default-dev-.... I did the same procedure for a machine running Ubuntu 9.10 and another running Ubuntu 10.04 LTS and both work fine. I can develop for X11, ARM, and QVFB. Don't throw out your Ubuntu Linux if you are having problems- this is not the issue. One thing about Ubuntu, however, is that (at least version 9.10 and before) does not come with the g++ compiler. But this is addressed in the web site mentioned above. The only other thing to consider is getting the proper environment variables set up correctly. In a correct install you should have the following directory: /opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM Here you will find files such as "setQt2Env" and "setQteEnv" and others. These are scripts that set up the compile environment based on what you want to do. Also, if you are reading a tutorial that tells you to run moc or uic, you are in the wrong place. Download or purchase the book "C++ GUI Programming with Qt 3". The only problem with the book is that it does not talk about the environment variables. Run your script as follows: $. ./myscript.sh (note the dot space dot slash before the script name). Otherwise the script will run in a subshell and you will lose all your changes after the script runs. I put my environment setup in the file ~/.bashrc. This way, whenever I open a terminal, the settings are already there. Remember I am running Ubuntu. If you have a non-debian distro, this may not work for you. Once you get your environment variables set up just follow the instructions in the book and you should be fine. My recommendation is to do the following: Note: These are the instructions for the version of QT that comes default with the FriendlyARM device. If you start with the website above,that is the direction you are going. There is a more advance version of QT available that you will want to get into as soon as you learn the basics. 1. Create a simple GUI in designer (/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2/bin/designer) Name the form frmSubclass_base inside designer. 2. Save the project as subclass_base.ui. 3. Create a main.cpp which looks like this: #include <qtopia/qpeapplication.h> // For X11 app //#include <qapplication.h> #include "subclass.h" int main (int argc, char * argv[]) { QApplication myapp(argc, argv); //*** Remove _base suffix when subclassing //frmSubclass_base *frmSubclass_1 = new frmSubclass_base; frmSubclass *frmSubclass_1 = new frmSubclass; myapp.setMainWidget(frmSubclass_1); //frmSubclass_1->show(); frmSubclass_1->showFullScreen(); return myapp.exec(); } 4. You should have a subclass.cpp and a subclass.h file to subclass the base class you generated in the designer environment (see the book above) 5. Once you have created your files run $ qmake -project. This creates your .pro file. 6. Find and open your .pro file. You can modify it as follows: # Orig file was created by first running $. arm_env, then qmake -project. # This file was copied from subclass.pro # Added the following 3 lines: CONFIG += qtopiaapp CONFIG -= buildQuicklaunch CONFIG += warn_on DESTDIR = . ###################################################################### # Automatically generated by qmake (1.06c-Qtopia) Mon Nov 22 14:44:36 2010 ###################################################################### TEMPLATE = app INCLUDEPATH += . # Input HEADERS += subclass.h clFlatButton.h cllistbox.h INTERFACES += subclass_base.ui SOURCES += main.cpp subclass.cpp #Added: TARGET = testcode 7. Run $qmake proj_name.pro This creates your Makefile. All the moc and uic crap is taken care of for you here. Do not modify this file. If you compiled for X11 you are done. Just run the file by clicking it in your file browser (Nautilus in Ubuntu) or in a shell with $./testcode. If it doesn't execute, try $chmod +x testcode. If you want to run a GUI design properly for the arm board you need to research ".desktop" files (see http://farm2440.blogspot.com/2010/07/demo-application-serial-port-and-gp...). Don't open your .desktop file in gedit or it will cause you problems. Open it in a terminal using vi. When you get your .desktop file, ftp it to the arm board. You will need to create a password for the root user when downloading for the first time. Do this in minicom, or whatever serial port terminal you use to communicate with the board. If you can't ftp,it may be because your ip address on your Linux machine is not compatible with the ARM board. This is a summary of about 3 months of research, 8 hours per day. You will need to search for some of the details, but at least now you know what to search for. Good luck... James
I am a beginning Qtopia programming. When i set up Qtopia on Fedora, I see it error: ################################################### kernel/qt_x11_p.h:66:22: error: X11/Xlib.h: No such file or directory kernel/qt_x11_p.h:71:23: error: X11/Xutil.h: No such file or directory kernel/qt_x11_p.h:72:21: error: X11/Xos.h: No such file or directory kernel/qt_x11_p.h:73:23: error: X11/Xatom.h: No such file or directory make[2]: *** [.obj/release-shared-mt/qtaddons_x11.o] Error 1 make[2]: Leaving directory `/opt/qtopia-free-2.2.0/dqt/src' make[1]: *** [sub-src] Error 2 make[1]: Leaving directory `/opt/qtopia-free-2.2.0/dqt' * --------------------------------------------------------------------------- * * ERROR: Building Qtopia Tools has failed. * * Please investigate the problem by looking at the error messages in the * make output. * The Qtopia tools can be build using the separate buildQtopiaTools script * which can be found in the qtopia/scripts directory of the package. The * script is also invoked with the command 'make tools' from the package root * directory. ########################################################## Everybody can help me! (Sorry bad English)
make[1]: Entering directory `/opt/qtopia-free-2.2.0/qtopia' make[2]: Entering directory `/opt/qtopia-free-2.2.0/qtopia/src' make[3]: Entering directory `/opt/qtopia-free-2.2.0/qtopia/src' cd qt && make -f Makefile make[4]: Entering directory `/opt/qtopia-free-2.2.0/qtopia/src/qt' make[5]: Entering directory `/opt/qtopia-free-2.2.0/qtopia/src/qt' make[5]: Leaving directory `/opt/qtopia-free-2.2.0/qtopia/src/qt' make[4]: Leaving directory `/opt/qtopia-free-2.2.0/qtopia/src/qt' cd libraries/qtopia && make -f Makefile make[4]: Entering directory `/opt/qtopia-free-2.2.0/qtopia/src/libraries/qtopia' make[5]: Entering directory `/opt/qtopia-free-2.2.0/qtopia/src/libraries/qtopia' /opt/qtopia-free-2.2.0/qt2/bin/uic passwordbase_p.ui -o ../../../include/qtopia/private/passwordbase_p.h make[5]: /opt/qtopia-free-2.2.0/qt2/bin/uic: Command not found make[5]: *** [../../../include/qtopia/private/passwordbase_p.h] Error 127 make[5]: Leaving directory `/opt/qtopia-free-2.2.0/qtopia/src/libraries/qtopia' make[4]: *** [all] Error 2 make[4]: Leaving directory `/opt/qtopia-free-2.2.0/qtopia/src/libraries/qtopia' make[3]: *** [sub-libraries-qtopia] Error 2 make[3]: Leaving directory `/opt/qtopia-free-2.2.0/qtopia/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/opt/qtopia-free-2.2.0/qtopia/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/opt/qtopia-free-2.2.0/qtopia' *********************************************************************** * * ERROR: Building Qtopia has failed. * * Please search the make output for any error messages. * * Hint: If the configuration has changed since the last successfull * build consider using make clean to ensure that all binaries * are rebuilt using the new configuration. * * For more information about the build process please use a browser * and go to the getting started section in: * /opt/qtopia-free-2.2.0/qtopia/doc/html/index.html * *********************************************************************** [root@localhost qtopia-free-2.2.0]#
checking for Qtopia... ./configure: line 24305: test: : integer expression expected configure: error: Cannot link small Qtopia Application. For more details look at the end of config.log make: *** No targets specified and no makefile found. Stop. strip: 'konq-embed/src/konqueror': No such file cp: cannot stat `konq/konq-embed/src/konqueror': No such file or directory mkdir: cannot create directory `qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/pics/konqueror': No such file or directory cp: cannot create regular file `qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/pics/konqueror': No such file or directory cp: cannot create regular file `qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/apps/Applications': No such file or directory How to solve this problem ?????????........
I am using fedora-14 ...... and all the utilitis are installed as per http://equallybad.blogspot.com/2010/02/project-how-to-setup-default-dev-... still have above mentioned problem..... any suggestion will be appreciated .... Thank you .....
Hey, I have been following this post and the equallybad blog for installing x86-qtopia and arm-qtopia on my PC running Ubuntu 9.04 but I have been unable to install them. I am getting the same errors in both installations - * ERROR: Building Qtopia Tools has failed. * * Please investigate the problem by looking at the error messages in the * make output. * The Qtopia tools can be build using the separate buildQtopiaTools script * which can be found in the qtopia/scripts directory of the package. The * script is also invoked with the command 'make tools' from the package root * directory. * * On most machines the default configuration options in the script works fine. * In case this doesn't work the configure parameters in the buildQtopiaTools * script need to be tweaked to fit the environment/compiler used on the machine * and then run manually from the cmd line. * * Please make sure that the following binaries exist before trying to build * Qtopia: * /opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qt2/bin/moc * /opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qt2/bin/uic * /opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qt2/bin/qvfb * /opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/dqt/bin/lrelease * /opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/dqt/bin/lupdate * * As a rule these tools need to be built only once. * cp: cannot stat `konq/konq-embed/src/konqueror': No such file or directory mkdir: cannot create directory `opt/Qtopia/pics/konqueror': No such file or directory cp: cannot create regular file `opt/Qtopia/pics/konqueror': No such file or directory mkdir: cannot create directory `opt/Qtopia/apps/FriendlyARM': No such file or directory cp: cannot create regular file `opt/Qtopia/apps/FriendlyARM/': No such file or directory ./mktarget: line 18: opt/Qtopia/apps/FriendlyARM/.directory: No such file or directory What could be the problem? :( Thanks.
I think it might be a package problem, Make sure you have them all installed. On Ubuntu: sudo apt-get install g++ libx11-dev libxmu-dev libxext-dev zlib1g-dev libjpeg62-dev libssl-dev uuid-dev Good Luck Kevin
Hi, I have this problem every time I try to compile checking for Qtopia... ./configure: line 24305: test: : integer expression expected configure: error: Cannot link small Qtopia Application. For more details look at the end of config.log make: *** No targets specified and no makefile found. Stop. strip: 'konq-embed/src/konqueror': No such file cp: cannot stat `konq/konq-embed/src/konqueror': No such file or directory mkdir: cannot create directory `qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/pics/konqueror': No such file or directory cp: cannot create regular file `qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/pics/konqueror': No such file or directory cp: cannot create regular file `qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/apps/Applications': No such file or directory PLEASE HELP !!!!!!!
*********************************************************************** * * ERROR: Building Qtopia has failed. * * Please search the make output for any error messages. * * Hint: If the configuration has changed since the last successfull * build consider using make clean to ensure that all binaries * are rebuilt using the new configuration. * * For more information about the build process please use a browser * and go to the getting started section in: * /opt/qtopia-free-2.2.0/qtopia/doc/html/index.html * *********************************************************************** [root@localhost qtopia-free-2.2.0]# please help me as soon as possible thanks in advance
You need to look at the make output just _before_ that error message. If you're lucky, it'll tell you what was wrong.
Hi all I found the solution for x86-qtopia and arm-qtopia installation !!! in case of my error as described above I solved it this way, first I removed the directory with extracted qtopia then extract qtopia again like first time as described here (http://equallybad.blogspot.com/search/label/friendlyarm) then befor doing ./build-all you should copy the contents of four files (setDqtEnv, setQpeEnv, ... e.t.c) located in /opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/ into your bashrc (sudo gedit ~/.bashrc) then restart your shell and finally execute the ./build-all
I got errors like this, any ideas ? backend/vobject.cpp: In function ‘VObject* addGroup(VObject*, const char*)’: backend/vobject.cpp:419:30: error: invalid conversion from ‘const char*’ to ‘char*’ backend/vobject.cpp: In function ‘void writeEncString(OFile*, const char*, bool)’: backend/vobject.cpp:1111:58: warning: suggest parentheses around ‘&&’ within ‘||’ backend/vobject.cpp: In function ‘bool includesUnprintable(VObject*, bool)’: backend/vobject.cpp:1168:27: warning: suggest parentheses around ‘&&’ within ‘||’ backend/vobject.cpp:1169:22: warning: suggest parentheses around ‘&&’ within ‘||’ make[5]: *** [.obj/release-shared/vobject.o] Error 1 make[5]: Leaving directory `/opt/FriendlyARM/mini6410/linux/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/ libraries/qtopia' make[4]: *** [all] Error 2 make[4]: Leaving directory `/opt/FriendlyARM/mini6410/linux/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/ libraries/qtopia' make[3]: *** [sub-libraries-qtopia] Error 2 make[3]: Leaving directory `/opt/FriendlyARM/mini6410/linux/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src' make[2]: *** [install] Error 2 make[2]: Leaving directory `/opt/FriendlyARM/mini6410/linux/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src' make[1]: *** [install] Error 2 make[1]: Leaving directory `/opt/FriendlyARM/mini6410/linux/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia' /bin/rm: cannot remove `qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/lib/fonts/helvetica_*': No such file or directory tar: qtopia-2.2.0-FriendlyARM/qtopia/image: Cannot chdir: No such file or directory tar: Error is not recoverable: exiting now
checking for Qt... configure: error: Qt (>= Qt 2.2.2) (library qte) not found. Please check your installation! .............. checking for libz... configure: error: not found. Check your installation and look into config.log make: *** No targets specified and no makefile found. Stop. strip: 'konq-embed/src/konqueror': No such file cp: cannot stat `konq/konq-embed/src/konqueror': No such file or directory mkdir: cannot create directory `qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/pics/konqueror': No such file or directory cp: cannot create regular file `qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/pics/konqueror': No such file or directory cp: cannot create regular file `qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/apps/Applications': No such file or directory Every time i try to install x86-qtopia, it is failing at this stage. Please help