arm_qtopia : also fails

fundu
Attachment: ba.txt (2.06 MB)
ok so here's the arm_qtopia,

which is important of the two. I would rather have arm_qtopia (downloaded
from friendlyarm.net) working than x86_qtopia.

configuration ubuntu 10.4, toolchain installed. and also was able to build
the kernel from the DVD.

now i'm really stuck. arm_qtopia isn't working. 

please help. i would really be grateful. TIA
see the attached file for complete build logs. 


***********************************
********* Build Qtopia ************
***********************************
QPE_CFG="'edition' 'pda' '-displaysize' '240x320' '-fontfamilies'
'helvetica fixed micro smallsmooth smoothtimes unifont' '-luuid'
-no-qtopiadesktop -release -platform 'linux-g++' -xplatform
'linux-arm-g++'"

WARNING: defaultbuttons-arm.conf does not exist.
The following configuration values have been guessed or autodetected:
    -arch arm
    -edition pda
    -fontsizes all
    -fontstyles 50 50i 75 75i
    -languages en_US

Symlinking header files to include directory
Creating qmake...No makedepend available
make[1]: Entering directory
`/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/qmake'
..............................................make[1]: Leaving directory
`/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/qmake'

Creating pngscale...make[1]: Entering directory
`/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/util/pngsc
ale'
.................................................................make[1]:
*** [../../bin/pngscale] Error 1
make[1]: Leaving directory
`/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/util/pngsc
ale'
Failed to make pngscale

***********************************************************************
*
*                  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/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/doc/html/in
dex.html
*
***********************************************************************
/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/scripts/bui
ldQtopia
-build qpe
Qtopia Tools exist.

fundu
Ok so i was able to make some progress. it's building right now... will
have to wait and see.

but looking through the logs here's what i see


/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm
-none-linux-gnueabi/bin/ld:
warning: library search path "/usr/X11R6/lib" is unsafe for
cross-compilation
make[1]: Leaving directory
`/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qt2/src'

Any idea what's going on. 

I followed the advice give here http://www.friendlyarm.net/forum/topic/332

i made those changes added lib uuid and the build going ok so far..
but can someone explain what that above message means. "unsafe for
cross-compilation" 
should i change the LD_LIBRARY_PATH to something ? if yes that what should
it be ? 


after i'm done i'll write a post with the steps to build qt2 on ubuntu
10.4(LTS) 


thanks in advance.

fundu
Attachment: arm_qtopia-build.txt (3.71 MB)
oh it just finished building.

apparently while linking konqueror 
it complains about  "/usr/lib/libjpeg.so: could not read symbols: File in
wrong format"
also why is it using -L/usr/local/kde/lib that 
first i don't have kde and second why use host files should this point to
somewhere else ??

PLEASE someone help. i'm getting close. 

here's the whole error message.. i'm also attaching the complete build log
file. 

/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/include/qto
pia/../../src/libraries/qtopia/applicationinterface.h:49:
warning: 'struct ApplicationInterface' has virtual functions and accessible
non-virtual destructor
In file included from mainwindebug.cc:26:
./../dropin/kmessagebox.h:76: warning: unused parameter 'okButton'
/bin/sh ../../libtool --silent --mode=link --tag=CXX arm-linux-g++ 
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2
-fno-exceptions -fno-check-new -fno-rtti -D_QT_QPE_ -DQT_CLEAN_NAMESPACE
-DQT_NO_COMPAT -DQT_NO_ASCII_CAST   -ldl -o konqueror 
-L/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/lib
-L/usr/local/kde/lib   main.o mainwindowbase.o htmlview.o popuphandler.o
view.o run.o browseriface.o bookmarks.o preferences.o preferencesimpl.o
mainwindow_qpe.o mainwindow_x11.o mainwindow_kiosk.o xmltree.o
bookmarkeditor.o bookmarkeditorimpl.o bookmarkedit.o bookmarkeditimpl.o
mainwindebug.o   ../../konq-embed/kdesrc/khtml/ecma/libkjs_html_i.la
../../konq-embed/kdesrc/kjs/libkjs.la 
../../konq-embed/kdesrc/khtml/libkhtml_i.la
/usr/lib/libjpeg.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[5]: *** [konqueror] Error 1
make[5]: Leaving directory
`/opt/FriendlyARM/mini2440/arm-qtopia/konq/konq-embed/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/opt/FriendlyARM/mini2440/arm-qtopia/konq/konq-embed/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/opt/FriendlyARM/mini2440/arm-qtopia/konq/konq-embed/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/opt/FriendlyARM/mini2440/arm-qtopia/konq/konq-embed'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/FriendlyARM/mini2440/arm-qtopia/konq'
make: *** [all] Error 2
arm-linux-strip: 'konq-embed/src/konqueror': No such file
opt/Qtopia/lib/fonts/
opt/Qtopia/lib/fonts/helvetica_120_50.qpf
opt/Qtopia/lib/fonts/songti_160_50.qpf
opt/Qtopia/lib/fonts/fontdir
opt/Qtopia/lib/fonts/helvetica_120_50_t5.qpf
cp: cannot stat `konq/konq-embed/src/konqueror': No such file or directory

benhuan
/usr/lib/libjpeg.so: could not read symbols: File in wrong format
I have the problem too。How about yours now?  I didn't solve it. Can
you tell me?

benhuan
/usr/lib/libjpeg.so: could not read symbols: File in wrong format
 I also have the problem . I didn't solve it now . How about yours now? Can
you tell me?