Bug 156976

Summary: Compile failure, cannot find KTextEdit::enableFindReplace(bool)
Product: [Developer tools] bindings Reporter: Christopher Neufeld <kdebugs>
Component: generalAssignee: kde-bindings
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Christopher Neufeld 2008-01-30 16:44:11 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          gcc-4.2.2 Compiler compiled from gcc.gnu.org sources
OS:                Linux

At least on January 29 and 30, I cannot build kdebindings on trunk.  It fails with an undefined reference trying to link libsmokekde.so.2.0.0.

CMakeFiles/smokekde.dir/x_9.o: In function `x_KTextEdit::x_17(Smoke::StackItem*)':
/home/neufeld/newX/kde/build/kdebindings/smoke/kde/x_9.cpp:13091: undefined reference to `KTextEdit::enableFindReplace(bool)'
collect2: ld returned 1 exit status

This appears to be due to the fact that KTextEdit::enableFindReplace() is prototyped in kdelibs/kdeui/widgets/ktextedit.h, but there is no corresponding definition of the method itself.  During the compile, the kdebindings package scans the prototypes installed in <KDEROOT>/include/ktextedit.h, and builds a binding for this missing method.  Naturally, this results in a link failure when the time comes to link it against the libraries in <KDEROOT>/lib.

This may best be treated as a kdelibs bug.
Comment 1 Christopher Neufeld 2008-01-30 17:03:09 UTC
Using kdebindings revision 768658, and kdelibs revision 768658
Comment 2 Christopher Neufeld 2008-02-21 21:03:44 UTC
Fixed some time between Feb 19 and Feb 21 when enableFindReplace() was defined.