Qt 4.6.2 problem

danics
hi all i compile qt embedded 4.6.2 successfully and when i want copy lib
directory to my sdcard i have this error :

Error while copying "libQtCore.so",
There was an error copying the file into /media/5EEB-D89E/usr/local/Qt/lib.
Filesystem does not support symbolic links

how can i copy all of this file to sdcard?

thanks a lot.

i m use ubuntu 10.04

Andreo
write on commandline of mini2440:

export $LD_LIBRARY_PATH = /my/lib/path

under /my/lib/path must be all Qt libs which your app use

danics
thank you i copy my files with filezilla and my problem solved but when i
run some demos in mini2440 i get illegal instruction error. what am i
doing? whats the problem

Andreo
illegal instruction comes if you dont compile with arm-linux-g++

maybe you compile for x86? also for your desktoplinux

danics
Ok how can i compile with arm-linux-g++?

another question when i configure qt 4.6.2 i dont use -nomouse-tslib
because i m getting error of that -although my ubuntu have tslib library-
so i want use qtopia ts lib but my directory isn't like the directory of
another this is my directorys in mini2440:

but i have this directory with this files:
/usr: bin , local, sbin , share
/usr/local: bin , etc, lib
/usr/local/bin: ts_calibrate (file)
/usr/local/etc: ts.conf (file)
/usr/local/lib/ts: dejitter.so, input.so, linear.so ,pthres.so ,variance.so

how i must set environmental variables of mini2440?

thanks a lot.

Andreo
to compile with arm-linux-g++ , you have to change
mkspecs/qws/linux-arm-g++/qmake file,

also actually there is already setted as arm-linux-g++, but everybody
prefers to use arm-none-linux-gnueabi-g++. I dont know the difference, but
i compiled yesterday with arm-linux-g++ and i have segmentation fault.

I have now problems with tslib, because i cant compile tslib with
arm-none-linux-gnueabi

you have to add on your PATH something like /usr/local/arm/4.3.2/bin, or
where ever you installed your compiler.

danics
ok so you mean i dont need set environmental variable for tslib and only i
must set another environmental variables,is this correct?

and about compiling with arm-linux-g++, i install qt sdk on my ubuntu
before, and i use Qt creator for create application. so i must change
Makefile, what i must change in my MakeFile?

thanks.

danics
ok i compile with arm-linux-g++ and arm-none-linux-gnueabi-g++ in both
release and debug mode successfully but when i run program on board i get
illustration error again. 
what am i doing? whats wrong? i get a headache! please help me.

danics
i mean illegal instruction error again and again

Andreo
hey danics,

try this steps:
http://projektender.blogspot.com/

its worked with my mini2440

danics
thanks Andreo for your helps but before i test this please tell me how you
copy library files to your mini2440, maybe i m wrong with that,some file in
this directory is link file so i cant use cp command for copy their to my
flash or SD card and i get this error: Fat32 dont support this kind of
file, but when i m using filezilla i can copy them to SD card, so what are
you doing?

danics
something strange happened. i cant compile anymore my qt 4.6 i get this
error in every condition for qws/arm-linux-g++/qmake file,( i test all
compile type )

when configuration is complete and i want to make i get this error:
bootstap -lbootstrap -lz error /usr/bin/ld havent -lz,

i don't know what is change,but i don't get this error before.

i m so tired, what am i doing now?

Eric PASCUAL
I also ran into problems some time ago when compiling QT with gcc 4 without
deactivating optimization (thus the -O0 suggestion in one of the previous
messages). 

I'm wandering if using gcc 3 instead avoids this problem (and if it's
possible and how, since I couldn't get it, even through crosstool), since
I've noticed gcc optimizer seems to have lots of issues in cross-compilers
(I've banged my head against the wall with avr-gcc v4, and had to revert to
v3 for getting rid of them).

Best regards