KonquerorE cross compile for ARM

D G deja711 at yahoo.com
Mon Sep 10 20:06:10 CEST 2007


Dr. Stefan,

I have tried other configuration attempts, two of
which I am including below in the email.
Based on yours and Akshay's feedback and some more
reading I am not clear on following:

1. Am I using a too old cross compiler. (2.95.3)? It
was given to me by board BSP manufacturer?
2. Am I not using proper qt / qtopia source code? I
have Qtopia_free-src-2.2.0.tar.gz and placed it in
/opt. These are the paths I am using:

export
PATH=/usr/local/arm/2.95.3/bin:/usr/local/arm/2.95.3/arm-linux/bin:$PATH
export HOME=/proj/work/kdenox
export QTE_BASE=/opt/Qtopia/qtopia-free-2.2.0

3. From the example on
http://www.basyskom.de/index.pl/konqe I have found
that i can not find all include paths. In particular
these:
--with-extra-includes=$QTE_BASE/trolltech/qtopia/include
--with-qt-includes=$QTE_BASE/trolltech/qt2/include

This makes me very suspicious that I do not have all

    * Qt/E 2.3.12 with mt and rtti support
    * Qtopia 2.2.0

In regards to your suggestion about cross-compiled
zlib-library installed. I am not sure. I could not
find zlib in the /usr/local/arm/2.95.3/. So i guess I
do not. Do you need to get a new compiler? Perhaps
that will take care of -I and -L. Which by the way I
am not sure how got there.

Akshay: Your suggestions are similar. I need to find
install this zlib package, but being that this
compiler was given to me as is, I will have to ether
get a newer one with full developer support or find
this zlib. Do you know where I can get this?

Once again thank you for valuable suggestions.



For both below i am using the same path:

export
PATH=/usr/local/arm/2.95.3/bin:/usr/local/arm/2.95.3/arm-linux/bin:$PATH
export HOME=/proj/work/kdenox
export QTE_BASE=/opt/Qtopia/qtopia-free-2.2.0

FIRST

./configure --host=arm-linux
--prefix=$HOME/konq-embedded --enable-embedded
--enable-qt-embedded --enable-static --disable-shared
--disable-closure --with-qt-dir=$QTE_BASE/qt
--with-qtopia-dir=$QTE_BASE/qtopia
--with-extra-includes=$QTE_BASE/qtopia/include
--with-extra-libs=$QTE_BASE/qtopia/lib
--with-qt-libraries=$QTE_BASE/qtopia/lib
--with-qt-includes=$QTE_BASE/include

In this case the problem is:
checking for vsnprintf... yes
checking for snprintf... yes
checking for pthread_create in -lpthread... yes
checking for libz... configure: error: not found.
          Possibly configure picks up an outdated
version
          installed by XFree86. Remove it from your
system.

          Check your installation and look into
config.log

config.log yeilds:
configure:32459: $? = 0
configure:32466: test -s conftest
configure:32469: $? = 0
configure:32483: result: yes
configure:32803: checking for libz
configure:32843: arm-linux-gcc -o conftest
-std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2    
-I/opt/Qtopia/qtopia-free-2.2.0/qtopia/include -DQWS
-D_REENTRANT  conftest.c  
-L/opt/Qtopia/qtopia-free-2.2.0/qtopia/lib -lz  >&5
conftest.c:41: zlib.h: No such file or directory
configure:32849: $? = 1
configure: failed program was:





SECOND
./configure --host=arm --prefix=$HOME/konq-embedded
--enable-embedded --enable-qt-embedded --enable-static
--disable-shared --disable-closure
--with-qt-dir=$QTE_BASE/qt
--with-qtopia-dir=$QTE_BASE/qtopia
--with-extra-includes=$QTE_BASE/qtopia/include
--with-extra-libs=$QTE_BASE/qtopia/lib
--with-qt-libraries=$QTE_BASE/qtopia/lib
--with-qt-includes=$QTE_BASE/include

But in this case problem is in:
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
configure: WARNING:
There is an installation error in jpeg support. You
seem to have only one
of either the headers _or_ the libraries installed.
You may need to either
provide correct --with-extra-... options, or the
development package of
libjpeg6b. You can get a source package of libjpeg
from http://www.ijg.org/
Disabling JPEG support.

checking for msgfmt... msgfmt
checking for gmsgfmt... msgfmt
found msgfmt program is not GNU msgfmt; ignore it
checking for xgettext... :
checking if C++ programs can be compiled... no
configure: error: Your Installation isn't able to
compile simple C++ programs.
Check config.log for details - if you're using a Linux
distribution you might miss
a package named similar to libstdc++-dev.


config.log yeilds:
| }
configure:24210: result: no
configure:24213: checking for libjpeg
configure:24252: gcc -o conftest -O2    
-I/opt/Qtopia/qtopia-free-2.2.0/qtopia/include  
conftest.c  
-L/opt/Qtopia/qtopia-free-2.2.0/qtopia/lib -ljpeg -lm
>&5
configure:24258: $? = 0
configure:24265: test -z "$ac_c_werror_flag" || test !
-s conftest.err
configure:24268: $? = 0
configure:24275: test -s conftest
configure:24278: $? = 0
configure:24298: result: -ljpeg
configure: 24322: ${prefix}/include/jpeglib.h
configure: 24322: /usr/include/jpeglib.h
configure: 24322: /usr/local/include/jpeglib.h
configure: 24322:
/opt/Qtopia/qtopia-free-2.2.0/qtopia/include/jpeglib.h
configure:24347: WARNING:
There is an installation error in jpeg support. You
seem to have only one
of either the headers _or_ the libraries installed.
You may need to either
provide correct --with-extra-... options, or the
development package of
libjpeg6b. You can get a source package of libjpeg
from http://www.ijg.org/
Disabling JPEG support.

configure:24382: checking for msgfmt
configure:24409: result: msgfmt
configure:24418: checking for gmsgfmt
configure:24449: result: msgfmt
configure:24459: result: found msgfmt program is not
GNU msgfmt; ignore it
configure:24469: checking for xgettext
configure:24496: result: :
configure:24626: checking if C++ programs can be
compiled
configure:24660: g++ -c -Wall -W -Wpointer-arith 
conftest.cpp >&5
as: unrecognized option `-Qy'
configure:24666: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""


Thanks,

Dan


--- Stefan Eilers <stefan.eilers at basyskom.de> wrote:

> Hi Dan!
> Am 10.09.2007 um 07:56 schrieb D G:
> 
> > I am trying to compile KonquerorE for ARM920T. I
> am
> > using cross compiling on 686 machine.
> 
> [...]
> 
> > configure:32803: checking for libz
> > configure:32843: arm-linux-gcc -o conftest
> > -std=iso9899:1990 -W -Wall -Wchar-subscripts
> -Wshadow
> > -Wpointer-arith -Wmissing-prototypes
> -Wwrite-strings
> > -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2     -DQWS
> > -D_REENTRANT  conftest.c   -lz  >&5
> > conftest.c:41: zlib.h: No such file or directory
> > configure:32849: $? = 1
> > configure: failed program was:
> > | /* confdefs.h.  */
> > | #define PACKAGE_NAME ""
> > | #define PACKAGE_TARNAME ""
> > | #define PACKAGE_VERSION ""
> > | #define PACKAGE_STRING ""
> > | #define PACKAGE_BUGREPORT ""
> > | #define PACKAGE "konqueror-embedded"
> >
> > I can not find zlib.h.
> 
> Did you have a cross-compiled zlib-library
> installed? Is it a  
> developer release that provides the header files?
> There is no "-I" or "-L" parameter after
> "arm-linux-gcc" to set the  
> include and library path. You should add the include
> and library path  
> to the configure script.
> 
> > I have tried different configuration flags, but
> ether
> > did not make difference or made things worse.
> 
> Which one?
> 
> Mfg., Dr. Stefan Eilers
> --  
> 
> Dr.-Ing. Stefan Eilers
> Projekt Manager
> 
> basysKom GmbH
> Robert-Bosch-Str. 7 | 64293 Darmstadt | Germany
> Tel: +49 6151 3968753 | Fax: -736 | Mobile: +49 170
> 4213459
> stefan.eilers at basyskom.de | www.basyskom.de
> 
> Handelsregister: Darmstadt HRB 9352
> Geschaeftsfuehrung: Eva Brucherseifer
> 
> 
> > _______________________________________________
> konq-e mailing list
> konq-e at kde.org
> https://mail.kde.org/mailman/listinfo/konq-e
> 



       
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC


More information about the konq-e mailing list