[Kde-bindings] Compilation problem of smoke

Richard Dale Richard_Dale at tipitina.demon.co.uk
Mon Feb 21 18:17:52 UTC 2005


On Monday 21 February 2005 19:53, Caleb Tennis wrote:
> > Am I right in thinking all these bug reports only apply to Gentoo? It
> > looks to me as though there might be something wrong with the way Gentoo
> > builds kdelibs perhaps.
> >
> > I can certainly build Smoke fine and have never seen this problem,
> > although I added the linker option for $(LIB_KIO) as Caleb Tennis
> > suggested.
>
> It's quite possibly a Gentoo specific problem.  The above fixed my build
> then, but I can now recreate the error.  The only thing that seems to stand
> out to me is that "KNotifyWidgetBase" shows a lowercase "t" when looking at
> libkio.so via nm, whereas most other widget classes show an uppercase "T".
>
> The last reporter said he was using KDE from CVS.  Perhaps it could also be
> a gcc 3.4.3 issue, or some compiler flags setting?
It must mean that the library is out of step with the headers, because Smoke 
compiles fine, it justn't doesn't  link. 

There's been a discussion on the kde-devel-core list about what's wrong with 
the kde build system, and I wondered if this post was relevant here:

On Saturday 19 February 2005 17:29, Esben Mose Hansen wrote:
> Two others:
>
> Q: 2.13. I get "virtual tables error"?
>  This often comes from the moc files not being in sync with the sources, or
> not linked at all.
>
> Q: 2.16. I have added Q_OBJECT to myClassHeader.h but no moc files is
> generated?
>  You need am_edit to reparse your Makefile.am to generate the correct
> Makefile
>
> In other words, the build system does not always rebuild all the neccessary
> files. That is a serious bug for a build system! And yet, it has gone
> unfixed for long enough to have reached KDE's main developer FAQ.
>
> And don't get me started on libtool archives. I hate those: xxxx.so seems
> to have been moved and xxxxx.la is not a valid libtool archive.

Is it one of these 'moc problems'?

-- Richard



More information about the Kde-bindings mailing list