[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: kdelibs/kdeprint weirdness with MOC files ..
From:       David Faure <david () mandrakesoft ! com>
Date:       2001-03-06 22:27:54
[Download RAW message or body]

On Tuesday 06 March 2001 22:08, Thomas Leitner wrote:
> Hi,
> 
> I got lots of multiply defined symbols when linking the kdeprint library.
> I found out that, for some unknown reason, MOC files are created twice
> for some modules, namely:
> 
> k/kdelibs/kdeprint> ls *moc*
> kprintcopiespage.moc             kprintdialogbase.moc.lo
> kprintcopiespagebase.moc         kprinterpropertydialog.moc
> kprintcopiespagebase.moc.cpp     kprintsizecolorpage.moc
> kprintcopiespagebase.moc.lo      kprintsizecolorpagebase.moc
> kprintdialog.moc                 kprintsizecolorpagebase.moc.cpp
> kprintdialogbase.moc             kprintsizecolorpagebase.moc.lo
> kprintdialogbase.moc.cpp         previewshell.moc
> 
> The files kprintcopiespagebase.moc.cpp, kprintdialogbase.moc.cpp as well
> as kprintsizecolorpagebase.moc.cpp are too much here.
> 
> They have the same contents as the *.moc files and they are compiled as
> well which leads to the multiply defined symbols.
> 
> This *only* happens in kdelibs/kdeprint and nowhere else in the whole
> big KDE source tree so there must be something wrong in kdelibs/kdeprint.
> 
> Could someone please fix this?

Did you try removing them all, and re-running Makefile.cvs
(or make force-reedit) ?
The moc includes have changed, you need am_edit to notice it.

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://perso.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today

 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic