This is the small toturial that I have made when I investigated qtopia and 
montavista tools. 

                      cd 
qtopia-core-opensource-src-4.3.2/mkspecs/qws/linux-arm-g++
 
 
   Edit qmake.conf with preferred editor and change following lines to   match 
the following:
   QMAKE_CC = arm_v5t_le-gcc
   QMAKE_CXX = arm_v5t_le-g++
   QMAKE_LINK = arm_v5t_le-g++
   QMAKE_LINK_SHLIB = arm_v5t_le-g++
   QMAKE_AR = arm_v5t_le-ar cqs
   QMAKE_RANLIB = arm_v5t_le-ranlib
   QMAKE_STRIP = arm_v5t_le-strip
 
                      ./configure -prefix /usr/local/qtopia -embedded arm 
-no-stl -no-qt3support -no-nis -no-cups -no-iconv -no-qdbus -no-freetype 
-depths 4,8,16,32 -qt-mouse-linuxtp -qt-gfx-vnc -qvfb -qt-gfx-transformed
 prefix    parameter points the folder in which you want to install    
QtopiaCore.

embedded    arm specifies that it will be cross compiled for ARM platform


                      make install  
 
 
   This will install QtopiaCore into folder specified by prefix     parameter.


                      
     After successfully installing  QtopiaCore few environment variables need 
to be set:
 
  
 
   export PATH=”folder_where_qtopia_is_installed”/bin:$PATH
 
 
   This way Linux will now where to find qmake command.
 export LD_LIBRARY_PATH=”folder_where_qtopia_is_installed”/lib:$LD_LIBRARY_PATH
 
 
 
 
   SETTING THE NFS

                      export QTDIR=”path_to_the_QtopiaCore_folder”
    export LD_LIBRARY_PATH=$QTDIR/lib
 


"Robert W. Kuhn" <[EMAIL PROTECTED]> wrote: Hello,

I installed the montavista tools on ubuntu gutsy. Then I cross-compiled
qtopia. The I try to execute an example program:

$ file findfiles
 findfiles: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for  
 GNU/Linux 2.4.17, dynamically linked (uses shared libs), not stripped


When executing the program on the arm I get this error:
 ./findfiles: relocation error: /usr/local/arm/lib/libQtCore.so.4:  
 symbol __aeabi_idiv, version GCC_3.5 not defined in file libgcc_s.so.1  
 with link time reference

How can I solve this?

Thanks and bye - Robert

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to