Problems building Konq/e with Qtopia Core

Piero Pezzin piero.pezzin at gmail.com
Fri Jan 18 18:18:47 CET 2008


Hello everyone.
After unnumbered attempts, I got some results: configure works fine and make
starts correctly. But it blocks at a certain point, complaining about the
file ftp.h, as you can see from the messages below:

If /bin/sh ../../../libtool --silent --tag=CXX --mode=compile arm-linux-g++
-DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../konq-embed/kdesrc/kdecore
-I../../../konq-embed/kdesrc/kjs -I../../../konq-embed/kdesrc/kssl
-I../../../konq-embed/dropin -I../../../konq-embed/dropin/kio
-I../../../konq-embed/dropin/kssl -I../../../konq-embed/kdesrc
-I../../../konq-embed/kdesrc/kdecore
-I../../../konq-embed/kdesrc/kdecore/network
-I../../../konq-embed/kdesrc/kssl
-I../../../konq-embed/kdesrc/kssl   -I/home/piero/konq-embedded/include
-I/home/piero/work/qt-2.3.10/include
-I/home/piero/work/qtopia-free-2.2.0/qtopia/include/qtopia
-DQT_THREAD_SUPPORT -DQWS -D_REENTRANT  -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
-Wchar-subscripts
-Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -Wformat-security
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions
-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT
-DQT_NO_ASCII_CAST  -MT ftp.lo -MD -MP -MF ".deps/ftp.Tpo" -c -o ftp.lo
ftp.cc; \
then mv -f ".deps/ftp.Tpo" ".deps/ftp.Plo"; else rm -f ".deps/ftp.Tpo"; exit
1; fi
In file included from ftp.cc:26:
ftp.h:141: error: parse error before `{' token
ftp.h:154: error: ISO C++ forbids declaration of `m_server' with no type
ftp.h:155: error: parse error before `}' token
ftp.h:157: error: destructors must be member functions
ftp.h: In function `void FtpSocket()':
ftp.h:157: error: `closeSocket' undeclared (first use this function)
ftp.h:157: error: (Each undeclared identifier is reported only once for each
   function it appears in.)
ftp.h: At global scope:
ftp.h:162: error: `void closeSocket()' used prior to declaration
ftp.h:169: error: non-member function `int server()' cannot have `const'
method
   qualifier
ftp.h:179: error: non-member function `int sock()' cannot have `const'
method
   qualifier
ftp.h: In function `int sock()':
ftp.h:179: error: `fd' undeclared (first use this function)
ftp.h: At global scope:
ftp.h:184: error: non-member function `void debugMessage(const char*)'
cannot
   have `const' method qualifier
ftp.h:189: error: non-member function `int errorMessage(int, const char*)'
   cannot have `const' method qualifier
ftp.h:199: error: non-member function `bool setSocketOption(int, char*,
   unsigned int)' cannot have `const' method qualifier
ftp.h: In function `int textRead()':
ftp.h:222: error: invalid use of `this' in non-member function
ftp.h: At global scope:
ftp.h:225: error: parse error before `private'
ftp.h:227: error: redefinition of `int m_server'
ftp.h:154: error: `int m_server' previously defined here
ftp.h:228: error: parse error before `}' token
ftp.h:590: error: syntax error before `*' token
ftp.h:595: error: syntax error before `*' token
ftp.cc:170: error: `pSock' was not declared in this scope
ftp.cc:171: error: `int FtpTextReader::textRead' is not a static member of `
   class FtpTextReader'

To me the file seems correct, but I can be wrong. I'm using
kdenox_snapshot_qt2_20070531, with qt-embedded 2.3.10 and qtopia 2.2.0.

Any clue?

Thanks in advance and kind regards.


On Jan 15, 2008 2:48 PM, Piero Pezzin <piero.pezzin at gmail.com> wrote:

> Ok, thanks. If I'll fail with the building of Konq/e, I will wait for the
> next version of Qtopia.
>
>
> On Jan 15, 2008 2:12 PM, Luciano Montanaro <mikelima at cirulla.net > wrote:
>
> > Il Tuesday 15 January 2008 14:00:08 Piero Pezzin ha scritto:
> > > Thank you very much.
> > > So I can forget about qt and concentrate on qt/embedded and qtopia.
> > That's
> > > what I wanted to hear. There is a lot of confusion about this topic..
> > >
> > > Ok, I'm going to try. I suppose it won't be a pleasant work...
> >
> > Well, not exactly. Qt3 (at least Qt3.3) *used* to work correctly. I
> > think
> > there are a few issues with Qt3 and current SVN, but those should be
> > easy
> > enough to fix. What is not going to work is using Qtopia (Or Qt 4, for
> > that
> > matter). But Qt4.4 should ship with Webkit, so if you can wait (it is
> > expected in Q1 2008, so within a few months now) that could provide you
> > with
> > a good browser component to start off.
> >
> > Luciano
> >
> > >
> > > 2008/1/15 Max Andruschenko <maximus at softerra.com>:
> > > >  Hi dear friend.
> > > >
> > > > I can say you a definitly wrong.
> > > > You can compile Konqueror embedded only for qtopia version 2.2.0 or
> > > > 2.2.2. So, first you should to do is to get qt embedded version
> > 2.3.10 or
> > > > 2.3.12. Compile it with your cross compiler, at the end you should
> > get
> > > > qte-mt multithread library. And you should compile it with rtti
> > support,
> > > > by default it compiles without rtti.
> > > > Then compile qtopia version 2.2.0 with library qte-mt. If during the
> > > > building you get qte library, remove it from the folder. Also you
> > should
> > > > compile qtopia with rtti support.
> > > > Then compile konqueror.
> > > >
> > > > Good luck!
> >
> >
> > _______________________________________________
> > konq-e mailing list
> > konq-e at kde.org
> > https://mail.kde.org/mailman/listinfo/konq-e
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/konq-e/attachments/20080118/801b6165/attachment.html 


More information about the konq-e mailing list