qtopia-x86 compiling problem.

Janusz User 2010-01-17 10:20:03 Link
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 ?

mindee NoUser 2010-01-17 10:33:07 Link
try the shell: build-all
it will build all the x86-qtopia, then you will get the utility "uic".

Janusz User 2010-01-17 11:04:03 Link
I still have the same problem. Maybe something is not installed ?
I have Ubuntu 9.10.

mindee NoUser 2010-01-17 12:23:00 Link
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

skip2816 NoUser 2010-01-17 14:18:55 Link
* 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!

marco NoUser 2010-01-20 14:20:46 Link
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.

marco NoUser 2010-01-20 16:15:46 Link
The problems seems to be the lack of standard devel libreries in my
distribution (x11 for instance).
I try to solve these before

marco NoUser 2010-01-20 21:55:57 Link
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?

LDS NoUser 2010-01-21 14:26:52 Link
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

marco NoUser 2010-01-22 10:40:20 Link
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!

killfile NoUser 2010-02-02 09:31:36 Link
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-...

ambitious User 2010-02-04 09:53:44 Link
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

LDS NoUser 2010-02-05 17:59:35 Link
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

pera NoUser 2010-02-06 11:53:16 Link
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.

Prasad NoUser 2010-02-06 13:03:22 Link
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.

pera NoUser 2010-02-13 12:03:31 Link
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?

MMS NoUser 2010-02-13 20:02:16 Link
>>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

killfile NoUser 2010-02-14 06:39:11 Link
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.

skip2816 NoUser 2010-02-14 07:31:57 Link
Hi MMS,

see pera's link.

pera NoUser 2010-02-14 11:15:48 Link
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?

killfile NoUser 2010-02-14 23:05:04 Link
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.  
--

LDS NoUser 2010-02-15 12:24:30 Link
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

sriram NoUser 2010-02-18 07:31:28 Link
how to make cross compile environment for mini2440 with ubuntu linux?
can any one help me.
Thank you.

Kevin User 2010-02-19 11:34:23 Link
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-...

Kevin User 2010-02-19 11:53:24 Link
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??

june NoUser 2010-02-19 12:51:14 Link
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

june NoUser 2010-02-19 12:53:58 Link
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

skip2816 NoUser 2010-02-19 18:20:26 Link
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

pera NoUser 2010-02-20 13:25:20 Link
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

killfile NoUser 2010-02-21 20:55:17 Link
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.

kevin NoUser 2010-02-22 08:05:34 Link
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.."

MMS NoUser 2010-02-23 10:19:34 Link
problem with configure

./configure: line 24305: test: : integer expression expected

line 24305 "if test "$qtopia_ver" -lt "$qtopia_minver"; then"

andromeda User 2010-02-24 00:18:47 Link
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.

andromeda User 2010-02-24 00:45:21 Link
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.

killfile NoUser 2010-02-24 07:26:39 Link
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!

MMS NoUser 2010-03-01 13:48:02 Link
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

skip2816 NoUser 2010-03-01 14:20:23 Link
run the "build" script at the root of your x86-Qtopia dir. It will create
qt and these tools at its beginning.

MMS NoUser 2010-03-01 14:37:20 Link
@skip2816

i run build in the root

mms@mms-laptop:/opt/FriendlyARM/mini2440/x86-qtopia$ build


and have the same problem

any answer

MMS NoUser 2010-03-01 14:38:16 Link
mms@mms-laptop:/opt/FriendlyARM/mini2440/x86-qtopia$ ./build

skip2816 NoUser 2010-03-01 15:04:24 Link
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-...

MMS NoUser 2010-03-01 15:22:46 Link
@skip2816

im following  pera's link from the beginning
:(

MMS NoUser 2010-03-08 23:29:33 Link
i use Fedora 9

and Qtopia runs Smoothly

Sumit Kumar User 2010-03-09 22:54:22 Link
I ran ./build-konq
and got error that konqueror is not found 
where to fin konquere in konq/konq-embed/src/

mohamed NoUser 2010-03-15 14:27:10 Link
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

MMS NoUser 2010-03-15 20:28:42 Link
@ mohmed

go to System>admin>add remove software

then choose legacy
and choose all packages available

and them rebuild 

it will work isA

mohamed NoUser 2010-03-16 10:02:20 Link
@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

RonD NoUser 2010-04-09 03:08:39 Link
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

cold NoUser 2010-04-09 06:18:44 Link
me too help we .
who know please help we .....

skip2816 NoUser 2010-04-09 07:41:57 Link
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

cold NoUser 2010-04-09 08:41:34 Link
please tell more detail 
i don't understant..

thanks..

mXX NoUser 2010-04-11 15:07:06 Link
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.

fred_from_france NoUser 2010-04-14 07:47:37 Link
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

Jon Ambrose NoUser 2010-04-24 20:23:03 Link
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

Jon Ambrose User 2010-04-25 15:40:27 Link
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 :).

jack NoUser 2010-05-14 06:20:10 Link
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!

Tatsuya NoUser 2010-05-19 15:39:57 Link
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

skip2816 NoUser 2010-05-19 16:26:41 Link
have you set TMAKEDIR too?

Tatsuya NoUser 2010-05-19 17:36:49 Link
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.

skip2816 NoUser 2010-05-19 21:20:25 Link
you must apply fixes. Search this forum, here are good howtos.

Tatsuya NoUser 2010-05-30 03:19:54 Link
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.

mano NoUser 2010-06-12 07:09:29 Link
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

Yi287italp Ertem User 2010-06-24 13:20:57 Link
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

Reply

Name
eMail (not visible)
Subject (no text only in upper case; no HELP, URGENT...)
Text
HTML tags are not supported and links are generated automatically if they start with http or ftp.
Please submit long source code or log files as attachment (only registered users).
Please enter the number 5990